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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 06-15-2014 , 16:52   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1221

Is there a way to change only the skin for a weapon. Of course only for certain players?


GiveWeapon does the job, but there my custom BlackBox doesn't work ._.


EDIT: Model seems to be working but not the texture ._.
Dragonisser is offline
EverCandy
Junior Member
Join Date: Feb 2014
Old 06-15-2014 , 23:04   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1222

So I had this problem for a while and the thing is that whenever I add attributes like faster reload speed (261), the weapon reloads super fast. I have tried changing the values around and all but it doesn't seem to help. Here's the tf2items.givecustom.txt:

Code:
     "custom_give_weapons_vlolz"   //leave this alone
{
    "9999"   //index you want the weapon set as (/givew @me thisnumber)
    {
        "classname"        "tf_weapon_rocketlauncher" // weapon classname
        "index"        "228"   //actual weapon index
        "slot"        "0"   //slot 0 - 5 for primary to whatever the last slot is (build box?)
        "quality"        "6" //item quality, as in strange, vintage, unique, etc.
        "level"        "29" //level, simple.
        "attribs"        "134 ; 19" //attributes.
        "ammo"        "20" //initial ammo to set for that weapon when it's given
        "model"       "models/player/heavy.mdl"  //change the worldmodel of the weapon. if it's a custom model, read the stuff below
        "viewmodel"        "models/weapons/c_models/c_bigaxe/c_bigaxe.mdl" //used to attach a model to the viewmodel of the weapon. Try not to use a model that already has hands on it (so use the w_model/c_model if you can).
    }
	"1000"
	{
	    "classname"        "tf_weapon_flaregun" 
		"index"        "740" 
		"slot"        "1" 
		"quality"        "6" 
		"level"        "100" 
		"attribs"        "1 ; -1 ; 6 ; -1 ; 15 ; 0 ; 20 ; -1" 
		"ammo"        "10000" 
	}
	"2000"
	{
	    "classname"        "tf_weapon_wrench"
		"index"        "7"
		"slot"        "2"
		"quality"        "6"
		"level"        "100"
		"attribs"         "2 ; 1 ; 32 ; 25 ; 57 ; 2 ; 92 ; 1 ; 94 ; 1 ; 113 ; 2"
		"ammo"        "-1"
	}
	"3000"
	{
	    "classname"        "tf_weapon_rocketlauncher"
		"index"        "18"
		"slot"        "0"
		"quality"        "6"
		"level"        "100"
		"attribs"        "97 ; -5 ; 108 ; 1 ; 112 ; -1 ; 135 ; 0"
		"ammo"        "1000"
	}
	"4000"
	{
	    "classname"        "tf_weapon_bat"
		"index"        "1071"
		"slot"        "2"
		"quality"        "6"
		"level"        "100"
		"attribs"        ""
		"ammo"        ""
	}
	"5000"
	{
	    "classname"        "tf_weapon_rocketlauncher"
		"index"        "730"
		"slot"        "0"
		"quality"        "0"
		"level"        "100"
		"attribs"        "4 ; 20 ; 97 ; 0 ; 6 ; -1 ; 96 ; 1 ; 96 ; 1; 241 ; -100"
		"ammo"        "9999"
	}
	"6000"
	{
	    "classname"        "tf_weapon_scattergun"
		"index"        "45"
		"slot"        "0"
		"quality"        "6"
		"level"        "29"
		"attribs"        "4 ; 20 ; 5 ; -1 ; 6 ; 1"
		"ammo"        "9999"
	}
	"7000"
	{
	    "classname"        "tf_weapon_crossbow"
		"index"        "305"
		"slot"        "0"
		"quality"        "6"
		"level"        "100"
		"attribs"        "4 ; 20 ; 6 ; 1 ; 241 ; -1 ; 150 ; 1"
		"ammo"        "9999"
	}
}
May I know how to make the reload speed like the weapon id "8018"? Thanks in advance~

Last edited by EverCandy; 06-15-2014 at 23:09.
EverCandy is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 06-16-2014 , 04:57   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1223

Quote:
Originally Posted by EverCandy View Post
So I had this problem for a while and the thing is that whenever I add attributes like faster reload speed (261), the weapon reloads super fast. I have tried changing the values around and all but it doesn't seem to help. Here's the tf2items.givecustom.txt:

