Home   Help Search Login Register  

Author Topic: Disable Use of AccTime?  (Read 623 times)

0 Members and 1 Guest are viewing this topic.

schplurg

  • Guest
Disable Use of AccTime?
« on: 15 Feb 2003, 02:28:03 »
Hi all
Because Nogova seems to have this problem where a player can walk through any wall or building when the AccTime is set to 4X, I am having some major problems. A player can easily cheat by simply exiting a building this way, especially the buildings that I place myself.

So my fix would be to disable the AccTime feature, at least while inside these locations. I have tried this using repeating triggers that reset the AccTime to 1, but I can usually run through the wall anyways before the trigger can catch it.

Is there a way to disable AccTime so the player is stuck at 1X gamespeed? Or does anyone have a better trick to solve my problem? I'm an intermediate scripter, so I'm sure I haven't tried everything possible.

I have searched and read everything I could find, with no luck. Thanks for any help!
 8)

tai mai shu

  • Guest
Re:Disable Use of AccTime?
« Reply #1 on: 15 Feb 2003, 05:39:38 »
hmm, make a trigger that is activated by:    acctime > 1

and make it activate repeatedly

than in activation put: setacctime 1

schplurg

  • Guest
Re:Disable Use of AccTime?
« Reply #2 on: 15 Feb 2003, 07:13:17 »
I tried that but it can easily be "beat". I can still get it faster than "1x speed" long enough to get through the wall if I hit the + key a few times. It's like trying to make a guy invincible with the same trick...the trigger doesn't react fast enough for the CPU. Apparently anyways.

Thanks though, I appreciate the reply. Any other ideas?

:) schplurg

Knut Erik

  • Guest
I have the solusion!
« Reply #3 on: 15 Feb 2003, 19:26:12 »
It is easy! Make the first script and then copy in. (mark it and press ctrl+c) and past it (ctrl+v) MANY times. Just create 100-400. Then it is nearly inposible to break trough the "wall".

Hope this will help ya  ;D

-Knut Erik

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Disable Use of AccTime?
« Reply #4 on: 15 Feb 2003, 19:28:43 »
While that would work.  You could of course just use a simple script like thus;

#start

SetAccTime 1
~0.001
goto "loop"

Exec it from the init somewhere and whenever you try and use the time acceleration it will be reset to 1.

schplurg

  • Guest
Re:Disable Use of AccTime?
« Reply #5 on: 15 Feb 2003, 22:31:48 »
Thanks all!
Icarus_UK: your idea worked, didn't try the other. I guess I did my looping script wrong when I tried this. Probably because I had the script wait until the speed was set higher than 1X, and THEN changing it back down, which would happen too late by then.

I changed your suggested code to this:

#start

SetAccTime 1
~0.001

goto "start"

Works perfect! It still says 2X up in the corner of the screen, but speed does not increase, not even for a split second. That "split second" makes all the difference in this situation.

Thank you all very much! :D

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Disable Use of AccTime?
« Reply #6 on: 15 Feb 2003, 23:25:20 »
You changed my script so somthing exactly the same and it works?  Well Im glad you fixed it for me.  ???

schplurg

  • Guest
Re:Disable Use of AccTime?
« Reply #7 on: 16 Feb 2003, 01:03:31 »
Look closer...yours did not work. The line:

Goto "Loop"

My little change:

goto "start"

made it work

Thanks again.
 8)
« Last Edit: 16 Feb 2003, 01:06:40 by schplurg »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Disable Use of AccTime?
« Reply #8 on: 16 Feb 2003, 15:22:32 »
LoL, serves me right for trying to add variety into my scripts.

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Disable Use of AccTime?
« Reply #9 on: 24 Feb 2003, 22:05:20 »
click the solve button please!    ;)
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

schplurg

  • Guest
Re:Disable Use of AccTime?
« Reply #10 on: 24 Feb 2003, 22:18:52 »
Oops, I knew there was a button like that somewhere on here! Now I see it.

Thanks again for the help, it works perfect in my mission!