Game Development Community

Special effects

by Wayne · in Technical Issues · 03/12/2008 (8:32 pm) · 4 replies

Hi.. I am new to torque and try to figure out if it is possible to create nice effects with script in the TGE.
I looking for something like overexposure or things like that.
Is there a way I can have influence on dynamic lighting...
The effect I like to create is a kind of halluzination, dizzy, everything to go over the top. Are their any common ways to solve or are their any good scriptexamples out there to get started?

Thanks in advance...

#1
03/13/2008 (12:25 pm)
You might want to check out AFX for Torque on the products page, it can be used to make all kinds of FX but it may not exactly do what you are looking for if I am reading your post right.
#2
03/14/2008 (6:51 am)
Most of the time, for games like FEAR and the like, this is done through a full-screen shader. TGEA and TorqueX are both shader-enabled engines, depending on your target audience.
#3
03/14/2008 (12:55 pm)
Is there any way to do create some effects with torque script? I saw in the resourcepages that there are examples for a doppler, motion and other stuff I really was fascinated, but for all of this I have to touch the core.... are there any ways to do cool stuff without touching it? Maybe?
#4
03/14/2008 (2:52 pm)
Dynamic lighting effects and the particle system are accessible through script and can indeed create nice effects with a little experimenting. ArcaneFX has an easy to use scriptable effects system but must be added to the engine, and is more suited to spell-like casting effects and explosions

However, it sounds like you are wanting to do fullscreen shaderized effects which would mean using TGEA or TorqueX as mentioned by David above. I believe that bump-mapping/normal-mapping, reflections, DRL, glow fx and the like are the standard shader effects included with those engines. You would have to modify and experiment with the shader scripts themselves to do the effects I think you are describing.

TGE itself has no shader support on it's own. The Modernization Kit can add shaders to TGE but will require source code changes to implement it. Stock MK gives you interior parallax-mapping, shiny water, and DRL with bloom fx. I've personally added motion blur, cel-shading, glow fx, and disco-like color tinting for textures which gives me headaches and could potentially cause seizures.

The extent of Torque's special effects is only limited by your imagination. If you are interested in only using script then see what you can come up with using the particle system. You can attach lights to objects using script and modify it's colors through the light's datablock. You can affect a player's position and orientation though script. Create a field of hallucinations using particles and the foliage-replicator by adding and deleting them though script. You should be able to find examples of each on the TDN and espeically in the scripts themselves.