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 / Spawning Multiple enemies

Author
Message
RinsE
17
Years of Service
User Offline
Joined: 14th Jun 2007
Location:
Posted: 26th Jun 2007 09:49
Ok i have a problem.
i want to spawn like 7-9 people in this kind of hall with pillars.
what i did was used a trigger that spawned the enemy |"Pillar Fighter" and then just put down multiple pillar fighters but it didn't work.
it said Line error at q9p247012947a or watever... but anyway i tested multiple spawning with two guy but it didn't work. what do you put in the ifused box to spawn another different character?

Noob = Meh...
Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 26th Jun 2007 20:39
Ok, this is what you must do...

1.Place a Trigger zone on your map (purple box)
2.Set the trigger zone's main script to "plrinzoneactivateused.fpi"
3.In the ifused box, put the name of your enemies example "enemy"
4.Place your enemies around the map and name them "enemy" or what ever you specified in the ifused box.
5.On the characters menu, set the following...

-spawn at start no
-max at any time 1
-maximum spawn 1
-spawn after delay yes
-number to spawn 1

Now, when you run the game and walk through that trigger zone, those named enemies will be spawned. Hope this helps.

fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 27th Jun 2007 01:08
what happens if you dont kill them, if the player doesnt shoot them they will be hanging about, I presume this is for optomization that he is spawning enemies.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 27th Jun 2007 15:55
Yes, they will continue to hang aroung and eat cycles. You can use something like:

plrdistfurther=1000:destroy

to get rid of them if you move on without killing them.

Best.

I'm sorry, my answers are limited. You must ask the right question.

RinsE
17
Years of Service
User Offline
Joined: 14th Jun 2007
Location:
Posted: 27th Jun 2007 20:17
ok i did that but still the line error. they are "Pillar Fighters"
with a-ks and they are male civilians...

Noob = Meh...
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 29th Jun 2007 01:12
I personally wouldn't even attempt 7-9 enemies unless they are exceptionally low poly
fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 29th Jun 2007 04:06
ive had 15 on screen at once, all same model doing same script, with no lighting and they worked fully, no slow down or nothing, using 105 patch and 2.6 gig with athlon 6 series.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 5th Jul 2007 20:52
Not everyone has a 2.6 gigahertz processor.
It depends on the complexity and size on the fpi's the enemies are using, and the speed of your computer.

www.myspace.com/sculptednoise

Login to post a reply

Server time is: 2024-11-23 18:48:21
Your offset time is: 2024-11-23 18:48:21