HentHighSchool Development Forum

Game Development => HHS+ => HHS+ Mods => Topic started by: barteke22 on May 13, 2022, 11:50 PM

Title: Installing mods, making mods, and Kisekae info
Post by: barteke22 on May 13, 2022, 11:50 PM
Click me for Modding Guides (https://1drv.ms/o/s!AvTED09bEC1piBUXvdffjYg7LYqF)

Table of contents:



There's also documentation in the game's Docs folder, which goes more in depth onto some subjects. The guides are meant as an easier to digest intro and QoL tips.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Nihgthawk on Jun 03, 2022, 08:40 AM
I'm having an issue of my mods not turning on. I've put them into the mod folder and selected them when starting a new game but none of them seem to be turned on when the game loads. Any idea what's going on?

Edit: I figured out my problem. When I extracted the files I selected to extract the files into a separate folder instead of directly into the mod folder. This meant the game could not read the mods because the files were mislabeled.

ie: C:\Users\Tmage\Downloads\HHS 1.10.0.1-Release\Schools\NormalSchool\Mods\ALL MODS NEED ME (GPCC) is the correct file path.

C:\Users\Tmage\Downloads\HHS 1.10.0.1-Release\Schools\NormalSchool\Mods\ALL MODS NEED ME (GPCC)\ALL MODS NEED ME (GPCC) was how I originally had them, and thus wrong.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: monk on Jul 06, 2022, 04:15 AM
where can I get all mods need me I can't seem to find it?
Title: Re: Installing mods, making mods, and Kisekae info
Post by: ⚧ Squark on Jul 06, 2022, 10:30 AM
@monk
This post (https://henthighschool.net/hhs-mods/mod-mods-barteke22-s-mod-index/).
Title: Re: Installing mods, making mods, and Kisekae info
Post by: tester0648 on Aug 06, 2022, 01:35 PM
Hey there! Im adjusting my game for myself and i have a question, how can i make it so the stats of each event participant are shown separately, not like (Name's partners(3) -10 arousal) but (name 2 -10 arousal name 3 -10 arousal etc). Cause some group events make some chars not virgin anymore, and coupling them often. is it in event itself or there are some .ve in functional lib responcible for it?
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Sep 15, 2022, 09:56 PM
Quote from: tester0648 on Aug 06, 2022, 01:35 PMHey there! Im adjusting my game for myself and i have a question, how can i make it so the stats of each event participant are shown separately, not like (Name's partners(3) -10 arousal) but (name 2 -10 arousal name 3 -10 arousal etc). Cause some group events make some chars not virgin anymore, and coupling them often. is it in event itself or there are some .ve in functional lib responcible for it?


Events can control that themselves, but there is a setting in the DefaultGameConfig that can disable to default behaviour.  For existing saves you can toggle it in Debug > Game Objects > Scenario Config > UI > GatherUI...
Title: Edit images
Post by: Faldir on Oct 14, 2022, 08:18 AM
Hello there!

I used to mod the old HHS+ by replacing some sex images with gifs.

It's been awhile though, and I can't quite remember which files control the general sex scenes.

I used to edit the GetPsysical/ShowActions files, but the setup seems to have changed.

Does any of you fine fellows know how to proceed?

Grand regards,

Faldir

Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Oct 14, 2022, 02:35 PM
Check the 'GenSex Image & Girl packs' guide for that.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Faldir on Oct 18, 2022, 08:54 AM
Quote from: barteke22 on Oct 14, 2022, 02:35 PMCheck the 'GenSex Image & Girl packs' guide for that.

Thank you!

I've started porting my old mod. Yet I'm also interested in the possibility stated in the guide about adding images for special characters' generic scenes.

So far I'm trying with Annette but have not succeeded.

Is this the correct path:
EventPictures\PCGeneralSex\Special\Annette\Fuck_Vag\Male\Fem

And is anything else needed? Like naming the gifs themselves something specific in /Fem, or adding more gender combos ect.?

Another quick question... The guide explains how to use certain tags like: adult, student ect. Is there any way to add tags for the characters' hair color to the images? So if the PC has a scene with a green haired npc, a suiting image can be tag and shown?

Once again, kind regards.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Oct 18, 2022, 12:23 PM
Special characters have to be person A in their pack, so their gender comes first.  The above is checking if Annette is male.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Mortmenir on Oct 20, 2022, 06:44 PM
Hello, comrades. Is there any way to test my created event in game without grind?
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Oct 20, 2022, 06:52 PM
You can add it to an existing save by following the mod installation steps.  Reloading it will reset the save version to file version (except for things marked for survival).

Afterwards you can either edit the world to match your requirements with debug commands like set stat for group...

Or do Debug > Debug Events > your event > mess with its logic in there.  Anything you edit in the debugger applies only to that save (if you save the game), so you can mess with your event without changing the original file.

For testing it's best to skip redundant checks like RNG/scheduling, and optionally provide pre-made NPCs (that match the stats, or that you've edited in debug) to check conditions.

The debugger also allows you to place breakpoints to step through the logic when it triggers.  Though that's harder for Try-phases if you have multithreading enabled (debugger will jump between events).
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Faldir on Oct 22, 2022, 08:29 AM
Quote from: barteke22 on Oct 18, 2022, 12:23 PMSpecial characters have to be person A in their pack, so their gender comes first.  The above is checking if Annette is male.

I have tried avoiding the above - quite comedic - problem but have not yet succeeded.

I have tried:
PCGeneralSex\Special\Annette\Fuck_Vag\Fem\Male, and
PCGeneralSex\Special\Annette\Fuck_Vag\Any\Any, with file names like:
give_studentA_vaginal_1.gif, and
any_any_test.gif.

No luck. What would be an example of a correct path and file name for a male principle and Annette?

Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Oct 22, 2022, 04:24 PM
Like always, the 2 NPCs without a last name cause trouble...  For now add an underscore after her name, will fix in next patch.

Also give_ defines who does the action to who, aka person A fucks person B in this case (so use receive_ instead).
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Alum on Dec 16, 2022, 08:54 PM
(https://i.ibb.co/XFfFdyb/111.jpg) (https://ibb.co/frVrK82)

Very Low + Not Class Criteria 17
It is unclear how the number 17 turned out?
(value 16) + (1 = Very Low Sex) = 17 How is this number obtained?
(value 16) + (3 = Med Sex) = 19 Right?
==============
It is also unclear what the "Not Class Criteria" checks for "F Changing Room"? A break between lessons?
======================
When the school level exceeds the "Very Low Sex" level, then the event will happen with a 20% chance?
It is not very clear what "Very Low Sex" and similar levels mean.
=================
To reset the variable, I have to mark "survives Reload". I think I understood that... ;D

Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Dec 17, 2022, 02:09 AM
16 is the value of Bit position 4 (binary). As per the description of TryForSchoolEvents / GetCandidates, if bit 4 is on (+16 to mode):
- The location is not a classroom or during class (like a break/other locations).
- It looks for minimum of 1 of any gender, instead of minimum 5 males and 5 females.

Sex Levels are in the description of GetCandidates, if you want the actual numbers, they're inside of it.

Non-Object type (not purple/pink) variables always keep their previous values if you don't reload the event.
Non-global variables always* reset when reloading events via Debug, if they're marked as 'Survives Reload' they won't reset.

*They might also not reset if the event is in 'Legacy Mode' - as that attempts to preserve important variables, but can fail.


The event in your screenshot also seems to proceed if 'Rejected' is triggered, so TryForSchoolEvents might not actually matter as far as I can see in the screenshot - it just filters the list a bit if Accepted.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Alum on Dec 17, 2022, 08:07 AM
Quote from: barteke22 on Dec 17, 2022, 02:09 AM16 is the value of Bit position 4 (binary). As per the description of TryForSchoolEvents / GetCandidates, if bit 4 is on (+16 to mode):
Thank you, now I understand this system better.
Very High + Class Critera + Stats Check Only 256+5=261
Very High + Not Class Critera + Stats Check Only 256+16+5=277
Is it calculated correctly?
======
If set, probabilities and time delay checks are bypassed
"time delay"
is it like potency? Kissing, peeping have no time delay? Or does this variable control that the same person is not selected for all events?
##########
Probably the last question  :) about the gameplay. When I use hypnosis, they want to kiss me. if a character's relationship is pumped up, will they want to kiss someone other than me?
I tried to rewrite this event (PeepersCaught) so that relationship developed between the characters and then they wanted to kiss each other. Or should I create an event so that they kiss each other under hypnosis? ;D
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Dec 17, 2022, 05:45 PM
Calculations are correct.

Time Delays: Each location has separate delays between triggering of events with the same Sex Level.
This is for TryForSchoolEvents' 'Accepted', the actual event itself will also have its own delay to allow other events to happen instead.
The screenshot event is designed in a way that isn't a great example of how this works, because it continues even on 'Rejected' - so this delay almost never matters.  It's not recommended to disable Time Delay checks for regular events, they're meant for things you can spam, like spy cams.

I'm not sure whether relationships between NPCs grow on their own (aside from initial family/friendship generation) outsides of random events you trigger.  They probably don't grow in any meaningful way, as that in turn would need better ways for the player to impact whether someone is faithful or not etc.  There is an interaction event that does stuff based on relationships between NPCs (if they don't love you), but other than that it's just whatever rng events do (sex etc improves relationship). Hypnosis has less effect on relationship.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Alum on Dec 18, 2022, 01:54 PM
Quote from: barteke22 on Dec 17, 2022, 05:45 PMCalculations are correct.

Thank you. Someday I will understand the whole system of writing events :)
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Dantaimori on Jan 03, 2023, 08:08 AM
Are the kisekae codes for vanilla's all male students outfits, female cheerleader uniforms and female kendo uniform available somewhere? Searching this forum didn't seem to give me any related results.

I know it's not impossible to make them; just wanted to check before I edit them myself and then lose all motivation if there were codes available all along.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Jan 04, 2023, 12:39 AM
Kenji / erw255 might've had them in like 2016, but they haven't been around in forever. I found a cached post where Kenji shared what he collected, but it's unavailable since it was an attachment.

So there's only the codes I remade recently to fix breast clipping, in NormalSchool\Paperdoll, though I don't think those are on that list.
I also have tie-less versions of outfits with ties, not sure if those were shipped along with Kisekae (in Preg folder)?

If you do remake any outfits, please share them - I'm collecting codes on discord for a potential new PD system.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Dantaimori on Jan 04, 2023, 08:07 AM
Quote from: barteke22 on Jan 04, 2023, 12:39 AMI also have tie-less versions of outfits with ties, not sure if those were shipped along with Kisekae (in Preg folder)?
If this is referring to kisekae 3.5 download, I'm guessing it's not shipped along with it because the only pregnancy-related code is located inKisekae 3.5 - Layered Cutter\HHS+ Default People (.txt)\MyMods\Adult.Birth.Female.txt and there are no folders named Preg (or anything starting with Preg). In either case, don't worry about the tie-less versions of outfits because ties aren't all that difficult to remove from what I've tested.

Quote from: barteke22 on Jan 04, 2023, 12:39 AMIf you do remake any outfits, please share them - I'm collecting codes on discord for a potential new PD system.
I've yet to decide on the RudeAtLevel value and just commented out VariableIDs 23 (Nude breasts for topless outfits), which is either: working as intended but giving that 'unused variable' message which is bothering me; or causing the game to hang if I load into an existing save as a mod. Once I fix these two, I do plan on sharing what I have. If the new PD System comes out before I'm done, I guess I'll just adapt to it.

Thank you in any case, I guess I'll just work on the male outfits too then. Also ugh, I just realised futa characters break immersion because their male endowments pierce through some of the female outfits on the lower half of the body... more fixes.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Alum on Jan 09, 2023, 07:37 AM
Hi barteke22
I've redone the quest PantylessObserver.ve, just added a more detailed description for some cases.
If I do this quest as a mod, will my mod take over control? Or will it be two different quests?
#########
Is it possible to create a family with a certain surname once in the DefaultGameConfig? Is it possible to write code for this? I mean that there is a one-time appeal to the list in which there is only one surname.
I tried to create families with a chance of <Weight>0.5</Weight>, but it's terrible or zero families or 4 families with the same last name. ;D

I wrote an additional list of 200 surnames, in one of the trial runs of the game, 3 families with the same surnames were at my school. :(
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Jan 09, 2023, 04:19 PM
So long as it's in the same folder & same name, it'll overwrite lower priority (base is lowest).
You can click 'Check for Overwrites' to see if it does.

##

The regular generation doesn't guarantee surname uniqueness (just combo), since that's both unrealistic and would require enough surnames to cover every family + more for variety. IRL most schools are more likely to have repeat surnames than not.

If you want a specific family to have a specific (unique or not) last name, you either:
- Have to make them via SpecialCharacter xmls.
- Have to make them via an event using CreatePerson.
- Have an event pick some family & change their CustomLastname (not actual Lastname).
Title: Re: Installing mods, making mods, and Kisekae info
Post by: ErDrago on Feb 10, 2023, 04:29 PM
I have a question about VEE. How to use "Perform Intercourse" or "Have Sex"? Whenever I try it just does nothing or crash.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Feb 10, 2023, 06:04 PM
It's broken in the public release, you can find a fixed version somewhere on the discord.

HaveSex however should never be used directly in events, unless you're overhauling / modifying the General Sex Functions framework.

You can find detailed instructions on how it works under Docs, or place 'Visual Event > Remote Event > GeneralSexHandling > SetEffects' down & hover over it for a very simplified version.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: Alum on Mar 01, 2023, 12:38 AM
Hi barteke22
Mrs Smith Boobygrab (https://mega.nz/folder/4Z5WRRwQ#CRjC3nDkuamSdc3SXsD7vw)
Reworked - Mrs Smith Boobygrab - for event Boobygrab
+ alternative 2 - more thoroughly redrawn

Delete this message
Title: Re: Installing mods, making mods, and Kisekae info
Post by: mph0290 on Mar 14, 2023, 04:14 AM
Hello, I have a quick question that I can't find the answer to.

Currently sizes are from 0-10 and each level has a descriptive tag,(e.g. Flat, big, gigantic, etc).
I'm working on a mod to increases the size ranges (current goal is 0-20).
Where are these descriptive tags located and is it possible to add more?

Thanks for any help.

barteke22: Answered on Discord.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: TBBle on Nov 03, 2023, 08:16 AM
Has something gone wrong with the modding guides linked from the first post? They look like they're supposed to open in OneNote, but for me, it just downloads the .one file. If I let Chrome download multiple files, the file downloads repeatedly until I close the tab.
Title: Re: Installing mods, making mods, and Kisekae info
Post by: barteke22 on Nov 03, 2023, 05:29 PM
Dunno, works just fine for me on FF.