Game Development Community

How to get rid of crossbow

by Craig Gray · in Torque Game Engine · 12/17/2003 (2:22 pm) · 2 replies

Can anyone tell me how to get rid of the crossbow, or hide it? Is it tied to the player character? Hopefully I don't have to use 3DMax because it's too expensive for me. I've located the graphic files that are used to skin it, but I can't find where to remove or hide it. Can I just change the camera position a little to hide it? If so, where do I change that? Or does anyone have a resource for a plain clothed player charater with no weapon?

Thanks,

Craig

#1
12/17/2003 (2:40 pm)
Craig,

in starter.fps/server/scripts/game.cs :

function GameConnection::createPlayer(%this, %spawnPoint)
...

// Starting equipment
   %player.setInventory(Crossbow,1);
   %player.setInventory(CrossbowAmmo,10);
   %player.mountImage(CrossbowImage,0);


Change this code as required.
#2
12/17/2003 (2:48 pm)
James,

Thanks for the quick reply...your awsome.

Craig