Doomed_Space_Marine Posted February 6, 2009 Share Posted February 6, 2009 How to make CJ never get hungry through main.scm? I looked at the scripts in the game, but found nothing... Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted February 7, 2009 Share Posted February 7, 2009 Err, I ain't really sure about this, but here's what I found in the .SCM: $TOTAL_FOOD_EATEN I tought it might help. Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted February 7, 2009 Author Share Posted February 7, 2009 Didn't work... It's used to check how much CJ has eaten to make him puke if he has eaten too much. Link to comment Share on other sites More sharing options...
[SM]CJZera Posted February 7, 2009 Share Posted February 7, 2009 (edited) Wait, I don't know how it works, but by inspectioning the vendor, vending mach, etc scripts, hunger can be stopped by increasing the fat level, am I right? if so you could make a loop so that every minute it adds +1 fat then -1 Did this just for fun, should it work? :Nohungrwait 600000623: add 1 to_integer_stat 245 0623: add -1 to_integer_stat 245 wait 60000jump @Nohungr Edited February 7, 2009 by [SM]CJZera Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted February 7, 2009 Author Share Posted February 7, 2009 Thanks! It works perfectly Link to comment Share on other sites More sharing options...
[SM]CJZera Posted February 7, 2009 Share Posted February 7, 2009 It actually works? Never thought it will... I wonder where does R* store the time between fat increases, it must be stored somewhere, otherwise I dunno why fat increases stop hunger Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted February 7, 2009 Author Share Posted February 7, 2009 It's not fat stat. It's calories stat. When you increase it, health and fat increases. It somehow makes maximum health increase too. Link to comment Share on other sites More sharing options...
[SM]CJZera Posted February 7, 2009 Share Posted February 7, 2009 What you mean about max health? The more clories the more max health? or wtf? whatever, this was used in the vendor script, so I guess it's safe Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted February 8, 2009 Author Share Posted February 8, 2009 I made calories stat increase every game frame. Because it increases health, I made CJ lose health he gets by increasing calories stat. When CJ was hurt, his maximum health was increasing because calories stat was being changed very often. Link to comment Share on other sites More sharing options...
[SM]CJZera Posted February 8, 2009 Share Posted February 8, 2009 Well, the time between calories must be stored somewhere, and I hope not in the exe Link to comment Share on other sites More sharing options...
herbie49 Posted February 9, 2009 Share Posted February 9, 2009 Look in this file ar_stats.dat, it's in your data folder. Fat status is in there, I have not seen something about the calories. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now