Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » unlimited ammo
unlimited ammo [message #464696] Tue, 20 March 2012 05:40
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
why can i change the bag amount to infinite but not the clip amount

WeaponDefinitionClass *Def = (WeaponDefinitionClass*)DefinitionMgrClass::Find_Named_Definition(Get_Powerup_Weapon("POW_Ammo_Regeneration"),true);

Def->ClipSize = 12; //doesnt work
Def->MaxInventoryRounds = -1; //does work


and are these changes for 1 map or for all coming maps?

final goal :

editing the AI vehicle weapon definitions to be more like the player vehicle weapon definitions
same for ammo definitions


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Tue, 20 March 2012 05:43]

Report message to a moderator

Previous Topic: Attaching an object to a beacon
Next Topic: C&C_Tropical *wip*
Goto Forum:
  


Current Time: Fri Apr 26 16:34:13 MST 2024

Total time taken to generate the page: 0.00532 seconds