-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtf_weapon_cannon.txt
More file actions
102 lines (93 loc) · 1.98 KB
/
tf_weapon_cannon.txt
File metadata and controls
102 lines (93 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
WeaponData
{
// Attributes Base.
"printname" "#TF_Weapon_Cannon"
"BuiltRightHanded" "0"
"weight" "4"
"WeaponType" "primary"
"ITEM_FLAG_NOITEMPICKUP" "1"
"HasTeamSkins_Viewmodel" "1"
// Attributes TF.
"damage" "100"
"DamageRadius" "146"
"BulletsPerShot" "1"
"Spread" "0.0"
"PunchAngle" "3.0"
"TimeFireDelay" "0.6"
"TimeIdle" "0.6"
"TimeIdleEmpty" "0.6"
"TimeReloadStart" "0.1"
"TimeReload" "0.6"
// Ammo & Clip.
"primary_ammo" "TF_AMMO_PRIMARY"
"secondary_ammo" "None"
"clip_size" "4"
"default_clip" "4"
"ProjectileType" "projectile_cannonball"
// Buckets.
"bucket" "0"
"bucket_position" "0"
"ExplosionSound" "Weapon_LooseCannon.Explode"
"ExplosionEffect" "ExplosionCore_wall"
"ExplosionPlayerEffect" "ExplosionCore_MidAir"
"ExplosionWaterEffect" "ExplosionCore_MidAir_underwater"
// Animation.
"viewmodel" "models/weapons/v_models/v_grenadelauncher_demo.mdl"
"playermodel" "models/weapons/w_models/w_grenadelauncher.mdl"
"anim_prefix" "gl"
// Muzzleflash
"MuzzleFlashParticleEffect" "muzzle_grenadelauncher"
// Sounds.
// Max of 16 per category (ie. max 16 "single_shot" sounds).
SoundData
{
"single_shot" "Weapon_LooseCannon.Shoot"
"reload" "Weapon_GrenadeLauncher.WorldReload"
"special3" "Weapon_GrenadeLauncher.ModeSwitch"
"burst" "Weapon_LooseCannon.Shootcrit"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"file" "sprites/bucket_grenlaunch"
"x" "0"
"y" "0"
"width" "200"
"height" "128"
}
"weapon_s"
{
"file" "sprites/bucket_grenlaunch"
"x" "0"
"y" "0"
"width" "200"
"height" "128"
}
"ammo"
{
"file" "sprites/a_icons1"
"x" "55"
"y" "60"
"width" "73"
"height" "15"
}
"crosshair"
{
"file" "sprites/crosshairs"
"x" "32"
"y" "32"
"width" "32"
"height" "32"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
}