asw_rocket

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

asw_rocket is a point entity present in Asw.pngAlien 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/CommandParameters or default valueParameter TypeEffect
asw_rocket_min_speed280Units per secondMinimum speed rockets may go at.
asw_rocket_max_speed600Units per secondMaximum speed rockets may go at.
asw_rocket_acceleration60Arbitrary numberTo do: Target speed for rockets?
asw_rocket_hover_thrust60To do: Effect description.
asw_rocket_hover_height10To do: Effect description.
asw_rocket_drag0.9Arbitrary numberHow well the rocket is able to travel through the air. The closer to 0, the worse.
asw_rocket_lifetime3SecondsHow long rockets will go around before exploding. If they hit something before this time, they will explode prematurely.
asw_rocket_homing_range640000World unitsHow far away targets can be for the rocket to consider homing in on them.
asw_rocket_wobble_freq0.25SecondsHow much time there is between each instance of the rocket changing its trajectory.
asw_rocket_wobble_amp90Arbitrary numberHow much the rocket is able to change its trajectory at once. The difference is hard to notice generally.
asw_rocket_debug0Arbitrary numberIf set to 1, prints info about rockets to the console. If set to 2, also prints their velocity.