Raised This Month: $ Target: $400
 0% 

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Plugin ID:
3105
Plugin Version:
1.5.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    62 
    Plugin Description:
    Infinite usage for just about everything
    Old 08-31-2012 , 06:07   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #1

    Tyler, does this support bot weapons yet?
    Mr. Man is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 08-31-2012 , 09:25   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #2

    Quote:
    Originally Posted by Mr. Man View Post
    Tyler, does this support bot weapons yet?
    that would be no - if you look at the source and weapon index you would see the numbers have not been added.

    You can add them yourself if you want:
    http://wiki.alliedmods.net/Team_Fort...nition_Indexes
    Horsedick is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 09-07-2012 , 12:46   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #3

    Quote:
    Originally Posted by Horsedick View Post
    that would be no - if you look at the source and weapon index you would see the numbers have not been added.

    You can add them yourself if you want:
    http://wiki.alliedmods.net/Team_Fort...nition_Indexes
    And where would I do that?
    Mr. Man is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-07-2012 , 15:48   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #4

    Quote:
    Originally Posted by Mr. Man View Post
    And where would I do that?

    Code:
    GiveInfiniteAmmo(client, iWeapon)
    {
        switch(GetEntProp(iWeapon, Prop_Send, "m_iItemDefinitionIndex"))
        {
            //Melee Weapons or exceptions - Do nothing
            case 0,1,2,3,4,5,6,7,8,25,26,27,28,30,37,38,43,59,60,128,131,133,140,
                142,153,154,155.169,171,172,173,190,191,192,193,194,195,196,
                197,198,212,214,221,225,232,239,264,297,304,310,317,325,326,
                327,329,331,348,349,355,356,357,401,404,413,416,423,426,447,
                450,452,457,461,466,474,527,528,572,574,587,589,593,609,638,
                656,660,662,665,727,735,736,737,739,775,810,813,831,834: {}
    
            //Type 1 Weapons - Only Clip
            case 9,10,11,12,13,16,17,18,19,20,22,23,24,36,45,61,127,130,160,161,
                199,200,203,204,205,206,207,209,210,220,222,224,228,237,265,
                294,305,308,412,414,415,425,449,460,513,658,661,669,773:
    as you can see this is what you are looking for - some where around line 372
    Horsedick is offline
    BloodyNightmare
    Member
    Join Date: Aug 2012
    Location: Ontario, Canada
    Old 09-06-2012 , 16:50   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #5

    None of the in game commands work, I cannot give or remove infinite ammo from anybody, it's just there
    BloodyNightmare is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 09-07-2012 , 02:24   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #6

    I'm having the same issue as the person above. It just replies with unknown command.
    Sreaper is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-07-2012 , 09:56   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #7

    Tested on my servers and works fine - did yall check to see if it was loading?
    Horsedick is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 09-07-2012 , 11:14   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #8

    Quote:
    Originally Posted by Horsedick View Post
    Tested on my servers and works fine - did yall check to see if it was loading?
    I was apparently trying to use sm_afia which is why it wasn't working for me. Problem resolved thanks though.
    Sreaper is offline
    Nekimoto
    Junior Member
    Join Date: May 2012
    Old 09-15-2012 , 13:08   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #9

    you need a cvar to remove the sandman and wrap assassin balls.
    Nekimoto is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-15-2012 , 14:43   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #10

    Quote:
    Originally Posted by Nekimoto View Post
    you need a cvar to remove the sandman and wrap assassin balls.
    no ...there is already an option there

    I believe line 417 just adjust that by removing the // in front of if(!ChechCommandAccess etc etc

    Last edited by Horsedick; 09-15-2012 at 14:44.
    Horsedick 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 03:31.


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