mirror of
https://github.com/mapbase-source/mapbase-game-src.git
synced 2025-06-10 04:32:10 +03:00
Add singleplayer third-person animation support
This commit is contained in:
parent
0e13f6e93d
commit
c4f122e067
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.dx80.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.dx80.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.dx90.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.dx90.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.phy
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.phy
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.sw.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/W_physics.sw.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.dx80.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.dx80.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.dx90.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.dx90.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.mdl
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.mdl
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.phy
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.phy
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.sw.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.sw.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.vvd
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_bugbait.vvd
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.dx80.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.dx80.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.dx90.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.dx90.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.mdl
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.mdl
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.phy
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.phy
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.sw.vtx
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.sw.vtx
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.vvd
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_grenade.vvd
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_physics.mdl
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_physics.mdl
Normal file
Binary file not shown.
BIN
VPKs/hl2_mapbase_content/models/weapons/w_physics.vvd
Normal file
BIN
VPKs/hl2_mapbase_content/models/weapons/w_physics.vvd
Normal file
Binary file not shown.
69
VPKs/hl2_mapbase_content/scripts/weapon_frag.txt
Normal file
69
VPKs/hl2_mapbase_content/scripts/weapon_frag.txt
Normal file
@ -0,0 +1,69 @@
|
||||
WeaponData
|
||||
{
|
||||
// Weapon data is loaded by both the Game and Client DLLs.
|
||||
"printname" "#HL2_Grenade"
|
||||
"viewmodel" "models/weapons/v_grenade.mdl"
|
||||
"playermodel" "models/weapons/w_grenade.mdl"
|
||||
"anim_prefix" "Grenade"
|
||||
"bucket" "4"
|
||||
"bucket_position" "0"
|
||||
"bucket_360" "3"
|
||||
"bucket_position_360" "0"
|
||||
|
||||
"clip_size" "-1"
|
||||
"clip2_size" "-1"
|
||||
"default_clip" "1"
|
||||
"default_clip2" "-1"
|
||||
|
||||
"primary_ammo" "grenade"
|
||||
"secondary_ammo" "None"
|
||||
|
||||
"weight" "1"
|
||||
"item_flags" "18" // ITEM_FLAG_NOAUTORELOAD | ITEM_FLAG_EXHAUSTIBLE
|
||||
|
||||
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
|
||||
SoundData
|
||||
{
|
||||
"special1" "WeaponFrag.Roll"
|
||||
"double_shot" "common/null.wav"
|
||||
"single_shot" "common/null.wav"
|
||||
}
|
||||
|
||||
// Weapon Sprite data is loaded by the Client DLL.
|
||||
TextureData
|
||||
{
|
||||
"weapon"
|
||||
{
|
||||
"font" "WeaponIcons"
|
||||
"character" "k"
|
||||
}
|
||||
"weapon_s"
|
||||
{
|
||||
"font" "WeaponIconsSelected"
|
||||
"character" "k"
|
||||
}
|
||||
"weapon_small"
|
||||
{
|
||||
"font" "WeaponIconsSmall"
|
||||
"character" "k"
|
||||
}
|
||||
"ammo"
|
||||
{
|
||||
"font" "WeaponIconsSmall"
|
||||
"character" "v"
|
||||
}
|
||||
"crosshair"
|
||||
{
|
||||
"font" "Crosshairs"
|
||||
"character" "Q"
|
||||
}
|
||||
"autoaim"
|
||||
{
|
||||
"file" "sprites/crosshairs"
|
||||
"x" "48"
|
||||
"y" "72"
|
||||
"width" "24"
|
||||
"height" "24"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user