Game Development Community

Newb question, changing footprints

by Douglas Svehla · in Torque Game Engine · 10/20/2005 (9:11 pm) · 2 replies

I have been playing around with game engine for about a week now and I was wondering if there's any quick way to switch the footprints during gameplay... I want them to change from dust to fire... I have the particles set up for it but I can't switch from one to the other while it's running...

Everything is pretty much all original set up... and i'm just making some changes to the start fps.

#1
10/20/2005 (9:28 pm)
Take a look at the starter.fps/server/scripts/player.cs file. You shoud see some stuff about footprints and particle's. Probably will have to change the particledata reference for the footprint, right now I believe it is sat as footpuff, not sure though.
#2
10/20/2005 (9:41 pm)
I have been able to change them before loading the game... so I can load it with dust prints or fire prints... but I want it to change from one to another when I pick up an item... Only thing I could guess at doing was changing the references to this....

footPuffEmitter = $PuffFootEmitter;

dustEmitter = $FootDustEmitter;

and then changing the variables from dust to fire when the item is picked up... but it doesn't change... I can only assume the PlayerBody needs to know to updated somehow... which I can only assume is a lot of work.