на главную
об игре
Left 4 Dead 2 17.11.2009

Как поставить без конечные патроны в скрипт. вот набросок

"Damage" "121"
"Range" "3500"
"RangeModifier" "0.7"
"Bullets" "12"
"CycleTime" "0.08"

// Weapon data is loaded by both the Game and Client DLLs.
"printname" "Auto Shotgun"
"playermodel" "models/w_models/weapons/w_shotgun_spas.mdl"

"viewmodel" "models/v_models/v_shotgun_spas.mdl"
"CharacterViewmodelAddon"
{
"Coach" "models/weapons/arms/v_arms_coach_new.mdl"
"Mechanic" "models/weapons/arms/v_arms_mechanic_new.mdl"
"Producer" "models/weapons/arms/v_arms_producer_new.mdl"
"Gambler" "models/weapons/arms/v_arms_gambler_new.mdl"

"Manager" "models/weapons/arms/v_arms_louis.mdl"
"Biker" "models/weapons/arms/v_arms_francis.mdl"
"TeenGirl" "models/weapons/arms/v_arms_zoey.mdl"
"NamVet" "models/weapons/arms/v_arms_bill.mdl"
}

"anim_prefix" "anim"
"bucket" "0"
"bucket_position" "0"

"clip_size" "20" //increased from 9

"primary_ammo" "AMMO_TYPE_AUTOSHOTGUN"
"secondary_ammo" "None"

"weight" "20"
"item_flags" "0"

"LoadoutSlots" "2"

// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"single_shot" "AutoShotgun_Spas.Fire"
"shoot_incendiary" "AutoShotgun_Spas.FireIncendiary"
}

Комментарии: 1
Ваш комментарий