Why can't I damage my vehicles? :)
by Lee Latham · in Torque Game Engine · 01/29/2007 (11:17 pm) · 2 replies
I've looked around for a FAQ or tutorial, but to my surprise haven't found one (or any relevant posts on basic damage). I'm using the Bravetree car as a template. When I shoot at it with either the Official Soldier Pack m16 or the Bravetree FlyingVehicleWeapon, nothing happens. The smoke emitters never start smoking, and it sure never blows up or "dies" or anything. I did notice that there is no destroyedLevel in the datablock? The maxDamage is set to 1.0. So...is that high or low? I'm having trouble getting my head around what the numbers mean.
I'm confused as to where to start to look to get damage working...any help would be appreciated!
Lee
I'm confused as to where to start to look to get damage working...any help would be appreciated!
Lee
#2
I have a devil of a time finding things in TDN sometimes...often when I'm _know_ I've seen them before, to boot.
But yeah, that'd be great if you could send me your script. I'm a novice scripter and the more stuff to look at the better!
I'll stick the link back up here in case someone else is searching for it:
tdn.garagegames.com/wiki/DTS/Scripting/Vehicles/Guide#Damage_Functions
01/30/2007 (11:27 am)
Thanks mb, I'd appreciate that! I somehow got the URL to the TDN article in the email notice of your post, too...that gets me going in the right direction, too.I have a devil of a time finding things in TDN sometimes...often when I'm _know_ I've seen them before, to boot.
But yeah, that'd be great if you could send me your script. I'm a novice scripter and the more stuff to look at the better!
I'll stick the link back up here in case someone else is searching for it:
tdn.garagegames.com/wiki/DTS/Scripting/Vehicles/Guide#Damage_Functions
Torque 3D Owner mb