asw_mortarbug_shell

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.

Code classes:

asw_mortarbug_shell is a point entity present in Asw.pngAlien Swarm. It's the projectile launched by mortarbugs. When placed in Hammer, it is logical to spawn them with point_template.

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
asw_mortarbug_shell_gravity0.8MultiplierScalar for the gravity on these projectiles.
asw_mortarbug_shell_fuse3SecondsTime it takes for the projectiles to explode after hitting a surface. The final time may be up to 0.3 seconds sooner or later than this time.

FGD Code[edit | edit source]

@PointClass base(Targetname, Parentname) studio("models/swarm/MortarBugProjectile/MortarBugProjectile.mdl") = asw_mortarbug_shell : "A mortarbug's projectile. Can be targeted by an ai_relationship."
[
]