Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] InfiniteAmmo
[SSGM 4.0 Plugin] InfiniteAmmo [message #463869] Wed, 07 March 2012 13:52 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
This plugin enables infinite ammo the same the option for SSGM 2.0.2 does.

To install, place 'InfiniteAmmo.dll' in the root FDS folder and add an entry under [Plugins] in SSGM.ini.

Contact me on renegadeforums.com under the nick iRANian.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 17 July 2012 00:51]

Report message to a moderator

Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #465930 is a reply to message #463869] Wed, 11 April 2012 08:04 Go to previous messageGo to next message
T0RN is currently offline  T0RN
Messages: 293
Registered: January 2006
Location: Lunatic HQ
Karma: 0
Recruit
I've been using this plugin, it's great.
But is there a way to make spawn, drop, and character and weapon crates to have infinite ammo too?

Edit: Does this plugin only work with 4.0?

[Updated on: Wed, 11 April 2012 08:05]

Report message to a moderator

Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #465933 is a reply to message #463869] Wed, 11 April 2012 09:38 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Not sure, and yeah this only works with 4.0, ssgm 2.0.2 has it built-in as an option in ssgm.ini

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #465934 is a reply to message #463869] Wed, 11 April 2012 09:50 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
if i have some time ill try to look into it i think i now why it doesnt work if i post an update when ive tried it

here is my solution its just simple but does the job:


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Wed, 11 April 2012 14:19]

Report message to a moderator

Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469288 is a reply to message #465934] Thu, 14 June 2012 14:21 Go to previous messageGo to next message
eatcow0 is currently offline  eatcow0
Messages: 30
Registered: September 2008
Location: Oregon USA
Karma: 0
Recruit
Could someone update this to beta 5 please???
Thank you!
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469298 is a reply to message #463869] Thu, 14 June 2012 17:32 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
It works with beta 5.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469302 is a reply to message #469298] Thu, 14 June 2012 21:23 Go to previous messageGo to next message
eatcow0 is currently offline  eatcow0
Messages: 30
Registered: September 2008
Location: Oregon USA
Karma: 0
Recruit
Oh! The 1.1 version doesn't lol!!! Razz
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469305 is a reply to message #463869] Thu, 14 June 2012 22:06 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

Kinda figured you wanted the 1.1.

Try this out if it fails let me know and I will fix it.

Note: I'm a n00b at C++ so THAT MEANS I'm learning it still, If it fails I will try to fix it.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469306 is a reply to message #463869] Thu, 14 June 2012 22:06 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Iran's original build does. I currently use it.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469308 is a reply to message #469306] Thu, 14 June 2012 22:10 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

Xpert wrote on Fri, 15 June 2012 00:06

Iran's original build does. I currently use it.

Yes but he wanted robs version of it because it works with the crates...

So I just went in and fixed it to work with beta 5.

Also Thanks zunnie for helping me out again.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469351 is a reply to message #463869] Fri, 15 June 2012 13:34 Go to previous messageGo to next message
eatcow0 is currently offline  eatcow0
Messages: 30
Registered: September 2008
Location: Oregon USA
Karma: 0
Recruit
thank you all!!!
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #469395 is a reply to message #469308] Sun, 17 June 2012 03:06 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
DistrbdSt0rm21 wrote on Fri, 15 June 2012 07:10

Xpert wrote on Fri, 15 June 2012 00:06

Iran's original build does. I currently use it.

Yes but he wanted robs version of it because it works with the crates...

So I just went in and fixed it to work with beta 5.

Also Thanks zunnie for helping me out again.




you might be better of copying the code Smile


or by sending a custom to each player as the code has been implemented for ammoregen

thats better than running multiple plugins


Owner of kambot TT server

kambot.freeforums.org
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #470150 is a reply to message #463869] Thu, 28 June 2012 09:05 Go to previous messageGo to next message
Lazy5686 is currently offline  Lazy5686
Messages: 254
Registered: November 2007
Karma: 0
Recruit
I'm running iRan's...
To get infinite ammo from crates/drops/pickups just refill.


The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
http://i.imgur.com/7RiVG.jpg
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #470494 is a reply to message #463869] Mon, 02 July 2012 03:00 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I've uploaded v2, the plugin will now every second set the clip bullet count of the weapon being held by every player to infinite. This should fix all the issues hopefully. As a result it might take up to a second for the clip bullet count to turn infinite.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #470939 is a reply to message #463869] Sun, 08 July 2012 03:35 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Xpert reported an annoying issue with one shot weapons so I redid the method I'm using, I'm now using the old SSGM 2.0.2 method with Whitedragon's help combined with some hacks.

Thanks to Xpert for helping me test and suggesting a solution for something important that was needed.

With this new version players not running Scripts 4.0 need to RELOAD (not refill) weapons picked up from weapon drop/weapon spawn. For them it'll also show 4.0 players as reloading when they're actually not, that's because the code is done client-side so I can't fix it.

I've attached version 3 to the first post in this topic.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #470940 is a reply to message #463869] Sun, 08 July 2012 03:46 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Works good Big Ups

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [SSGM 4.0 Plugin] InfiniteAmmo [message #471783 is a reply to message #463869] Tue, 17 July 2012 00:51 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Uploaded v4, there's a small optimization and C4 no longer gets refilled when picking up a powerup.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Previous Topic: [SSGM 4.0 Plugin] Remove Weaker Double Gun
Next Topic: [SSGM 4.0 Plugin] Protect Console Command
Goto Forum:
  


Current Time: Sun Dec 01 05:11:55 MST 2024

Total time taken to generate the page: 0.01148 seconds