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 / Enemy respawn question

Author
Message
RedneckRambo
18
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 22nd Nov 2006 05:00
Is it possible to make it where when an enemy is killed, it respawns in a DIFFERENT place than where it started? I THINK that would help alot with framerates, this way you would only have to put a few people and when they die it is like just more random people are coming

I have flamable urine.
DJ Professor K
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Somwhr in front of a brokn kyboard.....
Posted: 22nd Nov 2006 15:42
Perhaps making it so in the "destroy" script of the NPC, it makes it so another NPC spawns

ex. *script wich when npc dies, it will dissapear after a short time, will then trigger the spawn of NPC at y coord.
When the Y coord NPC dies, will spawn the NPC at the Z coord. the Z spawns the X, etc. or on an evan more random order*

Perhaps some of the NPCs can't have spawn at start, so it works or looks good.

Dunno if it works (or if it makes sence).

My love is seperated in 2 parts, 1 of them is 3ds Max 7, the other; FPSC.
RedneckRambo
18
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 22nd Nov 2006 21:03
I really have no idea how to script. But what your saying makes sense. I'll try to script it.

I love butter
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 22nd Nov 2006 22:19
I'll move this to the scripts forum.

RedneckRambo
18
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 22nd Nov 2006 22:51
Woops, my bad. I could have sworn I put this in the scripts forum.

I tried to script it, but when the enemy died he didn't respawn. Actually it was kind of cool because when he died you could still shoot his dead body and blood would come up. But it didn't do what I wanted it to do.

Fred, you got any ideas?

I love butter
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 23rd Nov 2006 03:42 Edited at: 23rd Nov 2006 03:42
* Place all the enemies you want in your level.
* Set them all to "spawn at start=NO" and don't respawn any of them.
* Use Trigger Zones to spawn each one.

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

Login to post a reply

Server time is: 2024-11-23 05:34:13
Your offset time is: 2024-11-23 05:34:13