Game Development Community

ParticleEditor ?

by Alienforce · in Torque Game Engine · 09/24/2005 (4:09 pm) · 4 replies

Hi All,

I am trying to build a "Test Enviroment" based on the tutorial.base instead of starter.fps...
But how can access the particleeditor like in starter.fps.

Maybe i need to sleep :) but i cant find the linking in the starter.fps
so ican do the same in tutorial.base.

if someone just could to tell me where to look.. and what to move..

I know where the editor is in the common folder .. ;)

/Thomas

#1
09/24/2005 (4:14 pm)
Hi,

Using stock tge 1.3, you can press F5 while playing the game in starter.fps. (not when in the editor)
If you get it working (which it should) then you can look for the F5 key binding in the scripts.
That should let you know where to start looking.
#2
09/24/2005 (4:18 pm)
Thanks david for your reply.

I cant find the F5 binding thats the problem.
i must have missed looking in some script.


/Thomas
#3
09/24/2005 (4:23 pm)
Found it :)

No sleep tonight :)

/Thomas
#4
09/24/2005 (4:28 pm)
Here's where I found them.
The | number | means the line number.

Bindings:
C:\Torque\SDK\example\starter.fps\client\config.cs | 6 | moveMap.bind(keyboard, "f5", toggleParticleEditor);
C:\Torque\SDK\example\starter.fps\client\scripts\client\config.cs | 6 | moveMap.bind(keyboard, "f5", toggleParticleEditor);
C:\Torque\SDK\example\starter.fps\client\scripts\default.bind.cs | 32 | moveMap.bind( keyboard, F5, toggleParticleEditor);

In Common, where the exec and function starts:
C:\Torque\SDK\example\common\main.cs | 31 | exec("./editor/particleEditor.cs");
C:\Torque\SDK\example\common\editor\particleEditor.cs | 15 | function toggleParticleEditor(%val)