shockwaves don't seem to work....
by Matthew Shapiro · in Torque Game Engine · 10/23/2001 (1:45 pm) · 4 replies
I used the shockwave datablock from mortar.cs in T2 and fixed the paths and extracted the textures but it doen'st work... i get this from the console...
i haven't modified the shockwave script at all so i won't post it (or get in trouble =P) but here's the code i use to start it:
datablock ShockwaveData(BlasterExplosionEmitter)
that's how i did the datablock but it doesn't seem to work. Now i may be wrong but it doesn't look like shockwaves need emitters... am i doing something wrong?
Quote:
Compiling fps/server/scripts/part.cs...
Loading compiled script fps/server/scripts/part.cs.
Warning: (c:\torque\engine\console\consoleobject.cc @ 58) Couldn't find class rep for dynamic class: ShockwaveData
fps/server/scripts/part.cs (0): Unable to instantiate non-conobject class ShockwaveData.
i haven't modified the shockwave script at all so i won't post it (or get in trouble =P) but here's the code i use to start it:
Quote:
datablock ExplosionData(HealingSpellExplosion)
{
soundProfile = blasterExpSound;
emitter[0] = BlasterExplosionEmitter;
emitter[1] = BlasterExplosionEmitter2;
};
datablock ShockwaveData(BlasterExplosionEmitter)
that's how i did the datablock but it doesn't seem to work. Now i may be wrong but it doesn't look like shockwaves need emitters... am i doing something wrong?
#2
Though i'd like to see them working...
BTW, are there any screenshots that show shockwaves in T2?
07/30/2002 (4:50 am)
I don't think so.Though i'd like to see them working...
BTW, are there any screenshots that show shockwaves in T2?
#3
I can't find any pictures for you yet.
07/30/2002 (6:31 am)
Here's a little tut on adding shockwaves in T2: t2cc.t2modcentral.com/board/viewtopic.php?topic=2375&forum=5I can't find any pictures for you yet.
#4
There are bits and pieces of them left, enough to allow you to specify a shockwave parameter in the explosion datablocks without giving you errors.
07/30/2002 (7:24 am)
Shockwaves don't work in Torque cause their code was ripped out on the initial Tribes 2 code extraction.There are bits and pieces of them left, enough to allow you to specify a shockwave parameter in the explosion datablocks without giving you errors.
Torque 3D Owner Eric Forhan