CASW_Grenade_Cluster
(Redirected from Asw cluster grenade min detonation time)
Jump to navigation
Jump to search
Code classes:
CASW_Grenade_Cluster
is a code class that shouldn't have anything inheriting it except for actual cluster grenades, but it does because the ASW devs didn't know how to program. It's a grenade-type class that explodes.
Classnames:
asw_grenade_cluster
(A deployed hand grenade. This is the same entity spawned in the first and second wave of explosives. These grenades will also explode instantly if they come into contact with aliens. These grenades are also spawned by the grenade launcher, but those ones will always explode on impact with anything.)
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_cluster_grenade_min_detonation_time | 0.9 | Seconds | No effect observed. |
asw_cluster_grenade_fuse | 4 | Seconds | Fuse time of the first cluster grenade. |
asw_cluster_grenade_radius_check_interval | 0.5 | Seconds | How often grenades check for aliens to explode on. |
asw_cluster_grenade_radius_check_scale | 0.6 | Percent | What inner portion of the grenade's damage radius to use for checking aliens. By default, the damage radius is 220 world units but this can change by difficulty level and the origin/firer of the grenade. |
asw_cluster_grenade_child_fuse_min | 0.5 | Seconds | Minimum fuse time for secondary grenades. |
asw_cluster_grenade_child_fuse_max | 0.5 | Seconds | Maximum fuse time for secondary grenades. |
FGD Code[edit | edit source]
This FGD code will let you place asw_grenade_cluster
s in a map. Due to their short lifetime, it's logical to spawn them with point_template
.
@PointClass base(Targetname, Parentname, Angles) studioprop("models/swarm/grenades/HandGrenadeProjectile.mdl") = asw_grenade_cluster : "Deployed Hand Grenade. Use with point_template. Can be targeted by an ai_relationship."
[
]