Full Automatic Glock-18

A Config Script for Counter-Strike: Global Offensive

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending zaibatsu1337 points.
  • Post: Give zaibatsu1337 your thoughts on this Script.
  • Vote: Help zaibatsu1337 win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Updates

Version 0.2
  • Added newer values
zaibatsu1337 avatar
Member Joined 3y
834 points Ranked 5651st
zaibatsu1337
4mo
151 lines | 5 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
WeaponData
{
    // particle muzzle flash effect to play when fired
    MuzzleFlashEffect_1stPerson     weapon_muzzle_flash_pistol
    MuzzleFlashEffect_3rdPerson     weapon_muzzle_flash_pistol
    HeatEffect                      weapon_muzzle_smoke
    HeatPerShot                     0.3

    // model for the shell casing to eject when we fire bullets
    EjectBrassEffect                weapon_shell_casing_9mm

    // the tracer particle effect and frequency
    TracerEffect                    weapon_tracers_pistol
    // 0 = never, 1 = every shot, 2 = every other, etc
    TracerFrequency                 1

    MaxPlayerSpeed                  240
    WeaponType                      Pistol
    FullAuto                        1
    WeaponPrice                     200
    WeaponArmorRatio                0.94
    CrosshairMinDistance            8
    CrosshairDeltaDistance          3
    Team                            TERRORIST
    BuiltRightHanded                1
    PlayerAnimationExtension        pistol
   
    CanEquipWithShield              1

    // Weapon characteristics:
    Penetration                     1
    Damage                          28
    Range                           4096
    RangeModifier                   0.9
    Bullets                         1
    CycleTime                       0.05

    FlinchVelocityModifierLarge     0.50
    FlinchVelocityModifierSmall     0.65
   
    // accuracy model parameters
    Spread                          1.5
    InaccuracyCrouch                2
    InaccuracyStand                 2.5
    InaccuracyJump                  0.3
    InaccuracyLand                  0.09
    InaccuracyLadder                65
    InaccuracyFire                  30
    InaccuracyMove                  6
                                 
    SpreadAlt                       5.00
    InaccuracyCrouchAlt             1.00
    InaccuracyStandAlt              2.60
    InaccuracyJumpAlt               0.05
    InaccuracyLandAlt               0.6
    InaccuracyLadderAlt             40
    InaccuracyFireAlt               15
    InaccuracyMoveAlt               4
                                 
    RecoveryTimeCrouch              0.276310
    RecoveryTimeStand               0.331572
   
    RecoilAngle                     0
    RecoilAngleVariance             20
    RecoilMagnitude                 18
    RecoilMagnitudeVariance         0
    RecoilSeed                      4484

    RecoilAngleAlt                  0
    RecoilAngleVarianceAlt          20
    RecoilMagnitudeAlt              30
    RecoilMagnitudeVarianceAlt      5
                                 
    // Weapon data is loaded by both the Game and Client DLLs.
    printname                       #SFUI_WPNHUD_Glock18
    viewmodel                       models/weapons/v_pist_glock18.mdl
    playermodel                     models/weapons/w_pist_glock18.mdl
    shieldviewmodel                 models/weapons/v_shield_glock18_r.mdl  
    anim_prefix                     anim
    bucket                          1
    bucket_position                 1

    clip_size                       20
    default_clip                    -1
    default_clip2                   -1
   
    primary_ammo                    BULLET_PLAYER_9MM
    secondary_ammo                  None

    weight                          5
    item_flags                      0
   
    rumble                          1

    // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 single_shot sounds)
    SoundData
    {
        //reload                    Default.Reload
        //empty                     Default.ClipEmpty_Rifle
        single_shot                 Weapon_Glock.Single
    }

    // Weapon Sprite data is loaded by the Client DLL.
    TextureData
    {
        weapon
        {
                font        CSweaponsSmall
                character   C
        }
        weapon_s
        {  
                font        CSweapons
                character   C
        }
        ammo
        {
                font        CSTypeDeath
                character   R
        }
        crosshair
        {
                file        sprites/crosshairs
                x           0
                y           48
                width       24
                height      24
        }
        autoaim
        {
                file        sprites/crosshairs
                x           0
                y           48
                width       24
                height      24
        }
    }
    ModelBounds
    {
        Viewmodel
        {
            Mins    "-8 -4 -14"
            Maxs    "17 9 -1"
        }
        World
        {
            Mins    "-1 -3 -3"
            Maxs    "11 4 4"
        }
    }
}
THIS WILL ONLY WORK AGAINST BOTS OR ON SERVERS THAT HAVE IT INSTALLED.

How to install:
  1. Create a backup of the weapon_glock.txt
  2. Then change the text inside the weapon_glock.txt to the text showed under "Script Code"
  3. Save it and start up the game.

Posts

None found

Embed

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

Credits

Original Authors
zaibatsu1337
Edited the Glock stats

Submitter

zaibatsu1337 avatar
Member Joined 3y
834 points Ranked 5651st

zaibatsu1337
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
0
Views
10,281
Date Added
2y
Date Modified
4mo
Date Updated
4mo

Scores

  • Not yet rated
Sign up to access this!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
bcp.crwdcntrl.net tracking pixel