Weapon Ammo Config File


About

General

Parameter NameParameter DescriptionExample ValuePossible Parameters
GroupControlSectionspawn_group
discovery_dependency
$spawnAmmo directory in Level Editor“weapons\ammo\ammo_11.43x23_hydro”
classEngine ammo classAMMO_SAMMO_S
S_VOG25
S_OG7B
S_M209
cformSkeleton modelskeleton
visualAmmo box world modeldynamics\weapons\wpn_ammo\ammo_1143x23_fmj.ogfPath to file
$prefetchPreload queue64
kindKind of item to group into the appropriate section in the Item Spawnerw_ammo
costBase price910
box_sizeNumber of bullets in ammo box16

Inventory

Parameter NameParameter DescriptionExample ValuePossible Parameters
inv_nameInventory nameammo-11.43x23-fmj
inv_name_shortInventory short nameammo-11.43x23-fmj_s
inv_weightInventory weight.29
descriptionInventory descriptionammo-11.43x23-fmj_descr
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

Ammo Coefficients

Parameter NameParameter DescriptionExample ValuePossible Parameters
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

Parameter NameParameter DescriptionExample ValuePossible Parameters
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 tracerofftrue - 1 - on (Yes)
false - 0 - off (No)
4to1_tracerWill four tracers be combined into onetruetrue - 1 - on (Yes)
false - 0 - off (No)
explosiveWill there be an explosion when touchedfalsetrue - 1 - on (Yes)
false - 0 - off (No)
disassemble_partsprt_i_ammo,prt_i_ammo

Sounds

Parameter NameParameter DescriptionExample ValuePossible Parameters
snd_on_takeThe sound when takingammo