PDA

View Full Version : How do I add tank or turret to A dm lvl



legacy-tarrryan
09-27-2004, 03:22 PM
if this is possible would you kind people help me by telling me how to do this:) :)

legacy-Scot_G
09-27-2004, 03:46 PM
do you want the tank, too? just the turret?

If you want the tank, then that's simple. You just put a tank factory in your level. I've never tried it in DM, but it *might* work.

Now if you want just the turret, then you'll need to make a base structure that doesn't move. It can be an invisible cube or elaborately designed turret base, but it may need to have a seperate object for attachment (ie, a dummy cube) at the center of where you want it to turn. Make sure you name the root object and the dummy object seperately. Now go open the tank code and see how they attach the cannon under driverWeapon. You'll need this piece of code and anything that seems relavent to it. Attachment object should be that dummy object.

See ONSmanualGun (I think) for more answers on classing and set up and such.

legacy-tarrryan
09-28-2004, 10:05 AM
now say that with big writeing and pictures