Add new weapon to human
Version: 3.1
Fix with buying item
(Bug model) This model can be invisible on some clients, problem in the model
Crash fix (CLagCompensationManager::StartLagCompensatio n with NULL CUserCmd)
Bugs:
Model little bit bugged after first shoot, problem in the model
Addon calculate end postion of the beam not very accurately, because
Settings:
Quote:
#define EXTRA_ITEM_NAME "PlasmaGun"
#define EXTRA_ITEM_COST 5
#define EXTRA_ITEM_LEVEL 0
#define EXTRA_ITEM_ONLINE 0
#define EXTRA_ITEM_LIMIT 0
// Weapon
#define WEAPON_NAME "weapon_plasma"
#define WEAPON_REFERANCE "weapon_scar20"
// Models
#define MODEL_WORLD "models/weapons/plasma/w_snip_plasma.mdl"
#define MODEL_VIEW "models/weapons/plasma/v_snip_plasma.mdl"
#define MODEL_BEAM "materials/sprites/laserbeam.vmt"
// Sounds
#define SOUND_FIRE "weapons/RequestsStudio/UT3/AvrilFire.mp3"
#define SOUND_DEPLOY "weapons/RequestsStudio/UT3/AvrilDeploy.mp3"
// Beam
#define BEAM_LIFE 0.105
#define BEAM_COLOR {100, 50, 253, 255}
// Damage
#define WEAPON_MULTIPLIER_DAMAGE 1.23
Download