HentHighSchool Development Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

collapse

Pages: [1]   Go Down

Author Topic: DasBrain's Debug Tools for 1.10.  (Read 4490 times)

DasBrain

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 413
    • View Profile
DasBrain's Debug Tools for 1.10.
« on: October 08, 2021, 04:15:10 am »

While developing HHS+, I created some debug tools to understand/test a few mechanics.

Installation:
  • Extract the archive into Schools\NormalSchool\Mods.
  • Select the BrainDebug under Modules before starting a new game or from Debug -> Modules and refreshing events.
  • Enable Debug Events under Debug -> Debug Events -> Enable Debug Events

Functionality
  • Bottom Left Debug Button
    Opens a menu where you can select:
    • Summon Person
      Allows you to filter persons by several properties, and then select one of those person.
      The person will teleport to the current location, but only show up in the interaction menu after some time has passed.
    • Summon Person Group
      see above, but instead of selecting all matching NPCs are teleported.
    • Set Favorites
      Sets ALL matching persons as Favorites.
    • Attach Morning Bath ScheduleHandler
      All matching NPCs will visit your Bath between 6:00am and 7:00am each day.
    • Display Cowd
      Shows several PaperDolls of people in the current location.
    • Pass 1 minute
    • Get Attached Events
      Allows you to see and deattach events attached to a person, location or club level.
  • Interaction "Testing"
    Shows certain stats and derived calculations for a person.
    • Arousal - self-explainatory.
    • AskForSex: Willingness and Disposition (0 = don't ask, 2 = can flirt, 6 = they will fuck if asked and aroused enough)
      Using this event will force the NPC to engage in a sexual act. Used for testing GeneralSex.
    • AskOver: if you can ask them over. Note - may still fail, based on chance.
    • Current Corruption, Inhibiton, Lust and Outfit level
      Using this event will open the outfit debug, where you can change several outfit related settings.
      Don't set the outfit to ClothingItem, this will crash your game
      The outfit select show several infos: Outfit name, if the corresponding PD event would be accepted, and it's priority.
    • Follow me
      The NPC will follow you around - subject to the scheduling frequency (Settings -> General)
    • Attraction, Relationship and Friendship values
    • Inventory access and count
    • Kiss: Out-of-date
    • Love: Who they currently love

The outfit debug was a lot of work, if you want to understand how the new paperdoll events work together, this might help.
(Or debugging if some person wears the wrong outfit.)
« Last Edit: October 11, 2021, 08:30:54 pm by DasBrain »
Logged

Umgah

  • Full Member
  • ***
  • Offline Offline
  • Posts: 235
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #1 on: October 08, 2021, 04:41:42 am »

Just wanted to ask if there a mod example for 1.10 :)

Btw, maybe its better to create a temporary subforum for 1.10 mods?

Reason:
* It's in development.
* 1.10 mods have specific structure that is not directly compatible with mods prior to 1.10 and vice versa.
Logged

DasBrain

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 413
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #2 on: October 08, 2021, 04:54:46 am »

Well, the structure is quite similar to normal mods - there is a manifest (containing name, mod author, description, ...), the rest could be installed permanently by copying the files directly into the Schools\NormalSchool directory.

That's it.

For reference, here is my ModInfo.xml:
Code: XML
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ModInfo>
  3.     <Name>BrainDebug</Name>
  4.     <Description>Adds some useful and less useful debug events.</Description>
  5.     <Author>DasBrain</Author>
  6. </ModInfo>

You could also add a TitleImage attribute.
Logged

Umgah

  • Full Member
  • ***
  • Offline Offline
  • Posts: 235
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #3 on: October 08, 2021, 04:57:51 am »

Thank you!
Logged

DaveHoff

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #4 on: October 09, 2021, 08:46:54 am »

Is there a way to change your chracters skin color or eyes or hair because all i can do is choose sex size of genitals and fetishes...
Logged

Dragonblood

  • Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1542
  • Code monkey
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #5 on: October 10, 2021, 01:36:36 am »

Is there a way to change your chracters skin color or eyes or hair because all i can do is choose sex size of genitals and fetishes...

Only by replacing the head images, which are located at:

\Images\People\SpecialCharacters\Heads\Principal_FHead.png

and

\Images\People\SpecialCharacters\Heads\Principal_MHead.png
Logged

b00marrows

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 67
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #6 on: October 12, 2021, 10:28:52 pm »

Absolutely love the hypno chance debug tool, but damn i now just want it to be a "normal thing".

Any chance in a small mod to just add a "success chance" to the normal hypno button?
I spent the last few hours having a crack at it myself, with no luck.... sad times.
Logged

DasBrain

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 413
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #7 on: October 13, 2021, 12:57:10 am »

This is actually not a bad idea, but I would not expose numbers.

Maybe more like a range, described by words, "likely", "unlikely", "guaranteed", "very likely"...

I actually like that idea - and maybe give the player that information once they have some skill level.
Logged

b00marrows

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 67
    • View Profile
Re: DasBrain's Debug Tools for 1.10.
« Reply #8 on: October 13, 2021, 12:59:25 am »

For the actual game, sure. i recommended that a while ago.

But I'm asking about a direct mod, no pussyfooting around. lol.
Logged
Pages: [1]   Go Up
 


anything
SimplePortal 2.3.3 © 2008-2010, SimplePortal