• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Level Design PLZ Help! Triggered Emmiters

Fel

Grizzled Veteran
Aug 9, 2009
1,991
472
In Mission Mode
OK so i have a cannon, where you find a shell, load the cannon, then that activates the cannon. It then moves into position and fires at a blast door and explodes. I got all that to work. BUT I need to to trigger a smoke emmiter at the cannon barrel, and then create an explosion at the blast door.

I have tried just triggering the emitter with tags, but that doesnt seem to work.

I have also looked in the settings and didnt see any thing like Enable trigger- True.

Anyone? :confused:
 
heres what i did, for anyone who cares.

I took a regular emmiter. Copy, then i pasted it LITERALLY in notepad.

Changed the 2 line to;

Begin Map
Begin Actor Class=NetworkEmitter Name=ROSatchelExplosion1
Begin Object Class=SpriteEmitter Name=SpriteEmitter54
FadeOut=True
FadeIn=True
RespawnDeadParticles=False
SpinParticles=True
Blah Blah Blah
Then went to each of the emitter properties, (0-6)

Went to Local, triggereddisabled = true
 
Upvote 0
just take a normal emitter, COPY

Then open notepad and paste the code into there

It will say (well for the ROSatchelExplosion Emitter)

Begin Map
Begin Name=ROSatchelExplosion1 Name=ROSatchelExplosion1
Begin Object Class=SpriteEmitter Name=SpriteEmitter54
FadeOut=True
FadeIn=True
Blahblahblah......

Change the 2nd line of the code to

Begin Map
Begin Actor Class=NetworkEmitter Name=ROSatchelExplosion1
Begin Object Class=SpriteEmitter Name=SpriteEmitter54
FadeOut=True
FadeIn=True
RespawnDeadParticles=False
SpinParticles=True
Blah Blah Blah


Then select all, COPY

Then goto editor,

Paste

There you go. Its a NetworkEmitter, with all the effects of the normal emitter, but you can trigger it on and off

To have it start off disabled, you have to go into every emitter property (0- whatever) goto Local and set disabled to true

the line Actor Class=NetworkEmitter is what is telling the editor what type of emiter/ actor it is.

This way you dont have to go through and select all the properties manually, unless you want to change how it looks as well.
 
Last edited:
Upvote 0