Skip to content

Rizulix/Classic-Weapons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Weapons

Classic weapons for Sven Co-op

Installation Guide

  1. Download this repo and extract its content inside Sven Co-op\svencoop_(hd|addon|downloads)\.

  2. Register the new weapons in your mapscript:

    1. In your mapscript header add #include "ClassicWeapons" or add map_script ClassicWeapons in your map cfg.
    2. Inside your MapInit() function add CLASSIC_WEAPONS::Register();.
  3. To play with the new weapons place them in the map or give it yourself with give <weapon_name> command OR consider using Outerbeast's info_itemswap (instructions on how to use there).

  • Weapon names:

    • weapon_hlpython
    • weapon_ofeagle
    • weapon_ofknife
    • weapon_ofm249
    • weapon_ofpenguin
    • weapon_ofshockrifle
    • weapon_ofsniperrifle
    • weapon_ofsporelauncher

Notes

  • The max ammo for the M249, ShockRifle and SporeLauncher are the same as those of the Sven Co-op version to avoid overwriting the weapon's default values.
  • The damage of the SporeLauncher has to be regulated by the skill.cfg because it does generic damage (not poison) otherwise it will be too broken.

Console Variables

  • revolver_laser_sight: Enables the python laser sight. (default: 0)

  • m249_wide_spread: Sets whether m249 uses wide spread. (default: 0)

  • m249_knockback: Enables m249 knockback on firing. (default: 1)

  • shockrifle_fast: Enables rapid fire and rapid ammo regeneration. (default: 0)

  • knife_allow_backstab: Enables knife backstack (default: 1)

Change its value with as_command e.g.:

as_command revolver_laser_sight 1

IMPORTANT: To modify the values you must at least have access to admin.

Credits

Special Thanks

  • Buran, testing and suggestions for project changes.

About

Classic weapons for Sven Co-op

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published