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 / Invincibility

Author
Message
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 9th Oct 2006 18:10
Place a dynamic light in your level and assign this script to it's AI Main. Pressing g in the level will give you Invincibility for that level.

(It should work for the entire level. Depending on the size of the level, it may wear off at some point)



Happy game making.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 10th Oct 2006 01:40
hmmmm, this could come in handy for a cheat, thanks.

flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 10th Oct 2006 03:42
not only for a cheat, but sort of a secret things, somthing you get told at the begining. or, i wonder if its possible to make enemies home in on your noise.

http://i46.photobucket.com/albums/f128/flashingsnall/banner-1.jpg
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 11th Oct 2006 04:55 Edited at: 11th Oct 2006 05:00
Quote: "(It should work for the entire level. Depending on the size of the level, it may wear off at some point)
"


If you set the object to always active it wont wear off regardless to the size of the level.



Nue B. or not Nue B. That is the question.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 11th Oct 2006 16:37
That works too, but the players health display will continually climb. If the player looses 10 health points and goes to 490 and you add 500, then the players health is now 990, and so on.....

until the program throws an error. Adding one point at a time until the health equals 500 again takes a second, but is safer.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Oct 2006 09:00 Edited at: 12th Oct 2006 09:02
Quote: "That works too, but the players health display will continually climb."

His code won't continually climb.
It only increases by 500 if the Health level is less than 500.
It wouldn't add anything again until the 990 went back to 499 or less.
It does give them lots of health, but I don't see where it would cause any error.


Don't forget to visit Conjured Entertainment
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 12th Oct 2006 16:20
You're right.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 14th Oct 2006 04:52
Wow, I didn't know the health could be added as High. I assumed that if the plr health was set to 100 adding 500 would only max out at 100 dropping off the remaining 400 or so.

Interesting...

Nue B. or not Nue B. That is the question.

Login to post a reply

Server time is: 2024-11-23 00:54:35
Your offset time is: 2024-11-23 00:54:35