And no I’m not asking for a new weapon script, I’m talking about the weapons that are already in the game.
Forum
General
Where Are The Weapons In CS2D?
Where Are The Weapons In CS2D?
3 replies
1

And no I’m not asking for a new weapon script, I’m talking about the weapons that are already in the game.
You cannot add more items into the game.
Like you suspected, the actual weapon behaviour is coded within the game executable.
Assuming you don't want to mess with Lua scripting, there are still some things you can change/control:
Weapon graphics can be changed in
gfx/weapons.
Weapon sounds can be changed in
sfx/weapons.
Weapon damage can be changed via
mp_wpndmg,
mp_wpndmg_z1 and
mp_wpndmg_z2.To manage the buy menu:
mp_buymenu,
mp_unbuyableWeapon fire delay can be changed:
If
mp_recoil is set to 0, edit
sys/weapons.cfg.
If
mp_recoil is set to 1, edit
sys/weapons_recoil.cfg.
Lastly, if
mp_recoil is set to 1, you may also edit the accuracy, recover and attack behaviours for the weapons.
weapons_recoil.cfg(when
mp_recoil is set to 1), the underlying issue is still present.
You could alternatively try and use various "hacks"* to try and mitigate the issues, but this is a bug within the game itself.
* Using
attack with
sethealth &
image to simulate the lost behaviour.
1

Offline