ItsMods

Full Version: Giving an extra ammo magazine? any command?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
dont want to use mod tools to change stats as it brings up missing assets


uh, is there a way to either set max amount of clips/magazines a user carries with a command, or just a way to give a user 1 extra clip?


Open Launcher (modtools) and click on Converter (under Asset Viewer) then try to use the modtools again. Wink
I have changed plenty of weapons modified in mod tools, though, when i get to around 8-10 modified weapons it starts crashing on bigger maps because of missing assets produced in game.. the server crashes with an error something like "to many image assets: 5466" or something...


When i run in developer mode and get the missing assets file, i can get some to load but still have crashes.. any idea why?



Surely there is a command to give an extra magazine or something.. i tried the extra ammo perk but it does nothing.
Yeah you can use

Code:
self giveMaxAmmo( "weapon" );

or
Code:
self setWeaponAmmoStock( "weapon", weaponClipSize( "weapon" ) * NUMBER OF EXTRA MAGAZINES );

so it should be this for 3 extra magazines
Code:
self setWeaponAmmoStock( "ak47_mp", WeaponClipSize( "ak47_mp" ) * 3 );
thanks
also with all those error's , have you ran the converter yet?
ya, a few times..