Gravity Grenade
wpn_pic01_t.jpg
Taking everything and the kitchen sink.
Weapon Type Grenade
Ammo Type Frag Grenade
Damage Dynamic
First Found… d1_canals_01a
Projectile Name gravgrenade
Model v_/w_gravgren.mdl
indexsnap_gravgren_t2.jpg
A trooper gets clobbered by a pulled car.

Description Convars Keyvalues Flags Other Weapons

Description

weapon_gravgren is the entity name for the hand-held singularity generator (aka "gravity grenade") found in SMOD.

Primary Fire: Throws the device in the same manner as a frag. Shortly after, a singularity pulls physics objects to itself and then violently blows them apart. If landed on an NPC, it will usually vaporize them in a burst of dark energy.

Secondary Fire: As above but lobs the device a short distance or, if crouching, rolls it along the floor. So long as it's moving, it can still stick to NPCs.

Convars

  • weapon_cfrag_burstattached <boolean> ( Default: 1 )
    When enabled, the gravity grenade has a better chance of dissolving NPCs it's attached to.

When enabled, the gravity grenade can dissolve NPCs it sticks to. Otherwise, NPCs will only be dissolved once a killing blow's been struck.

  • weapon_cfrag_decrementammotype <see below> ( Default: 1 )
    Changes how gravity grenade ammo is used.

    0 : As you toss, you do not lose ammo.
    1 : As you toss, you lose ammo.
    2 : Once tossed, the weapon must be retrieved to use again.
  • weapon_cfrag_powerscale <float> ( Default: 1 )
    Scales the power of the gravity grenade's pull. If this value is negative, it will instead push objects away and then pull them shortly before collapsing.
  • sk_max_grenade <integer> ( Default: 5 )
    Sets how many gravity grenades the player can carry.

Keyvalues

  • targetname <string>
    Assigns the entity a targetname, used by other entities to refer to this entity. Can be shared by other entities.
  • origin <X Y Z>
    Sets the position of the entity within the world. See Coordinates.
  • angle <X Y Z>
    Sets the angular positioning (Pitch, Yaw, Roll) of the entity.
  • model <string>
    Sets the model of the entity.
  • fademindist <float>
    Sets the distance at which the entity model starts to fade. (0 : use fademaxdist)
  • fademaxdist <float>
    Sets the maximum distance at which the entity model is visible. (0 : don't fade out)
  • fadescale <float>
    The scale factor that gives some control over fading. Using 0 turns off the forced fade values.

Flags

Except where noted, flags are OFF by default.

  • 1 : Start constrained. (Prevents model movement)
  • 2 : Reserve for NPC.
  • 4 : Not throwable by the Gravity Gun.



Weapons & Tools

Hand Wpn. Crowbar   •   Golden Crowbar   •   Shovel   •   Soy Beans
Pistol/SMG .357 Magnum   •   Alyxgun   •   9mm Pistol   •   Flare Gun   •    Gauss Gun   •   Grease Gun (M3)   •   H&K MP5   •   H&K MP7 (SMG1)
Assault Wpn. Portable Airboat Gun   •   AK-47   •   Laser Gun   •   Overwatch Standard Issue (AR2)   •   Karabiner 98   •   SPAS-12 Shotgun   •   Dragunov (SVD)
Thrown ANM14 Incendiary   •   Banana Bomb   •   Bug Bait   •   Bug Spawner   •   Frag Grenade   •   Gravity Grenade   •   Vortex Hopwire   •   Trap Hopwire   •   Motion Sensor Bomb   •   Scissors
Ranged Explosive PSP   •   Rocket-Propelled Grenade (RPG)   •   Sticky Bomber   •   Portable Strider Cannon
Other Crossbow   •   Flamethrower   •   Gravity Gun   •   Magic Wand (lstick)   •   Node Maker   •   Physics Gun   •   Physics Launcher
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License