Code:
     "custom_give_weapons_vlolz"   //leave this alone
{
    "9999"   //index you want the weapon set as (/givew @me thisnumber)
    {
        "classname"        "tf_weapon_rocketlauncher" // weapon classname
        "index"        "228"   //actual weapon index
        "slot"        "0"   //slot 0 - 5 for primary to whatever the last slot is (build box?)
        "quality"        "6" //item quality, as in strange, vintage, unique, etc.
        "level"        "29" //level, simple.
        "attribs"        "134 ; 19" //attributes.
        "ammo"        "20" //initial ammo to set for that weapon when it's given
        "model"       "models/player/heavy.mdl"  //change the worldmodel of the weapon. if it's a custom model, read the stuff below
        "viewmodel"        "models/weapons/c_models/c_bigaxe/c_bigaxe.mdl" //used to attach a model to the viewmodel of the weapon. Try not to use a model that already has hands on it (so use the w_model/c_model if you can).
    }
	"1000"
	{
	    "classname"        "tf_weapon_flaregun" 
		"index"        "740" 
		"slot"        "1" 
		"quality"        "6" 
		"level"        "100" 
		"attribs"        "1 ; -1 ; 6 ; -1 ; 15 ; 0 ; 20 ; -1" 
		"ammo"        "10000" 
	}
	"2000"
	{
	    "classname"        "tf_weapon_wrench"
		"index"        "7"
		"slot"        "2"
		"quality"        "6"
		"level"        "100"
		"attribs"         "2 ; 1 ; 32 ; 25 ; 57 ; 2 ; 92 ; 1 ; 94 ; 1 ; 113 ; 2"
		"ammo"        "-1"
	}
	"3000"
	{
	    "classname"        "tf_weapon_rocketlauncher"
		"index"        "18"
		"slot"        "0"
		"quality"        "6"
		"level"        "100"
		"attribs"        "97 ; -5 ; 108 ; 1 ; 112 ; -1 ; 135 ; 0"
		"ammo"        "1000"
	}
	"4000"
	{
	    "classname"        "tf_weapon_bat"
		"index"        "1071"
		"slot"        "2"
		"quality"        "6"
		"level"        "100"
		"attribs"        ""
		"ammo"        ""
	}
	"5000"
	{
	    "classname"        "tf_weapon_rocketlauncher"
		"index"        "730"
		"slot"        "0"
		"quality"        "0"
		"level"        "100"
		"attribs"        "4 ; 20 ; 97 ; 0 ; 6 ; -1 ; 96 ; 1 ; 96 ; 1; 241 ; -100"
		"ammo"        "9999"
	}
	"6000"
	{
	    "classname"        "tf_weapon_scattergun"
		"index"        "45"
		"slot"        "0"
		"quality"        "6"
		"level"        "29"
		"attribs"        "4 ; 20 ; 5 ; -1 ; 6 ; 1"
		"ammo"        "9999"
	}
	"7000"
	{
	    "classname"        "tf_weapon_crossbow"
		"index"        "305"
		"slot"        "0"
		"quality"        "6"
		"level"        "100"
		"attribs"        "4 ; 20 ; 6 ; 1 ; 241 ; -1 ; 150 ; 1"
		"ammo"        "9999"
	}
}
May I know how to make the reload speed like the weapon id "8018"? Thanks in advance~



-1 means unlimited and -2,-3,-4,-5 will not work. look at my example.

"5020"
{
"classname" "tf_weapon_rocketlauncher"
"index" "809"
"slot" "0"
"quality" "6"
"level" "29"
"attribs" "6 ; 0.01 ; 318 ; 0.1 ; 4 ; 10 ; 26 ; 1000 ; 16 ; 100 "
"ammo" "240"
}

100x shooting speed, 10x reload speed, clip size x10, +1000 health for wearer, + 100 health on hit

;)

http://optf2.com/440/attributes


PS: if you want i can make some for ya, add me in skype or steam ^^

Last edited by Dragonisser; 06-16-2014 at 05:00.
Dragonisser is offline
TurretTheEpic
Senior Member
Join Date: Jul 2012
Old 06-16-2014 , 23:05   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1224

Quote:
Originally Posted by TurretTheEpic View Post
Can someone tell me how i can use cloak/disguise kit while like not a spy...using this plugin of course
i waited 2 days for no reply...CLASSIC
__________________
TurretTheEpic is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 06-17-2014 , 00:10   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1225

Quote:
Originally Posted by TurretTheEpic View Post
i waited 2 days for no reply...CLASSIC
With that attitude you can keep on waiting. ( ͡° ͜ʖ ͡°)

Last edited by Sreaper; 06-17-2014 at 00:13.
Sreaper is offline
EverCandy
Junior Member
Join Date: Feb 2014
Old 06-17-2014 , 05:57   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1226

Quote:
Originally Posted by Dragonisser View Post
-1 means unlimited and -2,-3,-4,-5 will not work. look at my example.

"5020"
{
"classname" "tf_weapon_rocketlauncher"
"index" "809"
"slot" "0"
"quality" "6"
"level" "29"
"attribs" "6 ; 0.01 ; 318 ; 0.1 ; 4 ; 10 ; 26 ; 1000 ; 16 ; 100 "
"ammo" "240"
}

100x shooting speed, 10x reload speed, clip size x10, +1000 health for wearer, + 100 health on hit

;)

http://optf2.com/440/attributes


PS: if you want i can make some for ya, add me in skype or steam ^^
Thanks so much
EverCandy is offline
TurretTheEpic
Senior Member
Join Date: Jul 2012
Old 06-17-2014 , 09:53   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1227

Quote:
Originally Posted by Sreaper View Post
With that attitude you can keep on waiting. ( ͡° ͜ʖ ͡°)
No im serious it always takes days for someone to tell me how or what or fix.
So it is NOT a surprise
__________________

Last edited by TurretTheEpic; 06-17-2014 at 09:53.
TurretTheEpic is offline
Alexwall
New Member
Join Date: Jun 2014
Old 06-17-2014 , 20:55   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1228

So how do i make it look as if i have the weapon equipped when i press m to edit my load out?
Alexwall is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 06-17-2014 , 21:32   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1229

Quote:
Originally Posted by Alexwall View Post
So how do i make it look as if i have the weapon equipped when i press m to edit my load out?
You can't.
Sreaper is offline
TurretTheEpic
Senior Member
Join Date: Jul 2012
Old 06-17-2014 , 22:10   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1230

Quote:
Originally Posted by Sreaper View Post
You can't.
so can i please be told how i can do that? please. of course im being impatient but...Sorry
__________________
TurretTheEpic 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 17:51.


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