Jump to content

Modding Question


Recommended Posts

I'd suggest you review how survival mode works first and perhaps add onto that. For anything and everything about Survival mode, just type in HC_ in the search and you should get everything related to it. The first big one is to look for is the Quest HC_Manager and review the scripts attach to it (if you're not familiar with any scripting language, it will be very intimidating and perhaps won't make sense at first). The first script in that quest is essentially 80% of Survival mode right there as it covers starting up and shutting down the mode, the food/thirst/sleep needs timers, the suppression of healing if you're hungry, giving diseases, and switching all the gamerules (globals) to make everything else come into effect among other things. If you're really only worried about the needs and disease aspect of the mode, start at line 1150 down for the processing of foods, drinks, and chems for the needs, and line 2031 down for parts concerning disease rolling. For the actual diseases/hunger/thirst/sleep effects check the potion section with the same tag. For messages associated with the previously mentioned effects, check the Message section. Additions are handled by actor values, "*Drug name*Addition", and a perk, "AddictionManager". That's all I can think of at the moment, but feel free to ask follow up questions.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...