News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

PDHeads: Special Characters Presets (upd: Sep 17)

Started by shpungout, Sep 01, 2023, 07:50 PM

Previous topic - Next topic

shpungoutTopic starter

This is a simple mod to load PDSystem_Head presets for special characters.

Q: Why do I need this mod if I can create character presets by placing their parts in "Images\PeopleNew\Adult\Special\<Person Name>\" directory?
A: In my opinion, shared PDHead-parts are enough for most cases, and I want to use it instead of duplicating sets of parts for each character individually.

Q: How it works?
A: The script reads presets from txt-files and changes paths to body parts, accessories, colors, etc. using a SQL-query. At any time, you can create your own (or copy someone else's) preset file and run the script again to load the character's head.

Download: mega.nz (last update: Sep 17, 2023)
Dependencies: PDSystem_Head (version dated Sep 01, 2023 or later)

Usage
New game:
  • Place [PDSystem_Head_SC] after [PDSystem_Head] in module list.
  • Start new game.
Existing save (without the mod):
  • Load game.
  • Debug > Modules > Mark [PDSystem_Head_SC].
  • Debug > Reload Events > Add Changed Events > Refresh Files.
Refresh all presets again:
  • Debug > Reload Events > Add Event File... > Choose "..\Mods\PD_System_Heads_SC\Events\ExtensionLibrary\InitializeEvents\Init_PD_System_Body_SC.ve.xml" > Refresh Files.
Existing save (update the mod to the new version):
  • Repeat the steps for "Existing save (without the mod)" + "Refresh all presets again".
[close]
Mod structure
  • Events\ExtensionLibrary\InitializeEvents\Init_PD_System_Body_SC.ve.xml — database update script.
  • Images\PeopleNew\Adult\Special\<Person Name>\Preset.txt — preset-file for adult character.
  • Images\PeopleNew\Student\Special\<Person Name>\Preset.txt — preset-file for student.
  • Images\PeopleNew\Shared\... — some additional head-parts used in my presets.
[close]
Preset file format (lines)
  • Female Head file path
  • Male Head file path
  • Main Skin Color ("#FFF9DCC3")
  • Secondary Skin Color ("Pink")
  • Expression file path
  • Eyes Color
  • Lipstick Color
  • Female Middle Hair file path
  • Female Front Hair file path
  • Female Back Hair file path
  • Male Middle Hair file path
  • Male Front Hair file path
  • Male Back Hair file path
  • Male Beard file path
  • Main Hair Color
  • Secondary Hair Color
  • Glasses file path
  • Glasses Frame Color
  • Glasses Lense Color
  • Female Hat file path
  • Female Hat Color 1
  • Female Hat Color 2
  • Male Hat file path
  • Male Hat Color 1
  • Male Hat Color 2
[close]
Characters: 44/?? (work in progress)

School Staff











[close]
Other Adults






[close]
Students









[close]
Other adults (with no event pictures)

[close]
Other students (with no event pictures)

[close]
[close]
Changelog
Sep 17, 2023:
  • New presets:
    • Sandra Titsbig (Head Nurse)
    • June Perrier (Senior Nurse)
    • William Holmes (Private Investigator)
    • Shirley Holmes (his daughter)
    • Edgar Banks (Bank Manager)
    • Richie Banks (his son)
    • Irina Jelabitch (English teacher)
    • Samantha Keller (TSE teacher)
    • Jessica Underwood (swimming teacher)

Archive
Sep 12, 2023:
  • New presets:
    • Carl Walker (PE teacher)
    • Anita Yochild (onsen owner)
    • Ivana Yochild (her daughter)

Sep 11, 2023:
  • New presets:
    • Susan Hooter (school secretary)
    • Lydia Swan (personal assistant)
    • Rie Perrier (student)
    • Hana Fuda (student)
    • Lucas Hydson / Shimakaze (student)
  • Fixed PDHandler: Lucas Hudson – using PDSystem_Head for Shimakaze's head.

Sep 09, 2023:
  • New presets:
    • Claire Fuzushi (art teacher)
    • Deborah Simmons (student)
    • Felicia Titsbig (student)
  • Fixed PDHandler: Albert Newton (Work) – fixed incorrect colorization of glasses due to a change in the shader algorithm.

Sep 08, 2023:
  • Added lines for hats to preset file format.
  • The conditions for wearing hats indoors have been changed.
  • New presets:
    • Ameli Coppers (maid club president)
    • Mandy Meyers (cosplay club president)

Sep 06, 2023:
  • New presets:
    • Priscilla Rosenlace (clothing store owner)
    • Lilly Rosenlace (her daughter)

Sep 05, 2023:
  • New presets:
    • Donna Bolox (fitness center owner)
    • Sally Proudbottom (supermarket owner)
    • Peach Proudbottom (her daughter)
  • Fixed PDHandler: Donna Bolox (Work) – added a headband for work.

Sep 04, 2023:
  • New choice for the mirror in the MC Bathroom: "PDHead Preset" - allows you to generate preset text for the current appearance of the MC.
  • New presets:
    • Albert Newton (security shop owner)
    • Emmett Newton (his son)
  • Fixed PDHandler: Albert Newton (Work) – added a security glasses for work.

Sep 03, 2023:
  • New presets:
    • Jack Strokewood (video store owner)
    • Marty Strokewood (his son)
    • Jeremy Hood (thief)
  • Fixed PDHandler: Jack Strokewood (Work) – added a red cap only for work.
  • Fixed PDHandler: Ruby Valentine (Work) – changed to default black suit (Ruby Valentine's individual work outfit has "hardcoded" backhair).
  • Fixed PDHandler: Ruby Valentine (Gym) – changed to random default gym outfit (same reason).
[close]
[close]

PS: Maybe people will be interested in it and they will post their own presets in this thread.
Translated into English by Google.

barteke22

#1
Nice :D  And I have some good news and some bad news xD

Less bad if you can just test if this version (hhs+ download mega\Experimental folder) works on the public release (delete old mod) without my other PD_Sys_Ex mod.  If you can confirm no issues, I'll release it (so you can adapt early).  It should work the exact same as the public version, except:

I've managed to make a shader breakthrough that finally allowed me to use smooth blending.  This means hair can have proper highlights instead of just 100% colour 1 vs 100% colour 2.  It's also important for the other WIP mod.  This means that I've deleted all the 'alt' hair parts, as they're no longer needed (unless you want a 2 color hairstyle, like this instead of smooth blending highlights).

So if you're adding hair parts to the public folder (used for generic NPCs), I recommend giving them highlights (middle colour in kisekae) of #9090D4.


This is likely the only change to the hair assets themself, as they meet all that I was planning for them now.

As for why I didn't use .txt files for paths instead, I couldn't think of a perfect system - .meta, files, xml, all of these can clash in one way or another between mods, so I opted for the simplest way for users: Just throw some files in and hope it works xD



If people are interested in helping with assets, I might extend my request for Kisekae outfit help to the forums, since it doesn't seem to have gained any traction on discord. I'll have to take some time to write a more concise guide on what/how though.  Another shader breakthrough means I can sort of release a demo of PD_Sys_Ex (body & outfits) a bit sooner, as it's now possible to backport skin colours onto the old PDs with 90% accuracy (good enough till the outfits are remade). Still needs some time though.

shpungoutTopic starter

#2
The script will work on the experimental version of PDSystem_Head too (just need to change "Priority" value to "4999").

The only problem is that presets cannot support both (public and experimental) versions of PDSystem_Head mod at the same time, because:
  • As you said, the special hair parts used in my mod should be changed for the experimental version.
  • The shared hair parts in the public and experimental versions of PDSystem_Head are different (for example: Images\PeopleNew\Shared\Body\Head\Hair\Male\Regular\Normal\Back\  "Regular straight (4)" in public = "Regular straight (5)" in experimental).
Translated into English by Google.

barteke22

#3
Uploaded it as the public version.  I might've mis-renamed some files when comparing them, but the original names were pretty lazy (was hoping someone else would give the files natural names).

One idea was to later use the file names for possible descriptions with a regex like (.+?)(\.|_|\d), for stuff like 'Her hairstyle is a {regular spiky} front, {regular wide} sides and {long straight} back.' but that's pretty hard to make natural.


Priority is now at 5000, I needed to pump the Priority of Init_SocialProfile to 9999, because the social profile - which defines stuff like 'Archetypes & Personality' is very useful for stuff like 'style'. There's gonna be special handling for Goths (Emo Rebels) once that's public (currently can force it by resetting DB).

shpungoutTopic starter

Updated for new PDSystem_Head version.
Translated into English by Google.

shpungoutTopic starter

#5
The mod adds a new choice for the mirror in the MC bathroom — "PDHead Preset". With this you can generate a preset that matches the MC's current appearance. This will allow you to use the MC's head for a visual selection of hair parts, colors, accessories, etc. right in the game.

PS: This script copies the hair part paths into the lines for female gender. To create a male character preset, you need to rearrange the lines in a text editor.
PSS: The structure of the preset file is described in the first post of the topic.
PSSS: The first five lines of the preset are fixed, because MC cannot change the head, skin or expression.
Translated into English by Google.

shpungoutTopic starter

  • The preset file structure has been changed: six new lines have been added (hat(F) path + 2 colors + hat(M) path + 2 colors).
  • The conditions for displaying hats have been changed. Previously, hats (including headbands) on the characters indoors were not displayed. Now the character, if not sleeping, can wear some types of hats indoors (containing "hair" or "headband" in their file name). This change was made for characters like Ameli Coppers, Mandy Meyers, Ronda Bells, etc.
  • At the same time, just for fun, now characters with the "Rebel" archetype can also wear hats (any) indoors. Except for the swimming pool and onsen.
  • The button for generating a preset from the MC's appearance in your bathroom has been moved to the upper left corner of the screen.

Translated into English by Google.

Arel

I can not find "bartekes22_pd_system_heads" mod.

ElPresidenete

Presets for special characters - I have most specials set up with matching appearance using the new system. I dunno if you can extract that from the save and use it.

hehehehehehehe

#9
Made Annette with it, very nice! ;D  ;D


https://ibb.co/G2C1psK

Also, can't zero input counted as null so we don't have to put extra spaces in the presets? (example if no accessory is used) anyway, thank you for the mod.  ;D  ;D

Edit: Image not shown up when using image tag?
Edit(Again): Also the special student appears with no neck and hands which I assume is the current behavior or I got a bug somehow?