Closed gromchek closed 1 year ago
You can use the eModelID
values for the array btw
static const std::array weaponsId
= {MODEL_COLT45, MODEL_SILENCED, MODEL_DESERT_EAGLE, MODEL_CHROMEGUN,
MODEL_SAWNOFF, MODEL_SHOTGSPA, MODEL_MICRO_UZI, MODEL_MP5LNG,
MODEL_AK47, MODEL_M4, MODEL_TEC9};```
The idea of the effect came when I was reading the weapons.dat config. So I quickly copied the ids and started coding.
I also added OnTick
function because the game resets the weapon info after loading the save file.
2 issues:
Effect
at the end of the filename)0.8f
instead of0.75f
makes it work and doesn't look noticably slower with the other guns