Game Development Community

Tanks/vehicles

by Mattinn · in Torque Game Engine · 07/27/2005 (11:56 am) · 5 replies

Well, im making a rts game and i already posted this in rts starter kit forums but got no anwsers. I've been wondering about tanks, is it possible to make armour that is different on each side of the tank, for example " 60mm armour on the front, 30mm on the sides and 10mm on the back" and is it posible to do this just with scripts if this is really possible?

About the author

Recent Threads

  • Teams
  • Vehicles/ tanks
  • Morale

  • #1
    07/27/2005 (12:38 pm)
    Probably not without modifying the source, but in a word - yes.
    #2
    07/28/2005 (8:17 am)
    Thanks for the reply.This looks guite solid, But wouldnt this produce a little bit to heavy loads for a Rts game ?
    #3
    07/28/2005 (10:54 am)
    Should definitely be possible to do in an RTS without problems.
    #4
    07/28/2005 (4:37 pm)
    Mattinn,

    I don't have the RTS pack, but in the FPS demo there is a command, getDamageLocation() in the player object that shows how to "cut up" the bounding box into hit areas. I've managed to get 16 different hit areas without having to go to the hitbox resource (which I couldn't get working). In my last round of development, I moved the whole hit location processing to script in the
    function Player::damage(%this, %player, %sourceObject, %position, %damage, %damageType)
    using the %position and calibrating it to the players current location and rotation.

    HIH.
    #5
    07/29/2005 (10:46 am)
    Well ill take a look at that, thanks for all the anwsers and ideas.

    -mattinn