Jump to content

Scripting


rawrn00b

Recommended Posts

How would I go about making it so you can only go about 3 weeks without food and 3 days without water before you die? I want it so when 3 days passes without water you just die instantly and when 3 weeks without food you die. Can someone tell me how to achieve this? Thanks guys.
Link to comment
Share on other sites

First off. Check out:

RI - Primary Needs: http://www.fallout3nexus.com/downloads/file.php?id=2125

&

BasicNeeds: http://www.fallout3nexus.com/downloads/file.php?id=1222

 

Both mods add the need to sleep, eat, and drink to the game.

 

Im currently working on a mod that adds these same needs to the game but simplifies the whole thing down so it's less of an issue.

 

The script your going to be intrested in if you decided to make your own is:

GameDaysPassed: http://geck.bethsoft.com/index.php/Special_Variables

There is an example on that page about checking if 24hrs has passed.

 

That should give you some ideas. And opening up those other mods should give you good examples.

Link to comment
Share on other sites

Thank you so much, do you know what the scripts are called in the mods? I forgot to mention the need to sleep, I will keep the 8 hours=well rested but I will make it so all your stats decrease by the hour if you don't sleep for at least a certain amount of time. Thanks so much for the help. +1 kudos for you!
Link to comment
Share on other sites

Most people name their mod scripts with a prefix of the same name, which is good policy..

For example most of the scripts in the BasicNeeds mod start with 'BasicNeeds' or 'BN'

RI-Primary Needs (Real Injures: Primary Needs) also follows this rule, and scripts start with RI.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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