Spawning
by Steve · in Torque Game Engine · 09/03/2006 (10:51 am) · 13 replies
I've made a spawn sphere to spawn my vehicle obviously, but i 've tried and tried to get it working but it won't, if anyone has knowledge in this area could they help please, i also need help on changing the look of my vehicle while it's moving, like in the soldier content pack, if anyone knows that much about scripting it would also be much appreciated, thanks
#2
2 - I edited the car script to match the tank
3 - i don't understand the last bit, is that something to do with my first or second question?
thanks for the info again, you've been more helpful than looking at the forums without proper English in them
09/03/2006 (11:40 am)
1 - That worked, anyone apart from me could have found that out2 - I edited the car script to match the tank
3 - i don't understand the last bit, is that something to do with my first or second question?
thanks for the info again, you've been more helpful than looking at the forums without proper English in them
#3
09/03/2006 (11:44 am)
An unrelated question aswell, does anyone know where the particle emitter editor is located?
#4
This will allow you to drop particles in and adjust them in real time.
09/03/2006 (12:18 pm)
Launch Torque and mission then Hit F5 to bring up the particle editor.This will allow you to drop particles in and adjust them in real time.
#5
09/03/2006 (12:24 pm)
Thanks, but am i supposed to go into the map editor then press f5, or press f5 during the game because either way doesn't work
#6
09/03/2006 (1:36 pm)
Steve u need to enable the particleeditor by removing a bugged path in the particleeditor.cs . there is a path to a directory that doesnt exist .
#7
09/03/2006 (3:11 pm)
Thanks, what directory is it, i can't find it?
#8
the exec is what needs changing. The ParticleEditor.gui is in the creator folder, not the common folder.
09/03/2006 (4:36 pm)
In creator/editor/particleEditor.cs there is a block:if (!isObject(ParticleEditor))
{
exec("common/editor/ParticleEditor.gui");
ParticleEditor.initEditor();
}
ParticleEditor.startup();the exec is what needs changing. The ParticleEditor.gui is in the creator folder, not the common folder.
#9
09/04/2006 (12:36 pm)
It doesn't work, can somebody print a copy of a working particleEditor.cs script in here so I can see what's missing in mine, if anything
#10
It works fine for me.
09/04/2006 (1:05 pm)
Did you change the common folder to the creator folder??It works fine for me.
#11
if (!isObject(ParticleEditor))
{
exec("creator/editor/ParticleEditor.gui");
ParticleEditor.initEditor();
}
ParticleEditor.startup();
isn't that right??
does it only work with 1.3 becuase i have 1.4?
09/04/2006 (1:37 pm)
I have this down nowif (!isObject(ParticleEditor))
{
exec("creator/editor/ParticleEditor.gui");
ParticleEditor.initEditor();
}
ParticleEditor.startup();
isn't that right??
does it only work with 1.3 becuase i have 1.4?
#12
Make sure this:
Load up Torque and try hitting F5, it should work.
If it still doesn't, make sure a .dso is being created for both the .cs and .gui file in the creator\editor folder.
Also, tell me what the console says after pressing F5.
P.s. You have to be in-game for the particle editor to work and not have any other editors open.
09/04/2006 (11:17 pm)
That looks right. It works with 1.4, after the above fix is implemented.Make sure this:
exec("./editor/particleEditor.cs");Is in your example\creator\main.cs file.Load up Torque and try hitting F5, it should work.
If it still doesn't, make sure a .dso is being created for both the .cs and .gui file in the creator\editor folder.
Also, tell me what the console says after pressing F5.
P.s. You have to be in-game for the particle editor to work and not have any other editors open.
#13
09/05/2006 (7:29 am)
The console doesn't do anything after i press f5, there is a dso file for the cs and gui. it still won't work
Torque Owner Tim Heldna
Have you created the dataBlock / script for your tank?
Is your GameConnection::createCar function calling the right dataBlock?