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 / Some nice codes...

Author
Message
myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 28th Dec 2007 18:06
I have some codes. I am using this in my game. There is a feature in my game that is there is no weapon or fighting or dying.....You will know why after reading this all...OK

1. A civilian follows waypoint to the very end and stops. If he sees player, he comes to the player and says "Go go restricted area..." or something like that.
Then he follows the waypoints...








2. A guard follows waypoint to the very end and stops. If he sees player, he comes to the player and says "You have been caught" or something like that.
Then the game is over...






3. A door that can be opened and then closed. Then we cannot open.Use- If a guard enters a room, we can lock the room from outside, then he never comes out. how's that?




I know these are low ranked scripts, but I just started scripting in detail today...
If someone wants take these and change to your convenience


and last...

4 Disguise....
instructions....

Make an entity pickup and script that pickup to like this



This script adds one point health to player

Set player health to 100 default
Then put a hurtzone to hurt at one point at the same position of player.Thus when the game loads, the players health will be 99/100.

Then script this to a character....




Test the game
The character will not respond at you if you pickedup the cloth, else he talks and game over. I think you got the idea and answer to why I made hurtless game?


Thank you...

drakul
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 28th Dec 2007 20:32
nice contributions! new scripts are always welcome.

myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 29th Dec 2007 19:42
There is a problem for me. I used Sensie FPSC game update.
But when game runs, the animations like door openeing, closing and all other stuffs are very very slow...

drakul
FPSC World
17
Years of Service
User Offline
Joined: 4th Nov 2007
Location: Never
Posted: 29th Dec 2007 20:39
Good Work.mercy

FPS Creator is My World
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 30th Dec 2007 16:28
Great work! Cant wait to try them!

Login to post a reply

Server time is: 2024-11-24 01:40:42
Your offset time is: 2024-11-24 01:40:42