Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Giving an extra ammo magazine? any command?
#1
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?


Reply

#2
Open Launcher (modtools) and click on Converter (under Asset Viewer) then try to use the modtools again. Wink
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#3
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.
Reply

#4
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 );
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#5
thanks
Reply

#6
also with all those error's , have you ran the converter yet?
Reply

#7
ya, a few times..
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help auto command Dynasty 6 4,362 08-26-2013, 16:05
Last Post: hillbilly
  [Request] no ammo for infected gamemode ExoGamer* 8 5,552 08-15-2013, 18:59
Last Post: Dr3am95
  M320 and GP25 ammo McKinleySPB 3 3,082 07-06-2013, 12:56
Last Post: archit
Smile [Release] Unlimited ammo v2.3 & @Nukems unlammo hillbilly 40 24,061 06-26-2013, 11:33
Last Post: X-Track
Question can't find it (ammo box) DJSKilly 8 5,272 05-29-2013, 11:27
Last Post: Dr3am95
Wink Help Ammo box Dr3am95 6 4,405 03-31-2013, 15:39
Last Post: NyZzE
  Help Problem unlimited ammo plugin 4nonymous 2 3,113 03-10-2013, 20:14
Last Post: hillbilly
  !come command Dr3am95 12 7,868 02-12-2013, 12:08
Last Post: SgtLegend
  whats the command to get string length pedjas 4 3,099 01-20-2013, 18:30
Last Post: pedjas
Smile Need Someone to Make an Ammo Replenishing Box SkATerJoN 5 3,964 01-18-2013, 17:31
Last Post: tomglazer

Forum Jump:


Users browsing this thread:
6 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.