Quote:
Originally Posted by EverCandy
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 ^^