nihiballz

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CNihiBallz
CDynamicProp
CBreakableProp
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.

nihiballz is a model entity available in Black Mesa Black Mesa. This entity represents 3 different Nihilanth's projectiles, launched electric balls, shock wave and 22 electric balls wave.

The launched electric balls are created by the Nihilanth's claws. The first stage uses 4, all flies directly to the player (2 for each main claw). The second stage uses 6 (3 for each main claw), 2 flies directly to the player, the rest have the diagonal deviation. The third stage uses 10 (5 for each main claw), the same as second stage, but adds 4 more which have the vertical deviation. Used by these states: Phase1 (1), Phase2 (2), Phase3 (3) and Ballz3 (11).

The shock wave is an energy wave, which appears and falls from the top first (in the form of shooting stars), then becomes a red energy wave which goes in single direction which moves in one direction ignoring all walls and props (passes ~11,000 Hammer units). Used by states Phase3 (3) and Shockwave (12).

The 22 electric balls are balls which appears which appeared in a circle around the Nihilanth's, then fly in single direction until hit the surface. When they hit the surface, they fall and becomes purple plasma that deals damage in cycles. Used by states Phase3 (3) and Ballzout (19).

All these projectiles used by the Nihilanth's to deal damage to the player.

Icon-Bug.pngBug:The plasma and shock waves can deal damage only to the player.
The launched electric balls.
The shock wave.
The 22 electric balls.

Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
sk_nihi_ballz2_activation_delay 1.0 Float [Todo]
sk_nihi_ballz3_activation_delay 0.5 Float [Todo]
sk_nihi_ballz3_explosion_dmg 12.0 Float [Todo]
sk_nihi_ballz3_explosion_dmg_p1 16.0 Float [Todo]
sk_nihi_ballz3_explosion_dmg_p2 16.0 Float [Todo]
sk_nihi_ballz3_velocity_time 0.25 Float [Todo]
sk_nihi_ballz3_velocity_time_p1 1.0 Float [Todo]
sk_nihi_ballz3_velocity_time_p2 0.5 Float [Todo]
sk_nihi_ballz3_prediction_time 0.1 Float [Todo]
sk_nihi_ballz3_prediction_time_p1 0.05 Float [Todo]
sk_nihi_ballz3_prediction_time_p2 0.1 Float [Todo]
sk_nihi_ballz3_extraballz_pushout_dist_side 400 Float [Todo]
sk_nihi_ballz3_extraballz_pushout_dist_vert 320 Float [Todo]
sk_nihi_ballzout_activation_delay 0.5 Float [Todo]
sk_nihi_ballzout_drop_delay 0.1 Float [Todo]
sk_nihi_ballzout_velocity_time 0.5 Float [Todo]
sk_nihi_ballzout_prediction_time 1.0 Float [Todo]
sk_nihi_ballzout_dmg_over_time 2.5 Float [Todo]
sk_nihi_ballzout_dmg_over_time 2.5 Float Damage done every 0.1s.
Todo: Fix this one.
sk_nihi_ballzout_dmg_radius 250.0 Float [Todo]
sk_nihi_ballzout_aoe_ttl 5 Float [Todo]
sk_nihi_ballzout_dmg_over_time_p4 1.5 Float Damage done every 0.1s.
Todo: Fix this one.
sk_nihi_ballzout_dmg_radius_p4 150 Float [Todo]
sk_nihi_ballzout_aoe_ttl_p4 5 Float [Todo]
sk_nihi_ballzout_z_offset 350 Float [Todo]
sk_nihi_ballzout_z_offset_healingpool 500 Float [Todo]
sk_nihi_vs_ballz_pushforward_dist 15 Float [Todo]
dev_nihi_wtp1_ballz 300 Float [Todo]
sk_nihi_p1_ballz_cd 15 Float [Todo]
sk_nihi_p1_ballz_cnt 3 Float [Todo]
dev_nihi_wtp2_ballz 40 Float [Todo]
sk_nihi_p2_ballz_cd 30 Float [Todo]
sk_nihi_p2_ballz_cnt 4 Float [Todo]
sk_nihi_p3_ballz_wt 400 Float [Todo]
sk_nihi_p3_ballz_cd 0 Float [Todo]
sk_nihi_p3_ballz_cd_min 5 Float [Todo]
sk_nihi_p3_ballz_cnt 0 Float [Todo]
dev_nihi_wtp3_ballz 0 Float [Todo]
sk_nihi_p4_ballz_cd_min 5 Float [Todo]
sk_nihi_p4_ballz_cd 0 Float [Todo]
sk_nihi_p4_ballz_cnt 0 Float [Todo]