Creating a splash in script
by Kip · in Torque Game Engine · 09/01/2006 (7:55 am) · 3 replies
Hi all,
I am currently making some changes to the engine for creating mountable particle systems. I started from the splash code and pretty much deleted everything except the emitter array. I then made the class inherit from shapebase to get mounting and made the appropriate changes for that. Now comes the big problem. Splashes dont seem to be created in script code anywhere. They always seem to be created through the player class or weapon class and never directly. I basically figured if someone could tell me how to make a splash in script then i could implement that into my code. The idea with the splash is to be able to just have a splash be constant some place in the world.
Any ideas?
Thanks!
I am currently making some changes to the engine for creating mountable particle systems. I started from the splash code and pretty much deleted everything except the emitter array. I then made the class inherit from shapebase to get mounting and made the appropriate changes for that. Now comes the big problem. Splashes dont seem to be created in script code anywhere. They always seem to be created through the player class or weapon class and never directly. I basically figured if someone could tell me how to make a splash in script then i could implement that into my code. The idea with the splash is to be able to just have a splash be constant some place in the world.
Any ideas?
Thanks!
#2
09/05/2006 (10:13 am)
I would check out the vehicle class and adapt their engine exhaust emitters, that's what I did.
#3
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10893
09/05/2006 (10:24 am)
Someone also wrote some generic particle mounting code at ShapeBasewww.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10893
Torque Owner Kip