Weapon_Ammo Config File


General parameters

General parameters
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
GroupControlSectionspawn_group
discovery_dependency
$spawnthe ammo directory in the Level Editor"weapons\ammo\ammo_11.43x23_hydro"
classengine ammo classAMMO_SAMMO_S - S_VOG25 - S_OG7B - S_M209
cformparameter for dynamic objects; necessary for correct creation of the skeleton modelskeleton
visualWorld-model ammo boxdynamics\weapons\wpn_ammo\ammo_1143x23_fmj.ogfSpecifies the path to the file
$prefetchpreload queue64
kindThe type of item to group into the appropriate section in the Item Spawnerw_ammo
costBase price910Specified in numbers
box_sizenumber of bullets in a pack16Specified in numbers

Ammo parameters in the inventory

Ammo parameters in the inventory
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
inv_nameThe name in the inventoryammo-11.43x23-fmj
inv_name_shortshort name in the inventoryammo-11.43x23-fmj_s
inv_weightinventory weight.29The number is given in kilograms
descriptionDescription in inventoryammo-11.43x23-fmj_descr

Ammo icon parameters

Ammo icon parameters
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
inv_grid_widthicon width2number of 50x50 pixels cells
inv_grid_heighticon height1number of 50x50 pixels cells
inv_grid_xthe coordinate of the upper left corner of the icon on a 50x50 pixel grid on the X axis55number of cells indented to the right
inv_grid_yThe coordinate of the upper left corner of the icon on a 50x50 pixel grid on the Y axis11number of cells indenting downward

Parameters of ammo coefficients

Parameters of ammo coefficients
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
k_dispCoefficient of accuracy of the bullet0.66
k_impulsePulse coefficient transmitted to the ragdoll-body0.55
k_ap0.1
k_air_resistanceBullet air resistance coefficient0.8
k_hitBullet kill rate1.0
k_bullet_speedBullet velocity coefficient1.15
k_cam_dispersionCamera dispersion coefficient1.0
k_piercePenetration power of a bullet
k_distRange coefficient0.75

Other parameters

Other parameters
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
tracer_color_ID2
wm_sizetexture size of the mark left on the ground after the explosion0.072The bigger the number, the bigger the mark
impairBarrel wear coefficient from the bullet1.4
tier2
buck_shotNumber of components in a bullet, e.g. fractions9
tracerIs the bullet a traceroffon (Yes) - off (No)
4to1_tracerWill four tracers be combined into onetruetrue (yes) - false (no)
explosiveWill there be an explosion when touchedfalsetrue (yes) - false (no)
disassemble_partsprt_i_ammo,prt_i_ammo

Sound parameters

Sound parameters
Parameter NameParameter DescriptionExample valueParameter Possible Values and their descriptions
snd_on_takeThe sound when takingammo