Game Development Community

Projectile Weapon working?

by Mark Smithh · in Torque Game Engine · 10/15/2001 (7:03 pm) · 9 replies

Anyone have one of these working yet? I am looking for an example, if anyone has one. Thanks

#1
10/15/2001 (8:49 pm)
The latest demo in Torque has projectiles in it.
#2
10/15/2001 (10:42 pm)
I downloaded the latest CVS code, and I can't seem to get the projectiles to work. Do you have to do something to get them to work? The weapon doesn't even show up.
#3
10/15/2001 (11:00 pm)
In the water world, there is a rifle and ammo to pick up. It works fine for me at least.
#4
10/15/2001 (11:59 pm)
well, i pick up the rifle, press fire and nothing seems to happen?
#5
10/16/2001 (12:09 am)
Dont freget to pickup ammo also . :) little square boxs.
#6
10/16/2001 (12:49 am)
And check the options menu under Controls and make sure you have a key assigned to the "Fire Weapon".

// Clocks out.
#7
10/16/2001 (7:59 am)
G'day,
I'm downloading the new torque version now, As well as the super chunky VC++ SP5.

dont mean to be picky, but does this projectile weapon actually use a projectile?
What I mean is, does the weapon fire a visible object that moves to the target, or is it just a traceline that detects a collision? I will be using the traceline/collision as my game will only need 2 types of visible projectiles, tracers, and grenades.
Has anyone added a gravity effect to the projectile, I'm interested to know how I program a high velocity grenade launcher.

"Save me Jebus!"
#8
10/16/2001 (8:46 am)
It uses a real object for a projectile, althoung i dont think it have to.
And yes the projectile can (and already is) be affected by gravity.
I would think that you could let it be affected by wind as well.

// Clocks out.
#9
10/16/2001 (8:47 am)
All that has allready been added in. Gravity effects the projectile. And the Projectile is an actual 3D object that you can change by replaceing its .dts file. :)