Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Crowbar to Stunstick

A Config Script for Half-Life 2

Members see zero ads. Membership is 100% free
65 1,285 bytes Raw Code
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
// stunstick

WeaponData
{
    // Weapon data is loaded by both the Game and Client DLLs.
    "printname"    "#HL2_StunBaton"
    "viewmodel"                "models/weapons/v_stunstick.mdl"
    "playermodel"            "models/weapons/w_stunbaton.mdl"
    "anim_prefix"            "stunbaton"
    "bucket"                "0"
    "bucket_position"        "0"

    "clip_size"                "-1"
    "primary_ammo"            "None"
    "secondary_ammo"        "None"

    "weight"                "0"
    "item_flags"            "0"

    // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
    SoundData
    {

        "single_shot"        "Weapon_StunStick.Swing"
        "melee_miss"        "Weapon_StunStick.Melee_Miss"
        "melee_hit"            "Weapon_StunStick.Melee_Hit"
        "melee_hit_world"    "Weapon_StunStick.Melee_HitWorld"
    }

    // Weapon Sprite data is loaded by the Client DLL.
    TextureData
    {
        "weapon"
        {
                "font"        "WeaponIcons"
                "character"    "n"
        }
        "weapon_s"
        {
                "font"        "WeaponIconsSelected"
                "character"    "n"
        }
        "ammo"
        {
                "font"        "WeaponIcons"
                "character"    "n"
        }
        "crosshair"
        {
                "file"        "sprites/crosshairs"
                "x"            "0"
                "y"            "48"
                "width"        "24"
                "height"    "24"
        }
        "autoaim"
        {
                "file"        "sprites/crosshairs"
                "x"            "48"
                "y"            "72"
                "width"        "24"
                "height"    "24"
        }
    }
}
Just to convert the crowbar into a stunstick!

Comments

Sign up to access this!

No comments yet

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Original Authors
ShortCircuit32
ShortCircuit32 Joined 2y ago
Offline
183 points Ranked 57231st
Scripter

Submitter

ShortCircuit32 avatar
ShortCircuit32 Joined 2y ago
Offline
183 points Ranked 57231st
ShortCircuit32
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

menu

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 1
  • remove_red_eye 1.1k
  • access_time 1y

More Weapons Scripts