cspb weapon parse

Channel:
Subscribers:
10,300
Published on ● Video Link: https://www.youtube.com/watch?v=__1mponFg_8



Duration: 0:00
4,511 views
64


current log

dual system now behave like pb using "special_attack" command
fixed compound bow
corrected ak47 dual magazine system
complete weapon zoom for no sight weapon
completely remade all entire weapon code
assist now display in death message (testing)
aim anim for all weapon that uses sight
custom muzzle flash from weapon scripts
added enemy weapon image when player killed
ability to edit weapon stats from all weapon scripts, see cstrike/scripts/
Including weapon name, damage, ammo and more
Here are some explanation from the script:

WeaponName: AK-47 //display weapon name on hud
Damage: 20 //weapon damage
ReloadSpeed: 2.5 //how long to reload
ReloadQuickSpeed: 1.5 //how long to reload when quick reload item equiped
DeploySpeed: 0.7 //deploy speed
DeployQuickSpeed: 0.3 //deploy speed when quick change item equiped
CrosshairType: 0 //0 default green dot, 1 = laser, 2 = grenade, 3 = invisible crosshair

Clip: 30 //magazine bullet count
Clip2: 60 //second magazine usually for dual magazine
AmmoReserve: 250 //reserve ammo
AimingWeapon: 0 //aiming animation if the value is 1, 0 = disabled
DotSightType: 1 //when aiming using sight, 1 for red dot, 2 for eotech, 3 for invisible
SideBarAlpha: 0// side black bar alpha when aiming, 0 means invisible, 255 means full black (some sight using 170 alpha for matched example holographic and acog)
Sound: sound/weapons/ak47-1.wav //location of the weapon sound
PrimaryAttackTime1: 1 //time 1 primary
PrimaryAttackTime2: 1 //time 2 primary
SecondaryAttackTime1: 1 //time 1 secondary
SecondaryAttackTime2: 1 //time 2 secondary
HideCrosshairWhenZoomed: 0 //hide crosshair when zooming
HideViewmodelWhenZoomed: 0 //hide viewmodel when zooming
AimPosition: 0 0 0 // weapon x y z position when aiming
MuzzleFlashType: 0 //muzzle flash type from sprites/custom_muzzle/ the number represent the file number for example 1 = muzzleflash1.spr, 2 = muzzleflash2.spr, 0 = disable muzzle flash, and so on, up to 49.spr.
MuzzleFlashScale: 0 //scale of the muzzle flash, 0 = default size.
WalkSpeed: 240 //player speed when using this weapon
KickBack: 0.5 0.5 0.5 0.5 0.5 0.5 0.5 //weapon kickback/recoil
DamageTga: // image damage that send to player when got hit.
WeaponTga: //weapon image received by player when killed
SightTga : //tga sight path for weapon
ZoomTarget: //target fov for zooming