📄 weapondefs.cpp
字号:
{0.0f, 0.0f, 0.0f}, // 3rd person gun offset
{0.6f, -0.6f, 0.7f}, // Gun Offset
{0.08f, 0.5f, 2.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{5.0f, -3.5f, 30.0f}, // Flash position
0.625f, // Eject interval
2.5f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
"interface_ao\\hammericon.pcx", // Icon for status bar
"interface_ao\\hammericonH.pcx", // Highlighted icon for status bar
},
// Flayer
{
"Models_ao\\Weapons_ao\\Flayer_pv.abc", // Model
"Models_ao\\Weapons_ao\\Flayer_pv.abc", // Model
"Skins_ao\\Weapons_ao\\C_Flayer_pv_t.dtx", // Skin
"Models_ao\\Powerups_ao\\Flayer_pu.abc", // 3rd person model
"Skins_ao\\Powerups_ao\\Flayer_pu.dtx", // 3rd person skin
WEAP_FLAYER, // Type
TYPE_MELEE, // Fire type
AMMO_FOCUS, // Ammo type
25, // Ammo Use
100, // Alt Ammo Use
8.0f, // Min Damage
12.0f, // Max Damage
8.0f, // Min Alt damage
12.0f, // Max Alt damage
0.15f, // Reload time
1.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
500.0f, // Projectile Velocity
0.0f, // Alt Projectile Velocity
3500.0f, // Range
0.0f, // Alt Range
1, // Shots per fire
1, // Alt Shots per fire
1, // Strength or Magic required
0, // Two-handed Strength or Magic required
100, // Damage Radius (projectiles)
0, // Alt Damage Radius (projectiles)
DFALSE, // Alt fire zoom
DFALSE, // Semi-auto
"Sounds_ao\\Weapons\\flayer\\fire.wav",// Fire sound
"Sounds_ao\\Weapons\\flayer\\fire.wav", // Alt Fire sound
"", // Empty weapon sound
"", // Alt Empty weapon sound
"CFlayerChain", // Projectile class
"CFlayerPortal", // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Flayer", // Name
IDS_WEAPON_FLAYER, // 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
{1.0f, -1.0f, 2.5f}, // Gun Offset
{0.0f, 0.0f, 0.0f}, // Muzzle Offset
{0.03f, 0.03f, 0.15f}, // Recoil
{0.0f, -10.0f, 25.0f}, // Flash position
0.625f, // Eject interval
0.0f, // View kick
DFALSE, // View kick is Cumulative
DFALSE, // Animation looping
DFALSE, // Alt anim looping
"interface_ao\\flayericon.pcx", // Icon for status bar
"interface_ao\\flayericonH.pcx", // Highlighted icon for status bar
},
#endif
// Shikari 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_SHIKARI_CLAW, // 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
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
"Shikari_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
},
// Shikari Spit
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
DNULL, // Model
DNULL, // Skin
WEAP_SHIKARI_SPIT, // Type
TYPE_RIFLE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
30.0f, // Min Damage
50.0f, // Max Damage
30.0f, // Min Alt damage
50.0f, // Max Alt damage
1.00f, // Reload time
0.0f, // Alt reload time
{0.0f, 0.0f}, // Spread
{0.0f, 0.0f}, // Alt Spread
1000.0f, // Projectile Velocity
1000.0f, // Alt Projectile Velocity
75.0f, // Range
75.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\\Shikari\\sh_spit_3.wav", // Fire sound
"Sounds\\Enemies\\Shikari\\sh_spit_3.wav", // Alt Fire sound
"Sounds\\Enemies\\Shikari\\sh_spit_1.wav", // Empty Fire sound
"Sounds\\Enemies\\Shikari\\sh_spit_1.wav", // Alt EmptyFire sound
"CShikariLoogieProjectile", // Projectile class
"CShikariLoogieProjectile", // Alt Projectile class
0, // Muzzle Flash radius
{0.0f, 0.0f, 0.0f}, // Muzzle Flash color
"Shikari_Spit", // 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
},
// SoulDrudge Crowbar
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
"Models\\Powerups\\crowbar_pu.abc", // Model
"Skins\\Powerups\\crowbar_pu.dtx", // Skin
WEAP_SOUL_CROWBAR, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
10.0f, // Min Damage
20.0f, // Max Damage
10.0f, // Min Alt damage
20.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
75.0f, // Range
75.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_Crowbar", // 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
},
// SoulDrudge Axe
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
"Models\\Powerups\\fireaxe_pu.abc", // Model
"Skins\\Powerups\\fireaxe_pu.dtx", // Skin
WEAP_SOUL_AXE, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
20.0f, // Min Damage
30.0f, // Max Damage
20.0f, // Min Alt damage
30.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
75.0f, // Range
75.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_Axe", // 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
},
// SoulDrudge Pipe
{
"Models\\Weapons\\knifec_pv.abc", // Model
"Models\\Weapons\\knifec_pv.abc", // Model
"Skins\\Weapons\\knifec_pv_t.dtx", // Skin
"Models\\Powerups\\pipe_pu.abc", // Model
"Skins\\Powerups\\pipe_pu.dtx", // Skin
WEAP_SOUL_PIPE, // Type
TYPE_MELEE, // Fire type
AMMO_NONE, // Ammo type
1, // Ammo Use
1, // Alt Ammo Use
10.0f, // Min Damage
20.0f, // Max Damage
10.0f, // Min Alt damage
20.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
75.0f, // Range
75.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_Pipe", // 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -