Page 1 of 1
Spawners
Posted: Sat Mar 01, 2008 6:26 pm
by death_program
How do you make spawners?
Posted: Sat Mar 01, 2008 7:21 pm
by zook_one
First thing is you create a CAI Human Object in your world and give it the template property:
Next create a Spawner object in the world at the the location you want the character to spawn:
Last you will need to send a command to the Spawner Object to Spawn the targeted CAI Human Template referenced. The Spawn command could be sent in many different ways.
The command based on the sample above would be:
msg SPWN.01 (spawn)
Posted: Sat Mar 01, 2008 7:33 pm
by death_program
Thanks!
Posted: Sat Mar 08, 2008 10:17 am
by death_program
How do I add FX to the targets of the spawn-in?
Posted: Sat Mar 08, 2008 4:04 pm
by TronFAQ
death_program wrote:How do I add FX to the targets of the spawn-in?
If you mean what I think you mean, you don't. They happen automatically. Though it seems you need to set the Goalset to Reinforcement.
Posted: Sun Mar 09, 2008 3:06 am
by win3k
They happen automatically. Though it seems you need to set the Goalset to Reinforcement.
Of, if you *need* another CAI goalset, add a special effect object at the same point as the spawner (called, f'rinstance: SFX.Spawn1), set the Fxname to Multi_Rezin_<yourchoiceofcolour> set Loop and StartOn to false, and trigger it at the same time as you issue the spawn:
msg SPWN.01 (spawn); msg SFX.Spawn1 ON
win3k
Posted: Thu Mar 13, 2008 5:06 pm
by death_program
Thanks guys, it's working so far.
Another thing, after a while of me dodging them, they kinda lose interest and just sit there, staring at me. They don't even respond if I shoot at them. How do I make them keep fighting me?
Posted: Thu Mar 13, 2008 5:48 pm
by TronFAQ
That probably has to do with either the Alignment or SeeEnemyDistance and HearEnemyDistance values found in the AttributeOverrides window.
Set the Alignment to whichever character(s) you're using, and set both the SeeEnemyDistance and HearEnemyDistance to a value of say, 5000. The default distances are short, so once you move too far away they lose interest.
Posted: Thu Mar 13, 2008 5:53 pm
by death_program
The Attributes are all set to 100k, set so they notice me the second they spawn in. But what should the alignment be?
Posted: Thu Mar 13, 2008 7:39 pm
by TronFAQ
Like I said, change the alignment to whatever character(s) you're spawning. So for example, if you're spawning regular ICPs, set your CAIHuman object to have the IC_Regular alignment.
Posted: Fri Mar 14, 2008 6:40 am
by death_program
Okee-Dokee