OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: TakanoFukada on 05 Jul 2003, 15:53:23
-
Greetings,
It came upon me that a 'Food Ration Status Check System would be interesting to see in OFP. For example, a soldier may need to replenish his water supply or his performance will degrade as time passes (eg. run slower, aiming affected etc). Similarly, food can be stocked as such supplies as well.
Anyway I would like to check with you guys on this... anyone knows how to use a script to degrade the performance of a soldier? The degradation would be depicted as running slower and inaccurate shooting.
Do you think it's possible to implement such a feature? Any advice/experience(s) that you can share on this would be very much appreciated. Let the ideas flow !!!
-
i dont know if u could do it for the player, but u could probably do it with a AI dude
try these:
you could decrease the AI's skill with the setskill command it can go from 0-1
IE:
dude2 setskill 0.4
you could change how fast teh guy runs with setspeedmode
IE:
dude2 setspeedmode "Limited"
you can use limited, normal, and full for the different speed modes