Game Development Community

f5 particle editor problems

by Dan · in Game Design and Creative Issues · 05/25/2009 (12:50 pm) · 4 replies

when i edit a particle in this editor some of them only emit fora few seconds. for example crossbowExplosionFireEmitter only appears for a few seconds but disapears. i was wondering if someone could tell me how to make it emit for an infinite time. also when i first press f5 a particle appears and i t shows up on world editor inspector but when i save and reopen that mission later it isn't there. how do i save it. please help and reply

#1
05/25/2009 (1:26 pm)
The particle editor is only for editing of particles and emitters. When you "save" all it is doing is placing a copy of the current emitter/particle in the Creator directory (in TGE) in a text (.cs) file. In TGEa it saves in a "particleEditor" directory. It does not save your particle in the mission/level. To place a "permanent" particle you would use the Mission Editor -> Envrironment -> Particle Emitter object.

If you want the particle emitter to constantly emit while you are editing it, move the lifeTimeMS slider all the way to the left (0) -- but remember that if you save and then use this emitter that it will more or less be a permanent emitter -- not good for weapon fx.

Something else to keep in mind about saving emitters and particles is that when they are saved Torque saves them with the "new" prefix instead of "datablock", so you'll need to change that when you copy/paste your new particle and/or emitter to be exec'd.
#2
05/28/2009 (5:24 pm)
if i use plastic tweaker is it also temporary i havent used it yet because i do not no how to download it cuz its winzip
#3
05/29/2009 (2:55 am)
I wouldn't know about the plastic tweaker since I don't use it, but from what I remember that's part of what it's for -- real time in-game editing of datablocks. Might want to ask around though because from what I remember reading in the forums there have been some "issues" with it.
#4
05/31/2009 (10:41 am)
If you're using TGE I wrote an upgraded version of the F5 particle editor.(I've never tested it with TGEA, but it might work) It's a resource here.

It has the option to infinitely loop an emitter or particle effect without changing any of the save values. Hope that helps!