This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arma3:config:bis-weapon-config-guidelines [2014-07-16 11:13] snakeman changed the define into actual value. |
arma3:config:bis-weapon-config-guidelines [2014-08-22 17:51] snakeman added weapon inertia. |
||
---|---|---|---|
Line 490: | Line 490: | ||
- | ==== Ammo changes on fly and on hit ==== | + | ==== Ammo changes on fly and on hit ==== |
* there are two new simulations of ammo available mainly for artillery, but usable for many other means | * there are two new simulations of ammo available mainly for artillery, but usable for many other means | ||
Line 538: | Line 538: | ||
- | ==== Explosion shielding ==== | + | ==== Explosion shielding ==== |
* class hitpoints in configuration of all vehicles (including soldiers) has got a new parameter called **explosionShielding** | * class hitpoints in configuration of all vehicles (including soldiers) has got a new parameter called **explosionShielding** | ||
Line 554: | Line 554: | ||
}; | }; | ||
}; | }; | ||
+ | </code> | ||
+ | |||
+ | ==== Weapon Inertia ==== | ||
+ | |||
+ | Inertia coefficient of the weapon is easily set by the "inertia" parameter, common values are 0.1 for a pistol, 0.5 for a rifle, 0.7 for machinegun and around 1.0 for a launcher | ||
+ | |||
+ | <code cpp> | ||
+ | class cfgWeapons | ||
+ | { | ||
+ | class myWeapon | ||
+ | { | ||
+ | // inertia coefficient of the weapon | ||
+ | inertia = 0.5; | ||
+ | }; | ||
+ | }; | ||
</code> | </code> |