Jump to content


Photo

How to modify food/water requirements?


  • Please log in to reply
7 replies to this topic

#1 dingosatemybaby

dingosatemybaby
  • Member
  • 65 posts

Posted 16 March 2005 - 07:48 PM

Anyone know what to modify if I want to permanently "shut off" the hunger/thirst requirements?

If you know, I am curious not only as to what specific script(s) to modify (and how) but also that this wont F up anything else to do with the mod.

Anyone have a clue?

Also I seem to recall Horred posting he removed all henchmen functionality -- do I remember correctly or am I confusing this with another mod wrt to Henchmen..?

Thx
./Dingo

#2 jedi156

jedi156
  • Member
  • 18 posts

Posted 16 March 2005 - 09:55 PM

Anyone know what to modify if I want to permanently "shut off" the hunger/thirst requirements? 

If you know, I am curious not only as to what specific script(s) to modify (and how) but also that this wont F up anything else to do with the mod.


script hc_defaults

line 158:
// Setting HUNGERSYSTEM to 0 will turn off the need for PCs to regularly consume
// food and water to avoid death by starvation or dehydration.
// Setting this to 1 will IGNORE the FOODSYSTEM flag, and it will use its
// own food system instead.
int HUNGERSYSTEM = 1;

line 228:
//Set MyFood to 0 to turn off my food system, set FoodCheck and WaterCheck to how many
//hours you want to wait before having a person eat, if a hour after this time they will
//start to take 1 hp for lack food/1 hp for lack of water every round until dead
// or eaten/drank.
int MyFood =0;
int FoodCheck = 8;
int WaterCheck = 1;


Have no clue ablut henchmen yet, as I can not get the database working, i cant play :(

Edited by jedi156, 16 March 2005 - 09:56 PM.


#3 udoh

udoh
  • Member
  • 48 posts

Posted 16 March 2005 - 09:58 PM

Anyone know what to modify if I want to permanently "shut off" the hunger/thirst requirements? 

View Post


Hey Dingo, I made the following changes to remove the food and water system:

* Modified hc_defaults
Lines:
121 ... int RESTSYSTEM = 0;
124 ... int RESTBREAK = 3;
131 ... int LIMITEDRESTHEAL = 0;
162 ... int HUNGERSYSTEM = 0;
167 ... int FATIGUESYSTEM =0;

Hope that helps ya.
udoh
:)

#4 horred the plague

horred the plague

    Scourge of the Seven Seas

  • Modder
  • 1899 posts

Posted 16 March 2005 - 10:28 PM

Anyone know what to modify if I want to permanently "shut off" the hunger/thirst requirements? 

View Post


Hey Dingo, I made the following changes to remove the food and water system:

* Modified hc_defaults
Lines:
121 ... int RESTSYSTEM = 0;
124 ... int RESTBREAK = 3;
131 ... int LIMITEDRESTHEAL = 0;
162 ... int HUNGERSYSTEM = 0;
167 ... int FATIGUESYSTEM =0;

Hope that helps ya.
udoh
:)

View Post



Try the following too:

int GIVEXP = 100000000;
int GIVEGOLD = 100000000;
int MONSTERHP = 0.0005;
int CHALLENGELEVEL = -999;
:P :P :P

#5 udoh

udoh
  • Member
  • 48 posts

Posted 16 March 2005 - 10:45 PM

Try the following too:

int GIVEXP = 100000000;
int GIVEGOLD = 100000000;
int MONSTERHP =  0.0005;
int CHALLENGELEVEL = -999;
:P  :P  :P

View Post


Told ya you wouldn't like my changes to the defaults :P

udoh
:)

#6 dingosatemybaby

dingosatemybaby
  • Member
  • 65 posts

Posted 17 March 2005 - 02:18 AM

Try the following too:

int GIVEXP = 100000000;
int GIVEGOLD = 100000000;
int MONSTERHP =  0.0005;
int CHALLENGELEVEL = -999;
:P  :P  :P

View Post


Told ya you wouldn't like my changes to the defaults :P

udoh
:)

View Post


OK so hc_defaults is where I need to poke. Stupid follow up question: once I change this, can I just save the mod in the toolset or do i have to do "build module" with all the checkboxes ticked?

(told you it was a stupid follow up question) :lol:

Also are henchmen removed or are they still in?

Thanks for your replies...
./Dingo

#7 jedi156

jedi156
  • Member
  • 18 posts

Posted 17 March 2005 - 11:00 AM

OK so hc_defaults is where I need to poke.  Stupid follow up question: once I change this, can I just save the mod in the toolset or do i have to do "build module" with all the checkboxes ticked? 

(told you it was a stupid follow up question)  :lol:

Thanks for your replies...
./Dingo

View Post


You do need to build module but only need the compile scripts check box ticked.

#8 horred the plague

horred the plague

    Scourge of the Seven Seas

  • Modder
  • 1899 posts

Posted 18 March 2005 - 02:02 AM

Also are henchmen removed or are they still in?

View Post



Removed. I was using harkinian's henchmen before this version, and it added about 700 more files to the mix. And with all those files, a whole bunch of lag.