Sari la conținut

Full Automatic Glock-18


kayn

Postări Recomandate

WeaponData
{
    // particle muzzle flash effect to play when fired
    Muzzl**cenzurat**ashEffect_1stPerson     weapon_muzzle_flash_pistol
    Muzzl**cenzurat**ashEffect_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"
        }
    }

 

 

  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.

 

 

 

 

 

Link spre comentariu
Distribuie pe alte site-uri

  • kayn a blocat acest topic
Vizitator
Acest topic este acum închis pentru alte răspunsuri.
×
×
  • Creează nouă...

Informații Importante

Am plasat cookie-uri pe dispozitivul tău pentru a îmbunătății navigarea pe acest site. Poți modifica setările cookie, altfel considerăm că ești de acord să continui. Also by continuing using this website you agree with the Terms of Use and Privacy Policy.