Grenade nuke: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Some fields for it: - m_flNukeStart (Offset 1288) (Save)(4 Bytes) - m_bIsNukingGrowing (Offset 1292) (Save)(1 Bytes) - m_pNukeGlow (Offset 1296) (Save)(4 Bytes) - CGrenade_NukeNukeDetonateThink (Offset 0) (FunctionTable)(0 Bytes).)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{CDA|CGrenade_Nuke|CBlackMesaBaseProjectile|CBlackMesaBaseDetonator|CBaseAnimating|CBaseEntity|}}
{{ent not in fgd|codeonly=1}}
{{ent not in fgd|codeonly=1}}
{{this is a|point entity|name=grenade_nuke|game=Black Mesa}} Unused type of grenade that available in all [[Steam]] versions of the game. The name indicates that it is a nuclear bomb. All inputs and outputs are same as [[CBaseAnimating]].
{{this is a|model entity|name=grenade_nuke|game=Black Mesa}} Unused type of grenade that available in all [[Steam]] versions of the game. The name indicates that it is a nuclear bomb. Supposed to use growing glow effect via {{ent|env_sprite}} and maybe explosion as well.
 
Represented by class <code>CGrenade_Nuke</code>.


==Dedicated [[ConVars]]==
==Dedicated [[ConVars]]==

Latest revision as of 05:35, 27 May 2025

C++ Class hierarchy
CGrenade_Nuke
CBlackMesaBaseProjectile
CBlackMesaBaseDetonator
CBaseAnimating
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.

grenade_nuke is a model entity available in Black Mesa Black Mesa. Unused type of grenade that available in all Steam versions of the game. The name indicates that it is a nuclear bomb. Supposed to use growing glow effect via env_sprite and maybe explosion as well.

Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
sk_detenator_nuke_health 1 Float Amount of health for this entity.
sk_detenator_nuke_lifetime 4 Float Amount of time this entity can life.
sk_detenator_nuke_track_acceleration 100 Float Acceleration of this entity.
sk_detenator_nuke_track_drag 0 Float Scale of drag.
sk_detenator_nuke_max_speed 800 Float Max speed of this entity.
sk_detenator_nuke_intial_speed 100 Float Intial speed of this entity.
sk_detenator_nuke_dmg 10 Float Amount of damage from this entity.
sk_detenator_nuke_dmg_radius 1024 Float Range of explosion from this entity.
sk_detenator_nuke_sprite_radius 60 Float Sprite radius.