📄 weapondefs.cpp
字号:
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// DrudgeLord Hook
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_SOUL_HOOK, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
50.0f, // Min Damage
80.0f, // Max Damage
50.0f, // Min Alt damage
80.0f, // Max Alt damage
1.00f, // Reload time
0.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
0.0f, // Projectile Velocity
0.0f, // Alt Projectile Velocity
100.0f, // Range
100.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
0, // Damage Radius (projectiles)
0, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Weapons\\Knife\\fire.wav", // Fire sound
"Sounds\\Weapons\\Knife\\alt.wav", // Alt Fire sound
"", // Empty weapon sound
"", // Alt Empty weapon sound
NULL, // Projectile class
NULL, // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Soul_Hook", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.10f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// Behemoth Hand Claw
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_BEHEMOTH_CLAW, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
100.0f, // Min Damage
120.0f, // Max Damage
100.0f, // Min Alt damage
120.0f, // Max Alt damage
1.00f, // Reload time
0.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
0.0f, // Projectile Velocity
0.0f, // Alt Projectile Velocity
100.0f, // Range
100.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
0, // Damage Radius (projectiles)
0, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Weapons\\Knife\\fire.wav", // Fire sound
"Sounds\\Weapons\\Knife\\alt.wav", // Alt Fire sound
"", // Empty weapon sound
"", // Alt Empty weapon sound
NULL, // Projectile class
NULL, // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Behemoth_Claw", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.10f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// Zealot heal
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_ZEALOT_HEAL, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
20.0f, // Min Damage
40.0f, // Max Damage
20.0f, // Min Alt damage
40.0f, // Max Alt damage
1.00f, // Reload time
0.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
0.0f, // Projectile Velocity
0.0f, // Alt Projectile Velocity
100.0f, // Range
100.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
0, // Damage Radius (projectiles)
0, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Enemies\\Zealot\\healing.wav", // Fire sound
"Sounds\\Enemies\\Zealot\\healing.wav", // Alt Fire sound
"Sounds\\Enemies\\Zealot\\healing.wav", // Empty weapon sound
"Sounds\\Enemies\\Zealot\\healing.wav", // Alt Empty weapon sound
NULL, // Projectile class
NULL, // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Heal", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.10f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// Zealot shield
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_ZEALOT_SHIELD, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
20.0f, // Min Damage
40.0f, // Max Damage
20.0f, // Min Alt damage
40.0f, // Max Alt damage
1.00f, // Reload time
0.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
0.0f, // Projectile Velocity
0.0f, // Alt Projectile Velocity
1.0f, // Range
1.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
0, // Damage Radius (projectiles)
0, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Enemies\\Zealot\\shield.wav", // Fire sound
"Sounds\\Enemies\\Zealot\\shield.wav", // Alt Fire sound
"Sounds\\Enemies\\Zealot\\shield.wav", // Empty weapon sound
"Sounds\\Enemies\\Zealot\\shield.wav", // Alt Empty weapon sound
NULL, // Projectile class
NULL, // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Shield", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.10f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// Zealot energy blast
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_ZEALOT_ENERGYBLAST,// Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
25.0f, // Min Damage
50.0f, // Max Damage
25.0f, // Min Alt damage
50.0f, // Max Alt damage
0.50f, // Reload time
0.50f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
1000.0f, // Projectile Velocity
1000.0f, // Alt Projectile Velocity
1000.0f, // Range
1000.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
175, // Damage Radius (projectiles)
175, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Enemies\\Zealot\\distfire.wav",// Fire sound
"Sounds\\Enemies\\Zealot\\distfire.wav", // Alt Fire sound
"Sounds\\Enemies\\Zealot\\distfire.wav", // Empty weapon sound
"Sounds\\Enemies\\Zealot\\distfire.wav", // Alt Empty weapon sound
"CEnergyBlastProjectile", // Projectile class
"CEnergyBlastProjectile", // Alt Projectile class
20, // Muzzle Flash radius
{0.0f, 0.0f, 1.0f}, // Muzzle Flash color
"Energy_Blast", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.40f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
DNULL, // Icon for status bar
DNULL, // Highlighted icon for status bar
},
// Zealot Ground fire attack
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_ZEALOT_GROUNDFIRE, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
30.0f, // Min Damage
60.0f, // Max Damage
30.0f, // Min Alt damage
60.0f, // Max Alt damage
0.50f, // Reload time
0.50f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
1000.0f, // Projectile Velocity
1000.0f, // Alt Projectile Velocity
1000.0f, // Range
1000.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
20, // Damage Radius (projectiles)
20, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds\\Enemies\\Zealot\\fireball.wav",// Fire sound
"Sounds\\Enemies\\Zealot\\fireball.wav", // Alt Fire sound
"Sounds\\Enemies\\Zealot\\fireball.wav", // Empty weapon sound
"Sounds\\Enemies\\Zealot\\fireball.wav", // Alt Empty weapon sound
"CGroundStrikeProjectile", // Projectile class
"CGroundStrikeProjectile", // Alt Projectile class
20, // Muzzle Flash radius
{0.0f, 0.0f, 1.0f}, // Muzzle Flash color
"Ground_Fire", // Name
0, // Name ID (resource)
"", // flash sprite name
"", // alt flash Sprite name
0.25f, // Flash duration
0.40f, // Flash scale
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.0f, -1.4f, 0.3f}, // 1st person gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, 0.0f, 0.1f}, /
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -