[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Help needed in coding a stat for increasing BW Weapons Magazine Ammo for Ballistic Weapons  XML
Forum Index -> UnrealScript, Coding, Mapping, and 3rd party Mods
Author Message
Nighthawk2088


[Avatar]

Joined: 11/01/2007 09:03:32
Messages: 4
Offline

If anyone is familiar with Ballistic Weapons, UT2004RPG and DruidsRPG code could help me out with this custom stat I'd appreciate it greatly.

My problem:

I want to make a stat that would increase the Magazine of the Ballistic Weapons that players use. The Max Ammo Stat only increases either the Ammo reserve (the extra ammo in stock one can use to reload) if Reloading is enabled or the Ammo amount if Reloading is disabled for BW. I've modified a bit of code that will successfully change the magazine's size upon picking up ammo for the weapon but (this may or may not be more relevant to the BW mod than the RPG mods) I would like to change it so that when I start the match & reload the weapon it uses the value of the MagAmmo stat.

Extra Note: I can't seem to find the place in the source code for UT2004RPG where the values for the stats are handled. My MagAmmo stat remains blank in the GUI and either I've missed where to put something in or I don't know what to code so it shows a 0 initially like the rest of the stats.
 
Forum Index -> UnrealScript, Coding, Mapping, and 3rd party Mods
Go to: