Game Development Community

beams don't work

by Matthew Shapiro · in Torque Game Engine · 10/25/2001 (6:23 pm) · 16 replies

i tried taking the datablock for the repair beam (from repair pack in t2) and even after i changed the datablock to projectiledata instead of repairprojectiledata it didn't work? any reason why?

#1
10/26/2001 (5:41 am)
The Projectile class in the Torque example does not contain all of the specific functionality of all the projectiles in T2. Right now, the only projectile supported is a shape with a particle trail. The T2 beam projectile was part of the Tribes-specific IP that we had to remove to release the engine.
#2
10/26/2001 (9:58 am)
crap does this go the smae for shockwaves?
#3
10/26/2001 (11:43 am)
Was there a special shockwave object and datablock? I don't remember removing that, but I don't see it in the code base either. Haven't search very heard though, could be in there somewhere :)
#4
10/26/2001 (12:10 pm)
it's declared as
datablock Shockwavedata(blah)
{
but tha'ts the line the syntax error is on

at least in T2
#5
10/26/2001 (12:12 pm)
I saw shockwave things in explosion.cc, however the code wasn't complete, so it wouldn't work.
#6
10/26/2001 (6:21 pm)
You're right, I just searched for it and found only a few forward references, look like the code was removed :(
#7
04/03/2002 (7:08 am)
Anyone start looking into re-adding the Shockwave and/or Beam code back into the TGE? Both of these things might be useful for doing spells, as well as many other effects. The Elf character might want to take advatage of beams.
#8
05/20/2002 (10:36 am)
Yeah, its underway. Beams are kind of in.. Frank's going to do some changes. I still need to do the shockwaves.. but rest assured, we'll have plenty of "special effects" things working fairly soon.

Phil.
#9
05/20/2002 (10:38 am)
Very cool!
Thanks for the update :)
#10
01/10/2003 (5:15 am)
Any word on beams or shockwaves? I noticed there is some beam code in Realm Wars.
#11
01/10/2003 (7:13 am)
I'm coding some beams at the moment. It's basically a class derived from Projectile which renders a textured quad. Still need to add some config parameters and collision.
#12
01/10/2003 (7:25 am)
cool, you gonna add it as a resource? I think I could probably use beams in Isotope X
#13
01/10/2003 (7:25 am)
Very cool. For some reason it just seems like beams really need to be in there. Besides just weapons they have a lot of other uses. Of course, weapons are key :)
#14
01/10/2003 (7:35 am)
I'm not sure if I'll finish them, because I'm doubting if I really want them in my game now :)
But in case i slack you should try doing it... it's not hard.
#15
01/10/2003 (8:05 am)
It would be a good thing to learn how to do. I think once I get the engine and script I'm currently using working more smoothly, I'll have to look into it.
#16
01/10/2003 (9:06 am)
On 3d game studios site they list the torque engine as having a beam generator. I have wondered from time to time why i hadnt seen anything as of yet.