asw_rocket
Jump to navigation
Jump to search
This entity is not in the stock FGD files by default.
|
Code classes:
CASW_Rocket
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
asw_rocket
is a point entity present in Alien Swarm. These rockets home onto enemies automatically. They are shot by the hornet barrage, flechette launcher, and smart bomb.
FGD Code[edit | edit source]
@PointClass base(Targetname, Parentname) studio("models/swarm/MiniRocket/MiniRocket.mdl") = asw_rocket : "A rocket. Can be targeted by an ai_relationship." []
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_rocket_min_speed | 280 | Units per second | Minimum speed rockets may go at. |
asw_rocket_max_speed | 600 | Units per second | Maximum speed rockets may go at. |
asw_rocket_acceleration | 60 | Arbitrary number | To do: Target speed for rockets? |
asw_rocket_hover_thrust | 60 | To do: Effect description. | |
asw_rocket_hover_height | 10 | To do: Effect description. | |
asw_rocket_drag | 0.9 | Arbitrary number | How well the rocket is able to travel through the air. The closer to 0, the worse. |
asw_rocket_lifetime | 3 | Seconds | How long rockets will go around before exploding. If they hit something before this time, they will explode prematurely. |
asw_rocket_homing_range | 640000 | World units | How far away targets can be for the rocket to consider homing in on them. |
asw_rocket_wobble_freq | 0.25 | Seconds | How much time there is between each instance of the rocket changing its trajectory. |
asw_rocket_wobble_amp | 90 | Arbitrary number | How much the rocket is able to change its trajectory at once. The difference is hard to notice generally. |
asw_rocket_debug | 0 | Arbitrary number | If set to 1, prints info about rockets to the console. If set to 2, also prints their velocity. |