Raised This Month: $32 Target: $400
 8% 

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 07-20-2012 , 12:11   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #11

Quote:
Originally Posted by Tylerst View Post
If you're worried about lag, I released a plugin to fix that a couple days ago: Ball Projectile Limit

Otherwise, I left the code in for the admin check:
Code:
//Sandman, Wrap Assassin - Admin Check(Old Plugin Behavior)
case 44, 648:
{
    if(!CheckCommandAccess(client, "sm_fia_adminflag", ADMFLAG_SLAY)) return;
    SetAmmo(client, iWeapon);
}
Just remove the cases from the Type2 Weapons area and uncomment this(remove the /* */ )
Ok going to make the edits I did to your code as seen above.... that way only those with SLAY permissions can access unlimited ammo for both sandman and wrap assassin but not someone else I give it to or that can enable it such as thru flag "o" or CUSTOM1 .. correct?
Horsedick is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-20-2012 , 15:17   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #12

Quote:
Originally Posted by Horsedick View Post
Ok going to make the edits I did to your code as seen above.... that way only those with SLAY permissions can access unlimited ammo for both sandman and wrap assassin but not someone else I give it to or that can enable it such as thru flag "o" or CUSTOM1 .. correct?
Specifically, it will first check for an sm_aia_adminflag override, but if you don't have one set, then yes, it will use the slay flag, and only people with the slay flag will have infinite balls.

Last edited by Tylerst; 01-22-2013 at 00:42.
Tylerst is offline
mal415
Member
Join Date: Jan 2012
Old 07-20-2012 , 17:03   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #13

I use this plugin as a donator perk (using a custom admin flag). Can this plugin allow players to toggle it on themselves but not allow them to give it to others?

If you have access to sm_aia you have access to both or is there a way to split them?
mal415 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-20-2012 , 21:05   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #14

Quote:
Originally Posted by mal415 View Post
I use this plugin as a donator perk (using a custom admin flag). Can this plugin allow players to toggle it on themselves but not allow them to give it to others?

If you have access to sm_aia you have access to both or is there a way to split them?
There is now.
Just override sm_aia_targetflag and they will only be able to use sm_aia and sm_aia @me 1/sm_aia @me 0


Update to 1.0.1
-Added sm_aia_targetflag ovverride to control which admins can target others
-Fixed a typo in the self-targetting

Last edited by Tylerst; 01-22-2013 at 00:42.
Tylerst is offline
Diviara27
Senior Member
Join Date: Feb 2010
Old 07-20-2012 , 23:31   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #15

Just a suggestion:

Can you add a infinite rockets loaded in the Beggar's Bazooka?
__________________
Just some random links to random plugins,mods,etc.

Freak Fortress 2

VS Saxton Hale

Adding more soon.

Gentlemen?

Diviara27 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-20-2012 , 23:35   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #16

Quote:
Originally Posted by Diviara27 View Post
Just a suggestion:

Can you add a infinite rockets loaded in the Beggar's Bazooka?
I tried it like that during testing.

With infinite clip, it never stops firing, and you can't change weapons.

I decided to change it to just infinite ammo as a solution, but if you really want to the other way.
Move case 730 from Type 2 weapons to Type 1 weapons and recompile.

Edit: Unless you just mean being able to load more than 3 shots at once, in which case that's not doable with this plugin. TF2Items' config can let you do that though.

Edit 2: As of 1.0.2, the Beggar's Bazooka has a hold right-click(alt-fire) option for infinite rockets.

Last edited by Tylerst; 07-27-2012 at 15:54.
Tylerst is offline
Minoost
SourceMod Donor
Join Date: Aug 2011
Old 07-21-2012 , 08:21   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #17

Nice work!
Minoost is offline
siren
New Member
Join Date: Jul 2012
Old 07-21-2012 , 20:46   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #18

seems to work nice for me but not for anyone else
siren is offline
Diviara27
Senior Member
Join Date: Feb 2010
Old 07-22-2012 , 02:29   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #19

Quote:
Originally Posted by Tylerst View Post
I tried it like that during testing.

With infinite clip, it never stops firing, and you can't change weapons.

I decided to change it to just infinite ammo as a solution, but if you really want to the other way.
Move case 730 from Type 2 weapons to Type 1 weapons and recompile.

Edit: Unless you just mean being able to load more than 3 shots at once, in which case that's not doable with this plugin. TF2Items' config can let you do that though.
What is this plugin's version that uses the infinite clip but never stops firing and change weapons?
__________________
Just some random links to random plugins,mods,etc.

Freak Fortress 2

VS Saxton Hale

Adding more soon.

Gentlemen?

Diviara27 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-22-2012 , 05:10   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #20

Quote:
Originally Posted by Diviara27 View Post
What is this plugin's version that uses the infinite clip but never stops firing and change weapons?
This code would give it infinite clip, just compile and use.

Edit: Removed Code. As of 1.0.2, the Beggar's Bazooka has a hold right-click(alt-fire) option for infinite rockets.

Last edited by Tylerst; 07-27-2012 at 15:53.
Tylerst is offline
Reply


Thread Tools
Display Modes

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 08:11.


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