Dom_152 Posted November 17, 2006 Share Posted November 17, 2006 How do I give a player all the weapons? I know it sounds really simple but I just can't seem to do it. I've tried setting all the weapon flags for the STAT_WEAPON thing. When i go in game all the icons are there but only Saber, Bryar Pistol, Stun Baton and Melee are usable. How on earth do I do it? Link to comment Share on other sites More sharing options...
stubert Posted November 17, 2006 Share Posted November 17, 2006 look in g_respawn() or whatever, you'll see it in there. it's all bit shifting operations Link to comment Share on other sites More sharing options...
ensiform Posted November 17, 2006 Share Posted November 17, 2006 That's not his problem stubert, its the fact that he doesn't have any ammo for the others o.0 Set some ammo for: AMMO_BLASTER AMMO_POWERCELL AMMO_METAL_BOLTS AMMO_ROCKETS AMMO_THERMAL AMMO_TRIPMINE AMMO_DETPACK the other ones are not actually used by the weapons. Link to comment Share on other sites More sharing options...
Dom_152 Posted November 17, 2006 Author Share Posted November 17, 2006 Ahh OK.Thanks. Link to comment Share on other sites More sharing options...
stubert Posted November 18, 2006 Share Posted November 18, 2006 :nervou Link to comment Share on other sites More sharing options...
razorace Posted November 19, 2006 Share Posted November 19, 2006 It might be smart if you check out the "give" command code. That should give you an idea of how to do it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.