CASW_Parasite
(Redirected from Asw parasite defanged)
Jump to navigation
Jump to search
Code classes:
CASW_Parasite
CASW_Alien
(NPCs)CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
CASW_Parasite
is a code class shared by parasites and the very similar xenonites.
Classnames:
asw_parasite
(Parasites - Very dangerous aliens that infest marines and use their bodies to reproduce. Infestation will harm the victim until they've been healed enough for the "infested" portion of their health bar to disappear, which is only doable with a heal beacon or medical gun. A health kit can help, but usually is not enough.)asw_parasite_defanged
(Not in FGD) (Xenonites (or harvesites) - Less dangerous aliens, which are created by harvesters. They jump at marines and attack them in a suicidal manner. Xenonites will spontaneously explode after a period of inactivity.)
Tip: Parasites and xenonites will never jump over a gap larger than 170 units.
FGD Code[edit | edit source]
This code is for xenonites. Parasites are already in the FGD. Due to Hammer limitations, the entity will show the yellow parasite model.
@NPCClass base(BaseNPC) studio("models/aliens/parasite/parasite.mdl") sphere() = asw_parasite_defanged :
"A Xenonite. They're normally spawned by harvesters."
[
sleepstate(choices) : "Sleep State" : 1 : "Holds the NPC in stasis until specified condition. See also 'Wake Radius' and 'Wake Squad'." =
[
0 : "None"
1 : "Waiting for threat"
2 : "Waiting for PVS"
3 : "Waiting for input"
]
visiblewhenasleep(choices) : "Visible when asleep" : 0 : "If true, this alien will still get drawn even when asleep (useful for aliens you see far below you)." =
[
0 : "No"
1 : "Yes"
]
]
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_parasite_defanged_damage | 15 | Damage amount | How much damage is done by a xenonite attack. The final number will be affected by difficulty setting. |
asw_parasite_speedboost | 1 | Multiplier | Scales the movement speed of parasites and xenonites. |
asw_infest_angle | 0 | Degrees | Yaw angle adjustment for the infesting animation. |
asw_infest_pitch | -45 | Degrees | Pitch angle adjustment for the infesting animation. |
asw_parasite_inside | 0 | 0 disables, 1 enables | No effect. |
Flags[edit | edit source]
- 131072:
Use Ground Checks- Do not use. This is unintentionally in the FGD entry forasw_parasite
because the entry was copied fromnpc_antlion
.
Keyvalues[edit | edit source]
Alert Radius(radius)
<integer>
- Do not use, for the same reasons as the Use Ground Checks flag.
Distance until eluded(eludedist)
<integer>
- Do not use, for the same reasons as the Use Ground Checks flag.
Outputs[edit | edit source]
OnReachedFightGoal- Unusable. Part of a cut concept it seems.