Raised This Month: $51 Target: $400
 12% 

[L4D2] Varying Ammunition Reserves (1.5.3)


Post New Thread Reply   
 
Thread Tools Display Modes
quang20082008
Member
Join Date: Mar 2010
Old 04-30-2010 , 13:30   Re: [L4D2] Varying Ammunition Reserves (1.1)
Reply With Quote #11

Support Rifle M60 :@):@)!!!!
quang20082008 is offline
birno
Senior Member
Join Date: Mar 2010
Old 04-30-2010 , 13:42   Re: [L4D2] Varying Ammunition Reserves (1.1)
Reply With Quote #12

The new version was working in the first test, thanks!
birno is offline
TimeShift
Member
Join Date: Aug 2009
Old 04-30-2010 , 13:57   Re: [L4D2] Varying Ammunition Reserves (1.1)
Reply With Quote #13

Quote:
Originally Posted by quang20082008 View Post
Support Rifle M60 :@):@)!!!!
Making support right now.

EDIT: Done! 1.3 comes with M60 support!
Quote:
Originally Posted by birno View Post
The new version was working in the first test, thanks!
You're welcome!

Last edited by TimeShift; 04-30-2010 at 14:32.
TimeShift is offline
birno
Senior Member
Join Date: Mar 2010
Old 04-30-2010 , 15:53   Re: [L4D2] Varying Ammunition Reserves (1.4)
Reply With Quote #14

If am I rigth, it's only randomize the M60 ammo when pick up the weapon, but what about if I use the Gun Control plugin and I refill the gun in one of the ammo stores?
I think it will be the default or whatever I set in the Gun Control configuration.

Maybe you can add a condition, if the "l4d2_guncontrol_m60ammo" exists/this cvar use the Gun Control plugin/ change that too.
birno is offline
TimeShift
Member
Join Date: Aug 2009
Old 04-30-2010 , 15:58   Re: [L4D2] Varying Ammunition Reserves (1.4)
Reply With Quote #15

Quote:
Originally Posted by birno View Post
If am I rigth, it's only randomize the M60 ammo when pick up the weapon, but what about if I use the Gun Control plugin and I refill the gun in one of the ammo stores?
I think it will be the default or whatever I set in the Gun Control configuration.

Maybe you can add a condition, if the "l4d2_guncontrol_m60ammo" exists/this cvar use the Gun Control plugin/ change that too.
Nice idea! I haven't thought about it. Going to do.

EDIT:

Done!

Last edited by TimeShift; 04-30-2010 at 16:08.
TimeShift is offline
birno
Senior Member
Join Date: Mar 2010
Old 04-30-2010 , 17:58   Re: [L4D2] Varying Ammunition Reserves (1.5.1)
Reply With Quote #16

Nice, thx!
birno is offline
chris1701
Senior Member
Join Date: Nov 2009
Old 04-30-2010 , 22:02   Re: [L4D2] Varying Ammunition Reserves (1.5.1)
Reply With Quote #17

However, m60 has a issue by dropping in the floor after shooting 150 rounds and it cannot reload.

how do I randomize magnum ammo if I want to modify it as a primary weapon?

Last edited by chris1701; 04-30-2010 at 22:24.
chris1701 is offline
TimeShift
Member
Join Date: Aug 2009
Old 04-30-2010 , 22:50   Re: [L4D2] Varying Ammunition Reserves (1.5.1)
Reply With Quote #18

Quote:
Originally Posted by chris1701 View Post
However, m60 has a issue by dropping in the floor after shooting 150 rounds and it cannot reload.

how do I randomize magnum ammo if I want to modify it as a primary weapon?
I'm going to add this. I think it'll continue to be in the pistols group, even being a primary weapon.

EDIT:

Unfortunately Magnum is like M60, it has a different way to change the ammo capacity. Going to search how to, but for now I added support for pistols.

Last edited by TimeShift; 04-30-2010 at 23:14.
TimeShift is offline
chris1701
Senior Member
Join Date: Nov 2009
Old 05-01-2010 , 00:18   Re: [L4D2] Varying Ammunition Reserves (1.5.1)
Reply With Quote #19

Quote:
Originally Posted by TimeShift View Post
I'm going to add this. I think it'll continue to be in the pistols group, even being a primary weapon.

EDIT:

Unfortunately Magnum is like M60, it has a different way to change the ammo capacity. Going to search how to, but for now I added support for pistols.

I assume magnum is just like pistol by changing ammo_pistol_max. I think Ammo_pistol_max changes both magnum and pistol. Maybe?

I tried compile it with my modified version. maybe you can look into it and see if there is any error.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_guncontrol.sp - 451 views - 23.8 KB)
File Type: sp Get Plugin or Get Source (L4D2VaryingAmmo.sp - 388 views - 8.4 KB)

Last edited by chris1701; 05-01-2010 at 00:37.
chris1701 is offline
TimeShift
Member
Join Date: Aug 2009
Old 05-01-2010 , 00:36   Re: [L4D2] Varying Ammunition Reserves (1.5.1)
Reply With Quote #20

Quote:
Originally Posted by chris1701 View Post
I assume magnum is just like pistol by changing ammo_pistol_max. I think Ammo_pistol_max changes both magnum and pistol. Maybe?
No because Magnum have the default limit of 8 ammo and the P220 have 15.
TimeShift is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode