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

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-07-2012 , 18:12   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #731

To anyone who cares, this plugin will soon integrate TF2 Item Info (https://forums.alliedmods.net/showthread.php?t=182918), so you don't have to update the plugin each time new weapons are added. It will remain optional.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-07-2012 at 18:12.
FlaminSarge is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-08-2012 , 21:26   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #732

What a shame how others can't see your weapon. Damn you Valve!
Mr. Man is offline
Unreal1
AlliedModders Donor
Join Date: Dec 2010
Old 05-14-2012 , 06:45   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #733

Is it possible to make it so that the weapons given out are only for the current class of the player?
Unreal1 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-16-2012 , 21:26   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #734

Maybe, though then there'd be another layer of complexity to how sm_givew_ex works.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-17-2012 , 11:32   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #735

Quote:
Originally Posted by FlaminSarge View Post
Maybe, though then there'd be another layer of complexity to how sm_givew_ex works.
Another question: is there a cvar to enable/disable Valve weapons? I am about to give everyone the ability to spawn themselves weapons on my own server and would rather not have them go crazy with the valve guns.
Mr. Man is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-17-2012 , 11:34   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #736

Quote:
Originally Posted by Mr. Man View Post
Another question: is there a cvar to enable/disable Valve weapons? I am about to give everyone the ability to spawn themselves weapons on my own server and would rather not have them go crazy with the valve guns.
Quote:
Originally Posted by FlaminSarge View Post
  • tf2items_valveweapons (don't set in any config if you want valve weapons on. The default value is what allows them): If non-default, if anybody tries to give any weapon index whose absolute value is 7018 or between 8000 and 9999, it will not let them. Beware, this also means w/ custom weapons in the config.
__________________
asherkin is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-17-2012 , 11:53   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #737

I wanted to erase what I had written but you beat me to it. Cheers!
Mr. Man is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-17-2012 , 11:59   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #738

Quote:
Originally Posted by Mr. Man View Post
I wanted to erase what I had written but you beat me to it. Cheers!
Lastly, I set an override for regular users as shown here:

Code:
Groups
{
	"Default"
	{
		 Overrides
		 {
               "sm_togglehoming"   "allow"
               "sm_gimme"          "allow"
		 }
		 "immunity"		"10"
	}
	
	"Donor"
	{
		 Overrides
		 {
               "sm_fia"            "allow"
               "sm_behhh"          "allow"
               "sm_rainbowize"     "allow"
		 }

		"flags"			"a"

		"immunity"		"90"
	}

	"Admin"
	{
		 Overrides
		 {
		 }

		"flags"			"abcdefghijklmnz"

		"immunity"		"100"
	}
}
Yet they are still unable to use the !gimme command. What could be the issue here?
Mr. Man is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-17-2012 , 12:45   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #739

Quote:
Originally Posted by Mr. Man View Post
Lastly, I set an override for regular users as shown here:

Code:
Groups
{
    "Default"
    {
         Overrides
         {
               "sm_togglehoming"   "allow"
               "sm_gimme"          "allow"
         }
         "immunity"        "10"
    }
    
    "Donor"
    {
         Overrides
         {
               "sm_fia"            "allow"
               "sm_behhh"          "allow"
               "sm_rainbowize"     "allow"
         }

        "flags"            "a"

        "immunity"        "90"
    }

    "Admin"
    {
         Overrides
         {
         }

        "flags"            "abcdefghijklmnz"

        "immunity"        "100"
    }
}
Yet they are still unable to use the !gimme command. What could be the issue here?
Is it registered as sm_gimme? Either sm_gimme or gimme will register !gimme and /gimme chat hooks.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-17-2012 at 12:45.
Powerlord is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-17-2012 , 15:19   Re: [TF2Items] Give Weapon (v3.10, 3/2/2012)
Reply With Quote #740

Quote:
Originally Posted by Powerlord View Post
Is it registered as sm_gimme? Either sm_gimme or gimme will register !gimme and /gimme chat hooks.
Apparently so. I gave the exact override to donors and they were able to use it, but when I moved that node down to the default group, the chat displays insufficient permission when they try to execute !gimme or /gimme.
Mr. Man 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 11:23.


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