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 Product Chat / Is it possible for enemies to spawn dead?

Author
Message
CloudVII
15
Years of Service
User Offline
Joined: 7th Jul 2010
Location:
Posted: 24th Sep 2010 01:18
In my game, the player walks in and there are three unarmed swat characters, how can I make it so instead of them spawning normally, they spawn dead? Is it even possible?

artfulME
15
Years of Service
User Offline
Joined: 21st Aug 2010
Location:
Posted: 24th Sep 2010 04:01
What I would do, is just spawn them with zero health, and change their destroy script to make it where the corpse stays.

Give a man a fish, and feed him for a day.
Teach a man to fish, and watch him steal your dinner away.
vortech
16
Years of Service
User Offline
Joined: 18th Mar 2010
Location: Finland
Posted: 24th Sep 2010 09:49
If I were you I just could model them to dead positions. Much more realistic than current dead pose.


Check for pure horror.
Poloflece
16
Years of Service
User Offline
Joined: 14th May 2010
Location: Australia
Posted: 24th Sep 2010 09:54
Giving them 0 health makes them immortal


Poloflece, not to be mistaken for polofleece, polar fleece or polar flece.
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 24th Sep 2010 10:12
Does FPSC have an entityaddhealth command in FPI yet?

If so just put this as it's main script:



It'll intanstly set it to call up the death script, best to set it to ragdoll though...

7045 Forum Messages
65 Forum Threads
It's been a good three years.
The Storyteller 01
17
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 24th Sep 2010 10:21 Edited at: 24th Sep 2010 10:22
For me the easiest way is to turn a character into a static entity.

All you have to do is copy the .fpe file and edit it accordingly.I did this last with Cosmic Prophets undead pirates. check out the difference between the 2 in these codes:

dynamic character .fpe


static entity .fpe


You can use the later one as a template, all you have to do is to copy the path for the .X and .dds files for your character into it.

The charcater is standing in the passive pose but can be put onto its back or face into the editor. Some charcters may look weird if put onto an even surface that way but some grass or rubble can easily conceal this.

In case you find my grammar and spelling weird ---> native German speaker ^^

Login to post a reply

Server time is: 2026-07-03 15:31:23
Your offset time is: 2026-07-03 15:31:23