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 this possible?

Author
Message
KenPaulio
16
Years of Service
User Offline
Joined: 25th Dec 2007
Location:
Posted: 25th Dec 2007 18:17
I'm trying to make a game where you start off and none of the guards shoot you they continue with there business. Yet after you enter this one room the camera sees you (Like a tigger zone) and they all become your enemies as in shoot type So to sum this up
1. You start off in a lobby
2. We head to a hallway and enter a room
3. We enter the 2nd room of (2 Total)
4. Then we hear an alarm in which all guards become enemies to you

I'm kinda new to FPSC
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 25th Dec 2007 21:45 Edited at: 25th Dec 2007 21:48
KenPaulio,

Greetings. Welcome to the FPSC forum. Help is definitely here, but it's up to you to do your part, to learn the ropes.

To answer your original question, "yes, this is possible through the use of .fpi scripts."

If you look at the bottom left of the page, you'll see a search box.

Try searching for different subjects, and you're bound to find some useful information. Use this method before posting future requests, as some will not be as friendly in their responses.

Thanks,

Seth Black


Own It, Or Get Owned...
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 31st Dec 2007 22:28 Edited at: 31st Dec 2007 22:36
It may be possible if when you go in the trigger zone instead of changing the enemies reactions of you it deletes the old enemies and replaces them with hostile ones.

An easy way to do this would be to make the friendlies have no weapon ( i.e. Colonel X (Unarmed)) and name him "001" then have a basic script to have him dissappear. Then, have enemies that have weapons but still the same type of enemy (i.e. Colonel (Pistol)) also name him 001, and set their stats to the following:

Spawn At Start - NO
Max At Any Time - 1
Maximum Spawn - 1
Number To Spawn - 1

Just place those over the unarmed ones.

Then, put a trigger zone where nessacery and set it's "Main" colloum to the script "plrinzoneactivateifused" then put in the "If Used" colloum to the enemies name (in this case 001) and that's it.

About the "basic disappear script" just search the forum for that (search like "trigger zone" or "switch") and place it in:

C:\Program Files\The Game Creators\FPS Creator\Files\scriptbank

It should work but tell me how it is.

Login to post a reply

Server time is: 2024-11-24 01:59:10
Your offset time is: 2024-11-24 01:59:10