GameBanana shows no ads to members. Sign up now!
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

Annabelle for HL2 MMod

A Config Script for Half-Life 2: MMod

107 3 kb 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
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
103
104
105
106
107
// Annabelle - Grigori's shotgun 

WeaponData 

    // Weapon data is loaded by both the Game and Client DLLs. 
    "printname"        "LEVER-ACTION RIFLE" 
    "viewmodel"        "models/weapons/v_annabelle.mdl" 
    "playermodel"        "models/weapons/w_annabelle.mdl" 
    "anim_prefix"        "shotgun" 
    "bucket"            "3" 
    "bucket_position"        "2" 
    "clip_size"        "12" 
    "default_clip"        "12" 
    "primary_ammo"        "357" 
    "secondary_ammo"    "None" 

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

//        IronSight 
//    { 
//        "forward"        "-5" 
//        "right"        "-1" 
//        "up"        "1.5" 
//        "roll"        "0.5" 
//        "pitch"        "-1" 
//        "yaw"        "1" 
//        "fov"        "-15" 
//        "time"        "0.30" 
//        "crosshair"    "1" 
//        "chromatic"    "3.5" 
//        "blur"        "1.0" 
//    } 

        IronSight 
    { 
        "forward"        "-3" 
        "right"        "-1.4" 
        "up"        "0.5" 
        "roll"        "-4.20" 
        "pitch"        "-2" 
        "yaw"        "2" 
        "fov"        "-20" 
        "time"        "0.30" 
        "crosshair"    "1" 
        "chromatic"    "3.5" 
        "blur"        "1.0" 
    } 

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

        "empty"                "Weapon_Shotgun.Empty" 
        "reload"            "Weapon_Shotgun.NPC_Reload" 
        "special1"            "Weapon_Shotgun.Special1" 
        "single_shot"            "Weapon_357.Single" 
        // NPC WEAPON SOUNDS 
        "reload_npc"        "Weapon_Shotgun.NPC_Reload" 
        "single_shot_npc"    "Weapon_357.Single" 
    } 

    // Weapon Sprite data is loaded by the Client DLL. 
    TextureData 
    { 
        "weapon" 
        { 
                "font"        "WeaponIcons" 
                "character"    "b" 
        } 
        "weapon_s" 
        {     
                "font"        "WeaponIconsSelected" 
                "character"    "b" 
        } 
        "weapon_small" 
        { 
                "font"        "WeaponIconsSmall" 
                "character"    "b" 
        } 
        "ammo" 
        { 
                "font"        "WeaponIconsSmall" 
                "character"    "q" 
        } 
        "crosshair" 
        { 
                "font"        "HL2MModCrosshairs" 
                "character"    "b" 
        } 
        "zoom" 
        { 
                "font"        "HL2MModCrosshairs" 
                "character"    "b" 
        } 
        "autoaim" 
        { 
                "font"        "HL2MModCrosshairs" 
                "character"    "b" 
        } 
        "zoom_autoaim" 
        { 
                "font"        "HL2MModCrosshairs" 
                "character"    "b" 
        } 
    } 
}

Updates

Crosshair Update 1y
  • Improvement Crosshair now visible when using ironsights.
  • Adjustment Modified Magazine size to match Winchester M1892 in .357
  • Tweak Changed NPC firing sound to match .357

Enclosed is a simple script for using the Annabelle with the HL2 MMod.

Due to this being a simple hack to get the gun working; I won't be working too much on this.

Installation: create a .txt file named "weapon_annabelle" in the Scripts folder for the MMod sub-mod [ex: "HL2MMod_HL2U" for HL2 Update]. SImply copy the code into the empty text file, or paste over the existing code if you already have a txt file for the Annabelle.
Sign up to access this!
  • StevenR380680 avatar
    StevenR380680 Joined 4y ago
    Offline
    911 points Ranked 41745th
    access_time 9mo
    Good news, going off of your example I managed to make the alyx gun and annabelle a usable and iron sight using a weapon in mmod. I wish I can show pics

    Good News Everyone!!!
    URL to post:
  • StevenR380680 avatar
    StevenR380680 Joined 4y ago
    Offline
    911 points Ranked 41745th
    access_time 9mo
    Hello there i see you coded the annabelle to work in mmod. Hey can I work with you on this. Lets also make the alyx gun work for mmod.  I can code a custom hud icon for the weapons,  and lend you the models I borrowed from lethal stigma and contingency mods, I'll also code custom sounds for you.

    Good News Everyone!!!
    URL to post:
  • [PRince_4] Sharma avatar
    [PRince_4] Sharma Joined 4y ago
    JOB---
    IND Industry! Flag Affiliation: IND Industry!
    8,810 points Ranked 721st
    32 medals 1 legendary 5 rare
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • Received thanks 50 times Medal icon
    • Thanked 50 submitters Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • Returned 1000 times Medal icon
    [PRince_4] Sharma IND Industry! Flag
    Affiliation
    IND Industry!
    access_time 1y
    And use the "map_add" var to spawn a Annabelle. Delicious.
    Slicin' My Way 2 TOP! avatar
    Mantra
    Slicin' My Way 2 TOP!
    URL to post:
  • Juanjolox avatar
    Juanjolox Joined 3y ago
    Offline
    2,747 points Ranked 20019th
    10 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Returned 100 times Medal icon
    • 1 year a member Medal icon
    • Reached 1,000 Points Medal icon
    access_time 1y
    OOOOOOOOOOOOOOOOOOOOOOOOhhhhh Yeahhhh
    Get out of here, stalker.
    URL to post:

Embed

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

Credits

Key Authors
aqui1ifer
aqui1ifer Joined 4y ago
Offline
1,636 points Ranked 21708th
8 medals 1 rare
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon
  • Returned 100 times Medal icon

Submitter

aqui1ifer avatar
aqui1ifer Joined 4y ago
Offline
1,636 points Ranked 21708th
8 medals 1 rare
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon
  • Returned 100 times Medal icon
aqui1ifer
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Feel free to use/improve this where able, just be sure to ask & give me some credit if you decide to reupload this anywhere else.

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 3.5k
  • 5
  • 1y
  • 1mo
  • 1y