News:

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

Former www.henthighschool.com

New Custom Special Characters

Started by VSPAR, Jun 23, 2022, 12:28 PM

Previous topic - Next topic

VSPARTopic starter

So I'm super glad to see HHS+ back online and was waiting for 1.10 to start in on some stuff with the game. I read the making mods stuff, but still can't figure out how to do a simple: add custom special character (with just a gimp modified head). Nothing all that crazy but the game won't add the character, so I'm not sure what I did wrong.

Any way I can get a 'down and dirty' run-through? Like: copy this character - keep, discard, or change this info from the xml file, toss the PNG in this file and it should work, or is there something more complicated that I missed?

barteke22

Adding them through regular .xmls is new game only until next patch.  The NPC must have both gender heads, in the right folders, with the right names (like the others).

VSPARTopic starter

Yeah I've done that. And I've been over the xml files a dozen times. They should be working. I don't understand what's wrong. Do I just add them directly to the school folders I'm using? Is there a setting somewhere that needs to be changed to accept the new character?

barteke22

Nothing extra should be needed, base game works or mod folder should work (in new game).

Can't really say what's wrong without seeing the files.  A student must have a Student Job or Trait (or both), to use the SpecialStudents folder, if not then they're an adult.

If you're using a custom PD handler (not PD_Default), then it must point to the head functions, but you seem to be struggling to get the NPC generated in the first place?

VSPARTopic starter

Yeah. I guess I could drop the files and tell ya where the locations are.

First is the .xml file in Schools/SexySchool/SpecialCharacters

Second are the head files in Schools/SexySchool/Images/People/SpecialStudents/Heads/

Here's the files. I HAVE checked on my edits to the modified school and that all works. I don't see anything I modified (just general person generation data) as being an issue.
https://drive.google.com/drive/folders/1m-NYlA_6GZZaqF2bJuMo-6z8ZIO3ug8e?usp=sharing

Thanks for the help - my plan is to add a lot of pictures and release her as a special character eventually.


barteke22

Your character seems to be appearing fine in the base game (with the head and all).  Did you start a new game?

Also, is SexySchool a custom scenario? How custom?   If it's based on the (currently) outdated Template, then it's probably missing the events setting the heads:  The PD_Handlers and FunctionLibrary Set{Special/Generic}Head events.

VSPARTopic starter

I did start a new game. The custom school only has the base population generation messed with. I did update all the way, I thought, but I can check again.

VSPARTopic starter

Ahah! It worked that time. Something from the old files must not have updated. Thanks for the help. Any 'quick and easy' tips outside of the normal files on adding pictures to the character?

barteke22

Depends what you mean by pictures.

Do you mean custom outfits?  That would require adding an outfit definition (partial (single outfit) or full PD_Handler (total overhaul)).  You can copy an existing handler and modify it in VEE (hhs+.exe > Development > Visual Event Editor).

Events?  That would require making an event in VEE, you can copy an existing one that works similarly to what you want and tweak it, there's more info on how VEE works in the guides.

VSPARTopic starter

By pictures I just meant: if this character is having sex or doing sexy things display these pictures instead. I think I just need to edit the picture display event I think?

barteke22

You'd likely have to override the GenSex library (the part that generates images), as I don't think it supports special images.

VSPARTopic starter

Well it must because of the special pictures it uses for some special characters like Annette. I haven't had a chance to look at it in detail yet, though.

barteke22

GenSex images are only used for AskForSex and Hypno interactions (and some other minor things), everything else is custom made events (and would have to be edited individually).

You can obviously make such events for just your character, but it wouldn't prevent them from appearing in others (if they allow specials).