Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Is it possible to mod this Tax78 script?

Author
Message
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 26th Oct 2017 00:27
I have tried everything. Change all the timers, and all the variables but it wont move from 20 seconds to about 40-60 seconds.
Is this possible? Here is the script:
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Oct 2017 00:22
Mr Love Tax78 wrote this script a little different. He has the variable counting backwards ( 0 to -14) when underwater, and adding 0 to 20 when above water.
This makes it very difficult to makes changes, If you look at the scripts you'll see " :varequal=watersystem " it looks like he has 34 images tied into this script ...wow
If you open any of the water scripts and look at line of code ":state=11,plrunderwater=1,varequal=watersystem 20:etimerstart,state=50"
that variable 20, if you change it to something like 60 ( 1min) you have 60 sec's before you die, BUT when you test it all the hud images are incorrect.
Change that line to 60 and do a test and you will see what I mean....
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 27th Oct 2017 01:07 Edited at: 27th Oct 2017 01:11
Did I do something wrong here, NOTHING happend??? I thought I courld use the air hud pictures more then once perhaps three times, then it shourld be 60 seconds...

;underwater timer
:state=11,plrunderwater=0,etimergreater=500:state=12
:state=11,plrunderwater=1,etimergreater=1000:addvar=watersystem 1,etimerstart,state=11
:state=11,plrunderwater=1,varequal=watersystem 60:etimerstart,state=50
:state=11,plrunderwater=1,varequal=watersystem 0:etimerstart,state=14
:state=11,plrunderwater=0,varless=watersystem 0:state=12
:state=11,plralive=0:camfov=0,fog=0,state=52
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Oct 2017 11:03
Mr Love Yes, that looks correct. Strange, it worked for me ?
Ok, I'm going to play with the "etimer" settings tonight and see if I can
get it to last 60 sec's? It shouldn't be too hard to do.
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 27th Oct 2017 20:58
WAIT!!! I need an exact time here... This is a speedrun under water, I want it to be hard to reach the gate in time, so its important that I have quite an exact time... I want the time in this script plus + five seconds...

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 28th Oct 2017 00:40
Mr Love
To answer the previous question, to make it last 60 sec's (1 min) you can easily change the etimer from 1000 to 3000.
Look at the second line on state=11, with etimer at 1000 & variable counts to 20, so 20 sec's. If you change etimer to 3000 & variable counts to 20 = 60 sec's.


Now this new script is a beast I have no clue what's going on ??? This is the one I feel somethings missing?
If you want an "EXACT" countdown underwater script use the very simple one I gave you on other post.

Set the "setair=x" to the exact time you want in seconds, setairtime=x is the etimer (leave at 1000) setdrowntime=x how long it take for player to drown ?
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 28th Oct 2017 01:30
Yeah! Im more and more into, that the easy is the best thing in the long run... It takes less resourses as well...

Login to post a reply

Server time is: 2024-11-21 13:22:16
Your offset time is: 2024-11-21 13:22:16