количество патронов,цена.Бррр проще вот:Идея интересная, меня тоже посещали такие идеи.
Мне вот только интересно как ты собираешся модифицировать оружие. Для его нужны исходники кода, а их как я понимаю не укого нет. Да и если ты их где-то и достанишь не факт что найдется человек который сможет написать код для всего твоего оружия.
Код:
WeaponData
{
"MaxPlayerSpeed" "221"
"WeaponType" "Rifle"
"WeaponPrice" "2500"
"WeaponArmorRatio" "1.55"
"CrosshairMinDistance" "4"
"CrosshairDeltaDistance" "4"
"Team" "TERRORIST"
"BuiltRightHanded" "0"
"PlayerAnimationExtension" "ak"
"MuzzleFlashScale" "1.6"
"MuzzleFlashStyle" "CS_MUZZLEFLASH_X"
"CanEquipWithShield" "0"
// Weapon characteristics:
"Penetration" "2"
"Damage" "36"
"Range" "8192"
"RangeModifier" "0.98"
"Bullets" "1"
"CycleTime" "0.0955"
"AccuracyDivisor" "200"
"AccuracyOffset" "0.35"
"MaxInaccuracy" "1.25"
"TimeToIdle" "1.9"
"IdleInterval" "20"
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#Cstrike_WPNHUD_AK47"
"viewmodel" "models/weapons/v_rif_ak47.mdl"
"playermodel" "models/weapons/w_rif_ak47.mdl"
"anim_prefix" "anim"
"bucket" "0"
"bucket_position" "0"
"clip_size" "30"
"primary_ammo" "BULLET_PLAYER_762MM"
"secondary_ammo" "None"
"weight" "25"
"item_flags" "0"
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"single_shot" "Weapon_AK47.Single"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
//Weapon Select Images
"weapon"
{
"font" "CSweaponsSmall"
"character" "B"
}
"weapon_s"
{
"font" "CSweapons"
"character" "B"
}
"ammo"
{
"font" "CSTypeDeath"
"character" "V"
}
"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
ModelBounds
{
Viewmodel
{
Mins "-9 -3 -13"
Maxs "30 11 0"
}
World
{
Mins "-9 -9 -9"
Maxs "30 9 7"
}
}
}
Post automatically merged:
Я думаю ты меня понял.
Останнє редагування:
