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 / Kill number of enemies in a room to allow a door to be opened

Author
Message
TZap
19
Years of Service
User Offline
Joined: 29th Aug 2005
Location:
Posted: 17th Jul 2006 01:34
This is common in most fps games. You have a closed door that can only be opened when a number of the enemy (or level "boss") in the same room are destroyed. Sorry if this is a repeated question but I've not been in the forum for a while!
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 17th Jul 2006 17:38
Im at a camp right now in which im scripting for FPSC, last session i had it so when you kill a certian guy it opens a locked door, but i dont remember how i did it. If you really want the door to "open", you could just make him an objective so when you kill him the level ends. then the next level could start in the same spot, but with an open or a use door instead of a locked.

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->
TZap
19
Years of Service
User Offline
Joined: 29th Aug 2005
Location:
Posted: 18th Jul 2006 09:33
Ok but not just killing a single guy. There could be more than one in the room. Let me know how you get on in the camp!
Gamz
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: A bubble!
Posted: 18th Jul 2006 14:23
This question was answered a while back, search the forums and you should find it.

/.,.\-Meh? Everyone loves fat penguins!
((_ _)) Support your local Riker 9 Chapter.
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 19th Jul 2006 00:58
Quote: "characters DO have an ifused field, that is something I have been saying for a long time.

Just edit an enemys FPE (found in entitybank) and add ifused=cnt

death script
activateondeath.fpi
:state=0:activateifused=1,suspend,state=1"



cnt script
ifused=remote door

:activated=1:incstate=1,activate=0
:state=10:activateifused=1

Your Mod was deleted by the Government.
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 19th Jul 2006 03:46
Yeah.. im pretty sure i replied to that but i dont see my post so im reposting it.

Its awesome at camp. we design games using FPSC for two weeks, in groups. This is my second session, the second week of it (2 weeks a session). I am the scripter of my group, and was last session. Um.. its pretty cool. in our down time we play UT2k4 and WarCraft3 on a LAN (30 computers in the same room, LANed). It's fun, and im learning a lot!

And maybe put the other guys on objective one too, or put them on progessivly higher objectives.

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->

Login to post a reply

Server time is: 2024-11-22 19:48:35
Your offset time is: 2024-11-22 19:48:35