Game Development Community

Selecting Weapon projectile

by Kimberly Unger · in Torque Game Engine · 03/16/2004 (2:12 pm) · 3 replies

We have a weapon that we want to beable to select the type of projectile is being fired. I've look throught the Reasource and Forums and can't seem to find wany way to do this. I understand that datablocks need to be used to do this and I've created two projectile datablocks for my projectiles. Where I'm hitting the wall is getting the onFire to select which of the projectile datablocks to use.

Beau
Kim's programmer

#1
03/16/2004 (3:05 pm)
So you want weapon modes? I have a very good dynamic weapon modes tutorial that I posted on a T2 mod forum. I could find and post the link, it should be easy to get working with Torque.

Edit: Here it is: www.advancedmod.com/forums/viewtopic.php?t=590
#2
03/16/2004 (3:30 pm)
www.garagegames.com/mg/forums/result.thread.php?qt=4387

This is something I wrote a couple years ago using Realmwars as the basis
#3
03/16/2004 (5:19 pm)
Thanks LabRat;

That is what I was looking for. Also I now know whay I couldn't find it, it was ammo, not projectile.

And Thanks to 'The_Force' Your mod looks like it would work too. Between the two I should beable to get my code working.

Beau
Kim's Programmer