DontUseSpeechSemaphore(choices) : "Don't Use Speech Semaphore" : 0 : "Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks." =
[
0 : "No (Use speech semaphore)"
1 : "Yes (Don't use speech semaphore)"
]
input SpeakResponseConcept(string) : "Speak the specified response concept."
]
@BaseClass base(BaseNPC) = PlayerCompanion
[
input OutsideTransition(void) : "Use this input to teleport the NPC to a hintnode with the Player Squad Transition Point hint type."
input EnableAlwaysTransition(void) : "Enable the 'always transition' behavior"
input DisableAlwaysTransition(void) : "Disable the 'always transition' behavior"
input EnableSpeakWhileScripting(void) : "Allow this NPC to speak responses while in a scripted sequence or while StartScripting is active."
input DisableSpeakWhileScripting(void) : "Cancels this NPC's ability to speak responses while in a scripted sequence or while StartScripting is active if it was previously enabled by EnableSpeakWhileScripting."
AlwaysTransition(choices) : "Always transition" : "No" : "If yes, this NPC will always teleport to a Player Squad Transition Point if they're not within the trigger_transition volume." =
[
0 : "No"
1 : "Yes"
]
DontPickupWeapons(choices) : "Prevent picking up weapons?" : "No" : "If yes, this NPC will NOT be allowed to pick up weapons they find on the ground." =
[
0 : "No"
1 : "Yes"
]
GameEndAlly(choices) : "Is this a vital ally?" : "No" : "If yes, this NPC will cause the game to end if killed." =
[
0 : "No"
1 : "Yes"
]
input MakeGameEndAlly(void) : "Make this NPC a game end ally."
input MakeRegularAlly(void) : "Make this NPC a regular ally."
input GiveWeapon(string) : "Gives the NPC a weapon of the specified entity name."
input SetReadinessPanic(void) : "Set readiness to panic state (Special)"
input SetReadinessLow(void) : "Set readiness to calmest state (Bored)"
input SetReadinessMedium(void) : "Set readiness to moderate (Alert)"
input SetReadinessHigh(void) : "Set readiness to highest. (Combat imminent)"
input LockReadiness(float) : "Lock readiness at current setting for x seconds -1 = forever, 0 = unlock now"
input ClearAllOutputs(void) : "Obliterate every output that this NPC has."
output OnWeaponPickup(void) : "Fires when this NPC picks a weapon off the ground or a gun rack."
]
@BaseClass base(BaseNPC ) = RappelNPC
[
waitingtorappel(choices) : "Waiting to Rappel?" : "No" : "If yes, this NPC spawns suspended in air and awaits a BeginRappel input. It will then spawn a zipline and slide down. When it hits the ground, NPC will cut away the line and try to move forward a few feet to make room for the next NPC. The NPC will not attempt to clear its landing space if it cannot do so by taking a few steps forward" =
[
0 : "No"
1 : "Yes"
]
// Inputs
input BeginRappel(void) : "BeginRappel"
// Outputs
output OnRappelTouchdown(void) : "Fires when done rappeling"
]
@BaseClass = AlyxInteractable
[
// Outputs
output OnAlyxStartedInteraction(void) : "Fired when Alyx begins to interact with this entity."
output OnAlyxFinishedInteraction(void) : "Fired when Alyx has finished interacting with this entity."
input InteractivePowerDown(void) : "Shutdown this target."
ballcount(integer) : "Ball count" : 3 : "This is how many balls will be bouncing around inside the spawner"
minspeed(float) : "Min ball speed" : "300.0" : "The minimum speed of balls that fly in the spawner"
maxspeed(float) : "Max ball speed" : "600.0" : "The maximum speed of balls that fly in the spawner"
ballradius(float) : "Ball radius" : "20.0" : "The radius of the energy balls"
balltype(choices) : "Ball Type" : "Combine Energy Ball 1" =
[
0 : "Combine Energy Ball 1"
1 : "Combine Energy Ball 2"
2 : "Combine Energy Ball 3"
]
ballrespawntime(float) : "Ball Respawn Time" : "4.0f" : "The energy balls respawn time"
input Enable(void) : "Enable spawning of combine balls"
input Disable(void) : "Disable spawning of combine balls"
output OnBallGrabbed(void) : "Fired when a combine ball is grabbed from the field by a mega physcannon"
output OnBallReinserted(void) : "Fired when a combine ball is reinserted into the field (only gets triggered when Combine Power supply is checked)"
output OnBallHitTopSide(void) : "Fired when a combine ball in hits the top side of the field (only gets triggered when Combine Power supply is checked)"
output OnBallHitBottomSide(void) : "Fired when a combine ball in hits the bottom side of the field (only gets triggered when Combine Power supply is checked)"
output OnLastBallGrabbed(void) : "Fired when the last combine ball is grabbed from the field by a mega physcannon"
output OnFirstBallReinserted(void) : "Fired when the first combine ball is reinserted into the field (only gets triggered when Combine Power supply is checked)"
"A trigger volume that is used to define areas for using various things."
[
spawnflags(flags) =
[
//1: "Clients" : 0
2: "Marines and Aliens" : 1
4: "Pushables": 0
8: "Physics Objects" : 0
16: "Only marines" : 0
//32: "Only clients in vehicles" : 0
64: "Everything" : 0
//512: "Only clients *not* in vehicles" : 0
]
usetargetname(target_destination) : "UseTarget" : : "The name of the item this use area is connected to."
playersrequired(integer) : "Players Required" : 1 : "Number of players that must be present for the trigger to work when used. Setting this higher than the number of players currently playing will make the total number of players the actual requirement."
output OnRequirementFailed(void) : "Fired whenever a marine uses this button panel but the player requirement hasn't been met."
launchconenoise(float) : "Noise to launch direction" : "0.0" : "Noise in degrees added to the launch direction."
bullseyename(string) : "Name of bullseye" : "" : "If you select the Attach Bullseye spawnflag, you may specify a name here which will be given to the bullseye."
maxballbounces(integer) : "Max number of bounces" : 8 : "Maximum number of bounces the balls are allowed to do before they are removed."
spawnflags(Flags) =
[
1 : "Attach Bullseye" : 0
2 : "Balls should collide against player" : 0
]
// Inputs
input LaunchBall(void) : "Launch a ball from the spawner."
innerradius(integer) : "Inner radius" : 300 : "The camera will only lock onto enemies that are within the inner radius."
outerradius(integer) : "Outer radius" : 450 : "The camera will flash amber when enemies are within the outer radius, but outside the inner radius."
minhealthdmg(integer) : "Min req'd damage for hurting camera" : 0
defaulttarget(target_destination) : "Default target" : "" : "The default target is the entity that the camera follows when it has no other target to track."
// Inputs
input Disable(void) : "Disables the camera. If open, the camera closes."
input Enable(void) : "Enables the camera. If closed, the camera opens."
input Toggle(void) : "Toggle - If open, close. If closed, open."
input SetDefaultTargetEntity(string) : "Sets the entity for the camera to track when it has nothing better to track, by name."
input SetTargetEntity(string) : "Sets the entity for the camera to track now, by name."
input SetAngry(void) : "Causes the camera to become angry as if it has seen something upsetting."
input SetIdle(void) : "Causes the camera to calm down if it is angry."
output OnFoundPlayer(string) : "Fired when the player is spotted within the inner radius"
output OnFoundEnemy(void) : "Fired when a non-player enemy is spotted within the inner radius."
radius(integer) : "Patience Radius" : 0 : "Sniper will hold fire until the target is within this radius. After that, sniper will always attack, even if the target retreats outside of this radius"
misses(integer) : "Initial Misses" : 0 : "How many times to miss a target on purpose before beginning to fire accurately."
beambrightness(integer) : "Beam Brightness (0 to 255)" : 100 : "How bright the laser sight beam should be. (0 - 255)"
shootZombiesInChest(choices) : "Shoot zombies in chest" : 0 : "If true, aim for chest instead of headcrab. Useful when at great distance and height." =
PaintInterval(float): "Paint interval" : 1 : "Sniper will keep a target painted for this many seconds before shooting. 'Faster Shooting' sniper flag multiplies this by 0.75."
PaintIntervalVariance(float): "Paint interval variance" : "0.75" : "When shooting at NPCs, a random number between 0 and this is added to PaintInterval for every shot."
input SweepTargetHighestPriority(string) : "Drop everything and sweep this target!"
input SweepGroupRandomly(string) : "Randomly Sweep a Group"
input StopSweeping(void) : "Stop any target sweeping operation started by entity I/O"
input ProtectTarget(target_destination) : "Protect the specified enemy. The sniper will attempt to shoot the enemy nearest the protect target at all times."
input SetShoveTarget(string) : "Sets a shove target to attack"
input SetChargeTarget(string) : "Sets a charge target to attack. Parameters are the name of the entity to start at and the name of the entity to charge towards, separated by a space (i.e. start target)"
input ClearChargeTarget(void) : "Clear the charge target"
input SetCoverFromAttack(integer) : "Sets whether or not the creature will protect itself from attacks"
input Ragdoll(void) : "Causes the antlion guard to die, regardless of health"
input EnableBark(void) : "Allow the antlion guard to try and summon antlions"
input DisableBark(void) : "Stop the antlion guard from trying to summon antlions"
input InvestigateHint(string) : "Sniff around at a hint group until told otherwise"
input StopInvestigating(void) : "Stop trying to sniff out the player"
input EnablePreferPhysicsAttack(void) : "Prefer to use physics attacks if at all possible, even when inside a cavern."
input DisablePreferPhysicsAttack(void) : "Do not prefer to use physics attacks if at all possible, even when inside a cavern."
// Outputs
output OnSeeHiddenPlayer(void) : "Fires when the current enemy is seen while trying to hide"
output OnSmellHiddenPlayer(void) : "Fires when the current enemy is smelled while trying to hide"
output OnSummon(void) : "Antlion guard is attempting to summon antlions"
FieldOfView(string) : "FieldOfView" : "0.2" : "How far to look (1.0 = straight ahead, 0.0 = +/- 90 degrees, -1.0 = all directions)"
MinSearchDist(integer) : "Min Search Dist" : 0
MaxSearchDist(integer) : "Max Search Dist" : 2048
freepass_timetotrigger(float) : "Player pass issue time" : 0 : "Amount of time an enemy is hidden after which a 'free pass' on reaquire is granted"
freepass_duration(float) : "Player pass duration" : 0 : "After granted 'free pass', the amount of time a target is allowed before reaquire"
freepass_movetolerance(float) : "Player pass move tolerance" : 120 : "After granted 'free pass', the distance the target is allowed to move before reaquire"
freepass_refillrate(float) : "Player pass refill rate" : "0.5" : "After free pass begins expiring, how much the time the target gets back for every second they hide again"
freepass_peektime(float) : "Player pass peek time" : 0 : "How long targets in cover are allowed to peek without penalty"
StartOn(choices) : "Start On" : 1 =
[
0 : "No"
1 : "Yes"
]
// Inputs
input TurnOn(void) : "Turn on: Look for enemies"
input TurnOff(void) : "Turn off: Stop looking for enemies"
output OnLostEnemies(void) : "Fires when the enemy finder has no enemies."
output OnAcquireEnemies(void) : "Fires when the enemy finder acquires enemies."
]
@NPCClass base(Parentname, BaseNPC) size(-16 -16 -16, 16 16 16) color(255 150 0) = npc_enemyfinder_combinecannon : "EnemyFinder Specifically for use with func_tank_combine_cannon"
[
spawnflags(flags) =
[
65536 : "Check Visibility" : 1
131072 : "APC Visibility checks" : 0
262144 : "Short memory" : 0
524288 : "Can be an enemy" : 0
]
FieldOfView(string) : "FieldOfView" : "0.2" : "How far to look (1.0 = straight ahead, 0.0 = +/- 90 degrees, -1.0 = all directions)"
MinSearchDist(integer) : "Min Search Dist" : 0
MaxSearchDist(integer) : "Max Search Dist" : 2048
SnapToEnt(target_destination) : "Name of entity to snap to" : "" : "Since it can be hard to position these entities with respect to the func_tank brushwork, you can specify an entity name here and this enemyfinder will position itself at the center of that entity."
freepass_timetotrigger(float) : "Player pass issue time" : 0 : "Amount of time an enemy is hidden after which a 'free pass' on reaquire is granted"
freepass_duration(float) : "Player pass duration" : 0 : "After granted 'free pass', the amount of time a target is allowed before reaquire"
freepass_movetolerance(float) : "Player pass move tolerance" : 120 : "After granted 'free pass', the distance the target is allowed to move before reaquire"
freepass_refillrate(float) : "Player pass refill rate" : "0.5" : "After free pass begins expiring, how much the time the target gets back for every second they hide again"
freepass_peektime(float) : "Player pass peek time" : 0 : "How long targets in cover are allowed to peek without penalty"
StartOn(choices) : "Start On" : 1 =
[
0 : "No"
1 : "Yes"
]
// Inputs
input TurnOn(void) : "Turn on: Look for enemies"
input TurnOff(void) : "Turn off: Stop looking for enemies"
input SetWideFOVForSeconds(float) : "Gives this enemyfinder a 180 degree viewcone for the number of seconds specified in the parameter override"
output OnLostEnemies(void) : "Fires when the enemy finder has no enemies."
output OnAcquireEnemies(void) : "Fires when the enemy finder acquires enemies."
notifynavfailblocked(choices) : "Fire output when Nav is blocked?" : 0 =
[
0 : "No"
1 : "Yes"
]
neverleaveplayersquad(choices) : "Permanent squad member?" : 0 : "A permanent squad member cannot leave the player's squad unless killed or explicity removed by entity I/O. Only use this if you're sure you want to override the default AI." =
[
0 : "No. This is default behavior."
1 : "Yes, stay in squad until death."
]
denycommandconcept(string) : "Deny command speech concept" : "" : "If you want your citizens to squad with the player but not obey commands the player gives to move the squad, put a concept here and this citizen will speak the concept instead of obeying the order."
//Inputs
input RemoveFromPlayerSquad(void) : "Remove from player squad, instantly."
usemarch(choices) : "Walk Easy" : "0" : "When true, will use a variety of more casual walking animations instead of the standard walk. For use in crowds. WARNING: this animation only has a north component. For use under very special circumstances only." =
LaunchDelay(integer) : "Launch Delay" : 8 : "When ON, how long to wait between each launch"
LaunchSpeed(string) : "Launch Speed" : 200 : "Initial launch speed of missile (in up direction)"
PathCornerName(target_destination) : "Path Corner Name" : "" : "Name of a path corner. If set launches a pathfollowing missing, rather than a homing missile"
HomingSpeed(string) : "Homing Speed" : 0 : "Speed to reach when homing"
"A smaller, faster, strider that can pursue the player into buildings."
[
FollowTarget(target_destination) : "Strider to Follow" : "" : "The name of the strider that this hunter should follow."
// Inputs
input FollowStrider(target_destination) : "Sets the name of the strider that this hunter should follow."
input SetMinigunTime(float) : "Time to shoot at any set minigun target."
input SetMinigunTarget(string) : "Hunter will shoot minigun at the named target."
input DisableShooting(void) : "Forces the hunter to be melee-only."
input EnableShooting(void) : "Allows the hunter to use range attacks or melee attacks."
input DisableSquadShootDelay(void) : "Disables the delay between range attacks for squads of hunters, allowing them to shoot as frequently as they wish."
input EnableSquadShootDelay(void) : "Enables the delay between range attacks for squads of hunters."
input EnableUnplantedShooting(void) : "Used mainly for scripted attacks against bullseyes. Enables the hunter to shoot without having to plant first."
input DisableUnplantedShooting(void) : "Returns the hunter to normal after a call to EnableUnplantedShooting."
input DoPhysicsBlast(void) : "Hunter will instantly do the defensive physics blast."
input Crouch(void) : "Crouch down."
input Stand(void) : "Stand up from crouch."
input DisableCrouchWalk(void) : "UNUSED: Prevents the hunter from crouch walking."
input EnableCrouchWalk(void) : "UNUSED: Allows the hunter to crouch walk."
input UseSiegeTargets(string) : "Pass in the name of info_targets to shoot at when I can't shoot at the player."
levitategoal_bottom(target_destination) : "Levitation Goal Bottom" : "" : "Objects will levitate at least this high"
levitategoal_top(target_destination) : "Levitation Goal Top" : "" : "Objects will levitate at least this high"
staging_ent_names(string) : "Staging Position Names" : "" : "All entities with this name will be considered staging positions for the throw behavior."
priority_grab_name(string) : "Priority Name For Grabbing" : "" : "If any entities named this are present, the advisor will preferentially pick them up for throwing at the player."
output OnPickingThrowable(void) : "Fires just before I pick something to hurl"
output OnThrowWarn(void) : "Fires when I trigger the warning green glow before tossing"
output OnThrow(void) : "Fires just after I throw something"
output OnHealthIsNow(integer) : "When I am damaged, my hitpoints thereafter"
input SetThrowRate(float) : "Advisor will throw an object once per this many seconds (plus a little more)"
input WrenchImmediate(string) : "Advisor will immediately start levitating all objects with this name"
input SetStagingNum(integer): "Advisor will stage this many objects at once, then barrage the player."
input PinPlayer(string) : "Advisor will wrench the player to this point in the air. Use a null param to let go."
input BeamOn(string) : "Start a psychic-TK effect beam from the advisor to the specified object. You must remember to turn it off later."
input BeamOff(string) : "Turn off a psychic-TK effect beam from the advisor to the specified object."
input ELightOn(void) : "Turn on an entity light at my location. Please remember to turn this off."
input ELightOff(void) : "Turn off my entity light."
target(target_destination) : "Target" : "" : "Shoot at this target. REMEMBER - this is an effect only! It does not do damage!"
minburstsize(integer) : "Min Burst Size" : 2 : "Minimum number of rounds in a burst."
maxburstsize(integer) : "Max Burst Size" : 7 : "Maximum number of rounds in a burst."
minburstdelay(float) : "Min Delay Between Bursts" : 2 : "Minimum delay between bursts. (seconds)"
maxburstdelay(float) : "Max Delay Between Bursts" : 5 : "Maximum delay between bursts. (seconds)"
rateoffire(float) : "Rate of fire" : 10 : "Expressed as rounds per second"
spread(choices) : "Bullet spread" : 5 : "The 'cone of inaccuracy' of the shots fired by this entity." =
[
1 : "1 Degree"
5 : "5 Degrees"
10 : "10 Degrees"
15 : "15 Degrees"
]
bias(choices) : "Bullet distribution should be..." : 1 : "How to distribute bullets within the spread. Even distribution is a true scatter throughout the spread. Biased towards the outside makes the shots 'miss' the target by tending towards the outside of the spread." =
[
1 : "Evenly distributed"
-1 : "Biased towards the outside"
]
collisions(choices) : "Collision detection" : 0 : "Whether/how to handle bullet collision detection. NOTE: If you select NONE, this entity will be very cheap to use, but all bullets will stop short at their target's position in space and there will be no impact effects. Normal collision detection does the same things NPCs do when they fire their guns (except harm anything)." =
HeadcrabType(choices) : "Which headcrab to spawn?" : 0 =
[
0 : "Normal headcrabs"
1 : "Fast Headcrabs"
2 : "Poison Headcrabs"
]
HeadcrabCount(integer) : "Headcrab count" : 6 : "Number of headcrabs to spawn on impact"
FlightSpeed(float) : "Flight Speed" : 3000 : "Speed to fly through the air"
FlightTime(float) : "Flight Time" : 5 : "Time to fly through the air in seconds"
StartingHeight(float) : "Starting Height" : 0 : "Relative height from the landing position at which the canister should be launched. Positive values mean launch it above the impact point, negative values mean launch it below."
MinSkyboxRefireTime(float) : "Min Refire Time" : 0 : "Min number of seconds before the cannister is refired. This will only work for cannisters placed in the skybox."
MaxSkyboxRefireTime(float) : "Max Refire Time" : 0 : "Max number of seconds before the cannister is refired. This will only work for cannisters placed in the skybox."
SkyboxCannisterCount(integer) : "Cannister count" : 1 : "Number of cannisters to fire in the skybox (0 means fire continuously, forever)."
Damage(float) : "Impact damage" : 150 : "Max damage the canister applies on impact"
DamageRadius(float) : "Impact damage radius": 750 : "Max radius of the impact damage for the canister"
SmokeLifetime(float) : "Smoke Duration" : 30 : "Duration that the canister smokes. -1 means always smoke."
LaunchPositionName(target_destination) : "Launch Position Name" : "" : "If the canister should launch to it's origin from another point within the world, this should specify an info_target at the launch origin."
// Inputs
input FireCanister(void) : "Fire the canister"
input OpenCanister(void) : "Opens the canister (must be called after the OnImpacted output is fired)"
input SpawnHeadcrabs(void) : "Spawns headcrabs (must be called after the OnImpacted output is fired and after OpenCanister is triggered, if the Wait for Input to open spawnflag is checked.)"
input StopSmoke(void) : "Stops the smoke if it's on"
// Outputs
output OnLaunched(string) : "Fired when the canister is launched"
output OnImpacted(void) : "Fires when canister hits the ground"
output OnOpened(void) : "Fires when canister has finished opening"
HealthRegenerateEnabled(choices) : "Regenerate Health" : 0 : "Whether or not the vortigaunt will recover his own health over time like vital allies, while in combat" =
[
0 : "No"
1 : "Yes"
]
// Inputs
input EnableArmorRecharge(void) : "Allow armor recharging on players"
input DisableArmorRecharge(void) : "Do not allow armor recharging on players"
input ExtractBugbait(string) : "Causes the vortigaunt to extract bugbait from the named target passed in."
input ChargeTarget(string) : "Force the vortigaunt to charge the named target."
input EnableHealthRegeneration(void) : "Allow the vortigaunt to start regenerating his health over time, like vital allies."
input DisableHealthRegeneration(void) : "Stop the vortigaunt from regenerating his health. (Default behavior)"
"models/combine_strider_vsdog.mdl" : "The Strider that fights Dog"
]
spawnflags(Flags) =
[
65536 : "Can Stomp Player" : 0
131072 : "Minimal damage taken from NPCs (1 point per missile)" : 0
]
//Inputs
input SetMinigunTime(float) : "Time to shoot at any set minigun target"
input SetMinigunTarget(string) : "Strider will shoot minigun at this"
input DisableMinigun(void) : "Disables the minigun until further notice by the EnableMinigun input."
input EnableMinigun(void) : "Enables the minigun if it was disabled by the DisableMinigun input."
input SetCannonTarget(string) : "Strider will shoot cannon at this"
input FlickRagdoll(void) : "Strider will flick anyone he's skewered"
input StartPatrol(void) : "Start patrolling back and forth along the current track."
input StopPatrol(void) : "Stop patrolling back and forth along the track. This will cause the helicopter to come to rest at the track which he's currently flying toward."
input ChooseFarthestPathPoint(void) : "When tracking an enemy, choose the point on the path furthest from the enemy, but still in firing range"
input ChooseNearestPathPoint(void) : "When tracking an enemy, choose the point on the path nearest from the enemy"
input Crouch(void) : "Crouch down"
input CrouchInstantly(void) : "Crouch instantly. This makes the Strider pop to a crouch. Do not do this where players can observe."
input Stand(void) : "Stand up from crouch"
input DisableCrouchWalk(void)
input EnableCrouchWalk(void)
input SetTargetPath(string) : "Set a path for the strider to patrol. The strider will first move to the closest point on the path"
input ClearTargetPath(void) : "Clear the strider patrol path"
input EnableAggressiveBehavior(void) : "Use aggressive behavior. Fire faster, more frequently"
input DisableAggressiveBehavior(void) : "Stop using aggressive behavior. (Revert to normal)"
input StopShootingMinigunForSeconds(float) : "Stop shooting the minigun for a period of time (specify seconds as parameter)"
input DisableCrouch(void) : "Prevent the Strider from crouching"
input DisableMoveToLOS(void) : "Prevent the Strider from seeking Line of Sight to target. (Hold position)"
input DisableCollisionWith(string) : "Disable collision with a given object."
input EnableCollisionWith(string) : "Reenable collision with a given object."
input ScaleGroundSpeed(float) : "Scale the movement speed of the strider"
input SetNormalBBox( void ) : "Set Bounding Box to normal size"
input EnableGroundAttack( void ) : "Allow the gunship to use its ground attack"
input DisableGroundAttack( void ) : "Don't allow the gunship to use its ground attack"
input DoGroundAttack( string ) : "Causes the gunship to execute its ground attack"
input BecomeInvulnerable( void ): "Stops the gunship from taking damage, but still makes sounds effects"
input BecomeVulnerable( void ): "Makes the gunship act normally to damage"
input EnableRotorSound(void) : "Turns on rotor sounds"
input DisableRotorSound(void) : "Turns off rotor sounds"
// Outputs
output OnFireCannon(void) : "Fires when the gunship fires a cannon round"
output OnFirstDamage( void ) : "Fired when the first damage is done to the gunship."
output OnSecondDamage( void ) : "Fired when the second damage is done to the gunship."
output OnThirdDamage( void ) : "Fired when the third damage is done to the gunship."
output OnFourthDamage( void ) : "Fired when the fourth damage is done to the gunship."
spawnflags(Flags) =
[
4096 : "No ground attack" : 0
]
MaxAngAccel(float) : "Max Angular Acceleration" : 1000 : "Maximum change in rotation speed. Setting this lower means it can't start or stop turning quickly."
MaxAngVelocity(vector) : "Max Pitch Velocity" : "300 120 300" : "Maximum rotation speed. Setting this lower means it can't turn quickly."
GunRange(float) : "Crate Gun Range" : 2048 : "If the dropship's carrying a crate with a gun on it, it'll only shoot targets within this range."
RollermineTemplate(target_destination) : "Name of Rollermine Template" : "" : "If this dropship drops any rollermines due to the 'DropMines' input being fired, it will use this template for the rollermines it creates. If left blank, ordinary rollermines will be dropped."
NPCTemplate(target_destination) : "Name of Template NPC 1"
NPCTemplate2(target_destination) : "Name of Template NPC 2"
NPCTemplate3(target_destination) : "Name of Template NPC 3"
NPCTemplate4(target_destination) : "Name of Template NPC 4"
NPCTemplate5(target_destination) : "Name of Template NPC 5"
NPCTemplate6(target_destination) : "Name of Template NPC 6"
Dustoff1(target_destination) : "Name of dustoff point for NPC 1"
Dustoff2(target_destination) : "Name of dustoff point for NPC 2"
Dustoff3(target_destination) : "Name of dustoff point for NPC 3"
Dustoff4(target_destination) : "Name of dustoff point for NPC 4"
Dustoff5(target_destination) : "Name of dustoff point for NPC 5"
Dustoff6(target_destination) : "Name of dustoff point for NPC 6"
APCVehicleName(target_destination) : "Name of the APC to drop"
Invulnerable(Choices) : "Invulnerable" : 0 =
[
0 : "No"
1 : "Yes"
]
CrateType(Choices) : "Crate Type" : 2 =
[
-3 : "Jeep (No crate)"
-2 : "APC (No crate)"
-1 : "Strider (No crate)"
0 : "Roller Hopper"
1 : "Soldier Crate"
2 : "None"
]
// Inputs
input LandLeaveCrate(integer) : "Land, drop soldiers, and leave the crate behind. Specify the number of troops to drop off in the parameter."
input LandTakeCrate(integer) : "Land, drop soldiers, but don't leave the crate behind. Specify the number of troops to drop off in the parameter."
input DropMines(integer) : "Drop Rollermines. Specify the number of mines to drop in the parameter."
input DropStrider(void) : "Drop the Strider you're carrying. Now."
input DropAPC(void) : "Drop the APC you're carrying. Now."
input Hover(target_destination) : "Hover over a named target entity until told to fly to a path."
input Pickup(string) : "Pickup an entity."
input SetLandTarget(string) : "Set my land target name."
input SetGunRange(float) : "Set my crate gun's range."
input EnableRotorSound(void) : "Turns on rotor sounds"
input DisableRotorSound(void) : "Turns off rotor sounds"
input StopWaitingForDropoff(void) : "Stop waiting for the dropoff. Dropoff as soon as possible."
// Outputs
output OnFinishedDropoff(void) : "Fires when the dropship has finished a dropoff."
output OnFinishedPickup(void) : "Fires when the dropship has finished a pickup."
output OnCrateShotDownBeforeDropoff(float) : "Fires when the container was shot down before it dropped off soldiers. The parameter contains the number of soldiers that weren't successfully dropped off."
output OnCrateShotDownAfterDropoff(void) : "Fires when the container was shot down after it dropped off soldiers."
GracePeriod(float) : "Grace Period" : "2.0" : "Time in seconds the helicopter has to see the player before he starts shooting"
PatrolSpeed(float) : "Patrol Speed" : "0" : "Speed at which the helicopter moves if he has no enemy."
noncombat(choices) : "Non-combat (Do not precache gibs)" : "No" =
[
0 : "No"
1 : "Yes"
]
// Inputs
input GunOn(void) : "GunOn"
input GunOff(void) : "GunOff"
input MissileOn(void) : "MissileOn"
input MissileOff(void) : "MissileOff"
input EnableRotorWash(void) : "Turns on rotor wash effects"
input DisableRotorWash(void) : "Turns off rotor wash effects"
input EnableRotorSound(void) : "Turns on rotor sounds"
input DisableRotorSound(void) : "Turns off rotor sounds"
input StartBombingVehicle(void) : "Starts the chopper leading enemy vehicles and dropping bombs on them."
input StartTrailingVehicle(void) : "Starts the chopper trailing enemy vehicles and shooting at them."
input StartDefaultBehavior(void) : "Starts the chopper in the mode where he always stops at nav points instead of stopping anywhere in between nav points."
input StartAlwaysLeadingVehicle(void) : "Starts the chopper *always* leading enemy vehicles (regardless of how they are moving w/respect to the path) and dropping bombs on them. This mode is different from StartBombingVehicle in that it never uses the machine gun."
input StartSprinkleBehavior(void) : "Starts the chopper dropping bombs randomly + shooting at the player."
input StartBullrushBehavior(void) : "Starts the chopper bullrushing the player."
input SetHealthFraction(float) : "Sets the chopper health as a percentage of max health"
input EnableDeadlyShooting(void) : "Starts the chopper being deadly to on-foot players"
input DisableDeadlyShooting(void) : "Stops the chopper being deadly to on-foot players"
input StartNormalShooting(void) : "The chopper will fire in short bursts. Good for on-foot experiences"
input StartLongCycleShooting(void) : "The chopper fires in long bursts"
input StartContinuousShooting(void) : "The chopper fires continuously."
input StartFastShooting(void) : "The chopper fires normal bursts, but does not 'charge up' the gun. Fires immediately."
input ResetIdleTime(void) : "Allows the helicopter to fire immediately if he's not in the middle of charging or firing"
input SetAngles(string) : "Instantly snaps the orientation of the helicopter (Pitch Yaw Roll)"
input DropBomb(void) : "Immediately drops a bomb based on normal bomb dropping rules"
input DropBombStraightDown(void) : "Immediately drops a bomb directly downwards"
input DropBombAtTarget(target_destination) : "Immediately drops a bomb directly at the target destination, but only if the player isn't right there"
input DropBombAtTargetAlways(target_destination) : "Immediately drops a bomb directly at the target destination, no matter whether it's fair or not."
input DropBombDelay(float) : "Add a delay before the next bomb is dropped"
input BecomeIndestructible(void) : "Makes the helicopter take no more damage"
input DisablePathVisibilityTests(void) : "When the helicopter moves, he will not check for visibility from the path_track to the enemy to cull out path_tracks"
input EnablePathVisibilityTests(void) : "When the helicopter moves, he will only move to path_tracks that have line-of-sight to the enemy"
input StartCarpetBombing(void) : "Starts the helicopter constantly dropping megabombs until StopCarpetBombing input"
input StopCarpetBombing(void) : "Stop the carpet bombing behavior"
// Outputs
output OnHealthChanged(integer) : "Fires when the helicopter health changes. The integer is the percentage of health the chopper has from 0-100."
output OnShotDown(void) : "Fires the instant the helicopter is killed"
input InspectTargetPhoto(string) : "Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also."
input InspectTargetSpotlight(string) : "Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also."
input InputSetFlightSpeed(integer) : "Sets the flight speed of the scanner"
input InputShouldInspect(integer) : "Set whether should inspect or not"
input SetFollowTarget(string) : "Set target to follow until told otherwise"
input ClearFollowTarget(void) : "Stop following our target"
input SetDistanceOverride(float) : "Override the distance the scanner will attempt to keep between inspection targets and itself"
input InspectTargetPhoto(string) : "Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also."
input InspectTargetSpotlight(string) : "Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also."
input InputSetFlightSpeed(integer) : "Sets the flight speed of the scanner"
input InputShouldInspect(integer) : "Set whether should inspect or not"
input SetFollowTarget(string) : "Set target to follow until told otherwise"
input ClearFollowTarget(void) : "Stop following our target"
input SetDistanceOverride(float) : "Override the distance the scanner will attempt to keep between inspection targets and itself"
DontPickupWeapons(choices) : "Prevent picking up weapons?" : "1" : "If yes, this NPC will NOT be allowed to pick up weapons they find on the ground." =
[
0 : "No"
1 : "Yes"
]
ShouldHaveEMP(choices) : "Should alyx have her EMP?" : "1" =
[
0 : "No"
1 : "Yes"
]
// Inputs
input AllowInteraction(void) : "Allow Alyx's 'hacking' AI to run."
input SetStateReady(void) : "Set the object's state to READY. Fire this input when the object has been unlocked/opened or otherwise made ready for interaction."
input SetStateFinished(void) : "Fire this input when the NPC has completed the interaction with this object."
output OnBeginApproach(void) : "Fired when the NPC begins to approach the position"
output OnMakeReady(void) : "Make the item ready to operate"
output OnBeginOperating(void) : "Fired when the NPC is ready to operate"
input SetPickupTarget(string) : "Sets the target entity for dog to pickup."
input StartCatchThrowBehavior(string) : "Tells d0g to start playing with the player. You can pass in the name of the object you want him to play with otherwise he'll find the closes phys_object."
input StopCatchThrowBehavior(string) : "Stop the catch and throw behavior."
input PlayerPickupObject(void) : "Tells d0g the physgun just picked up an object."
input StartWaitAndCatch(void) : "Tells d0g to wait for the player to throw an object at him."
input StopWaitAndCatch(void) : "Tells d0g to stop waiting for the player."
input SetThrowArcModifier(float) : "Used to pass in a modifier for d0g's object flight arc."
input SetThrowTarget(string) : "Set d0g's throw target (pass in !player if you want the player)"
input TurnBoneFollowersOff(void) : "Turn dog's bone followers off"
input TurnBoneFollowersOn(void) : "Turn dog's bone followers on"
// Outputs
output OnDogThrow(void) : "Fires when dog throws an object."
output OnDogPickup(void) : "Fires when dog picks up an object."
output OnDogCatch(void) : "Fires when dog catches an object."
2048 : "Try to spawn close to the current target" : 0
4096 : "Pick a random fight target" : 0
8192 : "Try to play blocked effects near the player" : 0
]
TemplateName(target_destination) : "Name of template NPC"
spawngroup(string) : "Spawn on Hint Group" : "" : "If specified, children will spawn on a hint node from this group, nearest the target."
spawnradius(float) : "Spawn radius" : 512 : "Target must be within this distance of any node in the hint group specified above. If the target is outside the radius, no NPC will spawn."
spawntarget(string): "Spawn target" : "" : "Targetname of the entity to try and spawn near."
fighttarget(string): "Fight target" : "" : "Targetname of an entity used as a goal for the children to fight to."
followtarget(string): "Follow target" : "" : "Targetname of an entity used as a goal for the children to follow."
vehicledistance(float): "Vehicle Spawn Distance" : "1" : "This is a modifier of the current spawn distance. Spawn distance on a vehicle is based on speed, so this is just a modifier for it."
workerspawnrate(float): "Random Worker Spawn Rate" : "0" : "Percentage chance that a spawned antlion will be a worker. (0 = no chance, 1 = 100% chance)"
ignorebugbait(choices): "Ignore Bugbait" : "0" =
[
0 : "No"
1 : "Yes"
]
pool_start(integer) : "Initial antlions in the pool." : 0 : "Number of antlions in the pool at map start."
pool_max(integer) : "Max antlions in the pool." : 0 : "Maximum number of antlions allowed in the pool. If 0, pool behavior is turned off."
pool_regen_amount(integer) : "Pool regen amount." : 0 : "This is the number of antlions added to the pool every time it regenerates."
pool_regen_time(float) : "Pool regen time." : 0 : "Time interval between pool regeneration ticks."
// Inputs
input SetFightTarget(string) : "Sets the target entity for children to fight to."
input ClearFightTarget(void) : "Clears the fight target goal for this spawner."
input SetFollowTarget(string) : "Sets the target entity for children to follow."
input ClearFollowTarget(void) : "Clears the follow target goal for this spawner."
input SetSpawnRadius(float) : "Sets the Spawn Radius."
input AddToPool(integer) : "Add the number of antlions specified in the parameter to the pool."
input SetMaxPool(integer) : "Set the maximum number of antlions allowed in the pool at any time. Setting it to 0 turns off the pool behavior."
input SetPoolRegenAmount(integer) : "Set the number of antlions added to the pool every time it regenerates."
input SetPoolRegenTime(float) : "Set the time interval between pool regeneration ticks."
input ChangeDestinationGroup(string) : "Change the spawn group for this spawner."
// Outputs
output OnAllBlocked(void) : "Fires when all the hint nodes are blocked."
m_iszEntity(target_destination) : "Target NPC" : : "The name or class name (such as 'npc_zombie') of an NPC to use for this script."
m_iszIdle(string) : "Pre Action Idle Animation" : "" : "The name of the sequence (such as 'idle01') or activity (such as 'ACT_IDLE') to play before the action animation if the NPC must wait for the script to be triggered. Use 'Start on Spawn' flag or MoveToPosition input to play this idle animation."
m_iszEntry(string) : "Entry Animation" : "" : "The name of the sequence (such as 'reload02') or activity (such as 'ACT_RELOAD') to play when the sequence starts, before transitioning to play the main action sequence."
m_iszPlay(string) : "Action Animation" : "" : "The name of the main sequence (such as 'reload02') or activity (such as 'ACT_RELOAD') to play."
m_iszPostIdle(string) : "Post Action Idle Animation" : "" : "The name of the sequence (such as 'idle01') or activity (such as 'ACT_IDLE') to play after the action animation."
m_iszCustomMove(string) : "Custom Move Animation" : "" : "Used in conjunction with the 'Custom movement' setting for the 'Move to Position' property, specifies the sequence (such as 'crouch_run01') or activity (such as 'ACT_RUN') to use while moving to the scripted position."
m_bSynchPostIdles(Choices) : "Synch Post Idles?" : 0 =
[
0 : "No"
1 : "Yes"
]
m_flRadius(integer) : "Search Radius (0=everywhere)" : 0 : "Radius to search within for an NPC to use. 0 searches everywhere."
m_flRepeat(integer) : "Repeat Rate ms" : 0
m_fMoveTo(Choices) : "Move to Position" : 1 =
[
0 : "No"
1 : "Walk"
2 : "Run"
3 : "Custom movement"
4 : "Instantaneous"
5 : "No - Turn to Face"
]
m_iszNextScript(target_destination) : "Next Script" : : "The name of the script to run immediately after this script completes. The NPC will not return to AI between the two scripts."
m_bIgnoreGravity(choices) : "Ignore Gravity on NPC during script" : 0 : "If this is set to 'Yes', the NPC will not be subject to gravity while playing this script." =
[
0 : "No"
1 : "Yes"
]
m_bDisableNPCCollisions(choices) : "Disable NPC collisions during script" : 0 : "Useful for when NPCs playing scripts must interpenetrate while riding on trains, elevators, etc. This only disables collisions between the NPCs in the script and must be enabled on BOTH scripted_sequences." =
[
0 : "No"
1 : "Yes"
]
// Inputs
input BeginSequence(void) : "Summons an NPC to act out the scripted sequence."
input MoveToPosition(void) : "Summons an NPC to the script location. They will play their scripted idle (or ACT_IDLE if none is specified) until BeginSequence is triggered."
input CancelSequence(void) : "Stops the scripted sequence. If fired after a sequence starts, this input will not take effect until the NPC finishes playing the scripted action animation."
// Outputs
output OnBeginSequence(void) : "Fires when the action animation begins playing."
output OnEndSequence(void) : "Fires when the action animation completes."
output OnCancelSequence(void) : "Fires when the sequence is cancelled."
output OnCancelFailedSequence(void) : "Fires when the sequence is cancelled without ever playing (OnCancelSequence will also fire)."
output OnScriptEvent01(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 1 } in the QC."
output OnScriptEvent02(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 2 } in the QC."
output OnScriptEvent03(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 3 } in the QC."
output OnScriptEvent04(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 4 } in the QC."
output OnScriptEvent05(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 5 } in the QC."
output OnScriptEvent06(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 6 } in the QC."
output OnScriptEvent07(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 7 } in the QC."
output OnScriptEvent08(void) : "Fires when a 'trigger' anim event occurs while playing the script. Use { event 1003 framenum 8 } in the QC."
"AI Relationship - Sets relationships between groups of NPCs in the AI."
[
subject(target_name_or_class) : "Subject(s)" : "" : "This is the NPC(s) whose disposition will change. May be a targetname or a classname."
target(target_name_or_class) : "Target(s)" : "" : "This is the NPC(s) about whom the Subject(s) will change their disposition. May be a tarGetname or a classname."
disposition(choices) : "Disposition" : 3 : "Choose the way the Subject(s) should feel about the Target(s)" =
[
// These MUST match the enum in the code! (basecombatcharacter.h)
1 : "Hate"
2 : "Fear"
3 : "Like"
4 : "Neutral"
]
radius(float) : "Radius for subject" : 0
rank(integer) : "Disposition Priority" : 0 : "How much the Subject(s) should Like/Hate/Fear the Target(s). Higher priority = stronger feeling."
StartActive(choices) : "Start Active" : 0 =
[
0 : "No"
1 : "Yes"
]
Reciprocal(choices) : "Reciprocal" : 0 : "Set this to YES to have the new relationship mirrored by Target" =
[
0 : "No"
1 : "Yes"
]
spawnflags(flags) =
[
1 : "Notify subject of target's location" : 0
2 : "Notify target of subject's location" : 0
]
// Inputs
input ApplyRelationship(void) : "Apply relationship changes. This will change all Subject entities' relationships to all Target entities. \n\nIMPORTANT: Once you ApplyRelationships, this entity is then 'ALWAYS ON' until you send a Disable input or RevertRelationship input. During the time this entity is 'ON', any entities that spawn who match the Subject or Target names will be affected. \n\nIMPORTANT: Unpredictable results may occur when two ai_relationship entities refer to the same set or subset of target or subject entities. This situation should be avoided."
input RevertRelationship(void) : "Revert relationship changes. This will return the relationship to what it was at the time the ApplyRelationship input was called (or when this ai_relationship was spawned if StartActive is set)."
input RevertToDefaultRelationship(void) : "Revert relationship changes to the default relationship, which may have changed since this ai_relationship was applied. This returns control of the entity relationship to the code."
maxallies(integer) : "Maximum number of allies" : 5
maxmedics(integer) : "Maximum number of medics" : 1
// Inputs
input SetMaxAllies(integer) : "Set maximum number of allies"
input SetMaxMedics(integer) : "Set maximum number of medic allies"
input Replenish(void) : "Replenish player allies"
// Outputs
output SpawnMedicAlly(void) : "Spawn Medic Ally"
output SpawnAlly0(void) : "Spawn Ally 0"
output SpawnAlly1(void) : "Spawn Ally 1"
output SpawnAlly2(void) : "Spawn Ally 2"
output SpawnAlly3(void) : "Spawn Ally 3"
output SpawnAlly4(void) : "Spawn Ally 4"
output SpawnAlly5(void) : "Spawn Ally 5"
output SpawnAlly6(void) : "Spawn Ally 6"
output SpawnAlly7(void) : "Spawn Ally 7"
output SpawnAlly8(void) : "Spawn Ally 8"
output SpawnAlly9(void) : "Spawn Ally 9"
output OnZeroAllies(void) : "Fires when there are no more allies"
output OnZeroMedicAllies(void) : "Fires when there are no more allies"
]
@BaseClass base(Targetname) = LeadGoalBase
[
actor(target_name_or_class) : "Actor(s) to affect"
goal(string) : "Target Entity"
WaitPointName(target_destination) : "Point to wait at if the target's not visible"
WaitDistance(float) : "Wait until player gets this close"
LeadDistance(float) : "Lead Distance" : "64" : "The player is considered to be lagging if he's beyond this distance. The Actor will consider retrieving when the player is 4x 'Lead Distance' away."
RetrieveDistance(float) : "Retrieve Distance" : "96" : "The distance from the player that the NPC should return to when retrieving a lagging player. Must be between ('Lead Distance' + 24) and ('Lead Distance' * 4) to avoid the leader ping-ponging."
SuccessDistance(float) : "Success Distance" : "0" : "The distance from the player (to the NPC) that the player must be within for the Lead to succeed, once the NPC has reached the goal. If set to 0, it'll use the lead distance instead (for legacy support)."
LeadDuringCombat(choices) : "Lead during combat?" : 0 =
[
0 : "No. Stop to fight, resume leading when safe."
1 : "Yes, lead while fighting."
]
GagLeader(choices) : "Gag Leader?" : 0 =
[
0 : "No. Speak lead concepts normally, respecting other lead speech settings."
1 : "Yes, don't speak any lead concepts at all, overriding all other lead speech settings."
]
AttractPlayerConceptModifier(string) : "Attract player concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_ATTRACTPLAYER' concept is spoken."
WaitOverConceptModifier(string) : "Player wait over concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_WAITOVER' concept is spoken."
ArrivalConceptModifier(string) : "Arrival concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_ARRIVAL' concept is spoken."
SuccessConceptModifier(string) : "Success concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_SUCCESS' concept is spoken."
FailureConceptModifier(string) : "Failure concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'lead_fail' concept is spoken."
ComingBackConceptModifier(string) : "Coming Back concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_RETRIEVE' concept is spoken. Spoken as the NPC starts returning to the player to retrieve him."
RetrieveConceptModifier(string) : "Retrieve concept modifier" : "" : "Appended to the keyvalues passed into the response rules when the 'TLK_LEAD_COMINGBACK' concept is spoken. Spoken when NPC has finally reached the player to retrieve him."
// Spawnflags
spawnflags(Flags) =
[
1 : "No def success" : 0
2 : "No def failure" : 0
4 : "Use goal facing" : 1
]
// Inputs
input Activate( void ) : "Begin the leading behavior"
input Deactivate( void ) : "Stop the leading behavior"
input SetSuccess( void ) : "Notify success of leading"
input SetFailure( void ) : "Notify failure of leading"
// Outputs
output OnArrival( void ) : "Fires when NPC reaches the lead point"
output OnArrivalDone( void ) : "Fires when NPC has played out any arrival speech"
output OnSuccess( void ) : "Fires when NPC achieves the goal"
output OnFailure( void ) : "Fires when NPC fails to achieves the goal"
output OnDone( void ) : "Fires when NPC completes behavior (any post-success or fail acting is complete)"
"AI Goal Lead (Weapon). A version of the ai_goal_lead entity that requires the player to have the specified weapon before the Actor(s) will lead the player to their target."
assaultgroup(string) : "Assault Hint Group" : "" : "NPC's movements are constrained to this hint group once assault has begun"
nextassaultpoint(target_destination) : "Next assault point (optional)"
assaulttimeout(float) : "Assault time out" : "3.0" : "This point is cleared when no enemies are seen for this long (seconds)"
clearoncontact(choices) : "Clear on contact with enemies" : 0 : "If you come in contact with enemies while approaching the assault point, clear our assault point" =
[
0 : "No"
1 : "Yes"
]
allowdiversion(choices) : "Allow diversion" : 0 : "If you come in contact with enemies while approaching the assault point, divert to kill them. Resume the assault once contact is lost." =
[
0 : "No"
1 : "Yes"
]
allowdiversionradius(float) : "Diversion Proximity" : 0 : "If Allow Diversion is set, NPC will only divert from assault to attack an enemy that is within this distance of the assault point. 0 = No limit."
nevertimeout(choices) : "Never Timeout" : 0 : "If set, the assault never ends for NPCs assaulting this point. Useful for forcing NPCs back to a point." =
[
0 : "No"
1 : "Yes"
]
strict(choices) : "Strict?" : 0 =
[
0 : "No, NPC may move from point to attack"
1 : "Yes, NPC may not move to attack"
]
spawnflags(Flags) =
[
1 : "Clear this point upon arrival, UNCONDITIONALLY" : 0
]
forcecrouch(choices) : "Force Crouch" : 0 : "NPCs using this assault point are forced into crouching while holding it." =
[
0 : "No"
1 : "Yes"
]
urgent(choices) : "Urgent" : 0 : "If true, NPCs will consider movement to this assault point as Urgent Navigation." =
[
0 : "No"
1 : "Yes"
]
assaulttolerance(choices) : "Attack Tolerance" : 36 : "How far this NPC may move from the assault point to try to attack an enemy." =
[
36 : "Tight (3ft)"
72 : "Medium (6ft)"
120 : "Large (10ft)"
]
// Inputs
input SetClearOnContact(integer) : "Set the clear on contact flag. NPCs who spot enemies while running to the assault point, or while waiting at it, will immediately Clear it."
input SetAllowDiversion(integer) : "Set the allow diversion flag. NPCs who spot enemies whil running to the assault point, or while waiting on it, will divert away (leave Assault mode) to deal with the enemies. Upon losing enemies, they'll go back to Assault mode, and return to this assault point."
input SetForceClear(integer) : "Set the Force Clear flag. NPCs who are currently running to the assault point will Clear it immediately. NPCs who acquire it in the future will Clear it automatically."
// Outputs
output OnArrival(void) : "Fires when the NPC reaches this assault point"
output OnAssaultClear(void) : "Fires when this assault point is cleared of enemies"
]
@PointClass base(Targetname) = ai_goal_assault :
"AI Goal Assault"
[
actor(target_name_or_class) : "Actor(s) to affect" : "" : "NPC's that should perform this assault"
rallypoint(target_destination) : "Rally Point Set" : "" : "Root name of rally points for this assault. Use an asterisk '*' after the root name to match all with the same root."
SearchType(choices) : "Search Type" : 0 : "How to search for the entities using the targetname." =
[
0 : "Entity Name"
1 : "Classname"
]
StartActive(choices) : "Start Active" : 0 =
[
0 : "No"
1 : "Yes"
]
AssaultCue(choices) : "Assault Cue" : 1 =
[
1 : "Entity System Input"
2 : "Gunfire"
3 : "Don't wait for a cue."
]
RallySelectMethod(choices) : "Rally Point Selection Method" : 0 =
[
0 : "Priority, Distance (default)"
1 : "Random"
]
// Inputs
input Activate( void ) : "Begin the assault behavior"
input Deactivate( void ) : "Cease the assault behavior"
input SetBusySearchRange( float ) : "Update the busy search range for all actors."
input ForceNPCToActBusy( string ) : "Force an NPC to act busy. Takes parameters, separated by spaces: <Targetname> <hint node targetname> <optional:teleport> <optional:$customactivityorsequence> <maximum time to actbusy>. If no hint node targetname is specified, it'll search for a random one. If no max time is specified, it'll use the default. Specifying 0 as the max time will make the NPC act busy until disturbed. If the optional teleport parameter is specified, the NPC will teleport to the act busy point. A custom move animation can be specified by prepending $ to the name of it. i.e. $ACT_RUN will make the NPC Run. Sequence names can be used instead of activities."
input ForceThisNPCToActBusy( string ) : "Force an NPC outputted from another entity to act busy. (only usable from an output that specifies an entity)"
input ForceThisNPCToLeave( string ) : "Force an NPC outputted from another entity to find a HINT_NPC_EXIT_POINT hintnode and vanish."
// Outputs
output OnNPCStartedBusy(string) : "Fired when an NPC targeted by this goal starts an ActBusy animation."
output OnNPCFinishedBusy(string) : "Fired when an NPC targeted by this goal finishes an ActBusy."
output OnNPCLeft(string) : "Fired when an NPC target by this goal finishes a forced Leave."
seeentity(target_name_or_class) : "Sight Entity" : "" : "The Sight Entity (if you provide one) is an entity that will leave the current ActBusy if the Actor playing the ActBusy loses sight of it for the amount of time specified in 'Sight Entity Timeout'. THIS MAY ONLY BE A TARGET NAME. NO CLASSNAMES."
seeentitytimeout(string) : "Sight Entity Timeout" : "1" : "If you provide a Sight Entity, the Actor will leave the current ActBusy if the Actor has lost sight of Sight Entity for this many seconds."
sightmethod(choices) : "Sight Enemy Method" : 0 : "The method to use to determine whether the Sight enemy is visible." =
[
0 : "Default. LOS -and- Viewcone"
1 : "LOS Only. Disregard Viewcone"
]
type(choices) : "Actbusy Type" : 0 =
[
0 : "Default (Standard)"
1 : "Combat"
]
safezone(target_destination) : "Combat Safe Zone" : "" : "Only for combat actbusy. Lets you specify a volume which is the 'safe zone'. The Combat ActBusy will cancel if any enemies are seen in the safe zone."
allowteleport(choices) : "Allow actor to teleport?" : 0 =
[
0 : "No"
1 : "Yes (Only for Combat Actbusy)"
]
output OnNPCLostSeeEntity(void) : "Fired when the NPC loses sight of the see entity (if one is specified)."
output OnNPCSeeEnemy(void) : "Fired when this NPC leaves his actbusy because of sighting an enemy."
node_exit(target_destination) : "Exit Node" : "" : "The name of the node the first NPC in the queue should move to when he leaves the head of the queue."
node01(target_destination) : "Node 1" : "" : "The name of the first actbusy hint node in the queue."
node02(target_destination) : "Node 2" : "" : "The name of the second actbusy hint node in the queue."
node03(target_destination) : "Node 3" : "" : "The name of the third actbusy hint node in the queue."
node04(target_destination) : "Node 4" : "" : "The name of the fourth actbusy hint node in the queue."
node05(target_destination) : "Node 5" : "" : "The name of the fifth actbusy hint node in the queue."
node06(target_destination) : "Node 6" : "" : "The name of the sixth actbusy hint node in the queue."
node07(target_destination) : "Node 7" : "" : "The name of the seventh actbusy hint node in the queue."
node08(target_destination) : "Node 8" : "" : "The name of the eighth actbusy hint node in the queue."
node09(target_destination) : "Node 9" : "" : "The name of the ninth actbusy hint node in the queue."
node10(target_destination) : "Node 10" : "" : "The name of the tenth actbusy hint node in the queue."
node11(target_destination) : "Node 11" : "" : "The name of the eleventh actbusy hint node in the queue."
node12(target_destination) : "Node 12" : "" : "The name of the twelfth actbusy hint node in the queue."
node13(target_destination) : "Node 13" : "" : "The name of the thirteenth actbusy hint node in the queue."
node14(target_destination) : "Node 14" : "" : "The name of the fourteenth actbusy hint node in the queue."
node15(target_destination) : "Node 15" : "" : "The name of the fifteenth actbusy hint node in the queue."
node16(target_destination) : "Node 16" : "" : "The name of the sixteenth actbusy hint node in the queue."
node17(target_destination) : "Node 17" : "" : "The name of the seventeenth actbusy hint node in the queue."
node18(target_destination) : "Node 18" : "" : "The name of the eighteenth actbusy hint node in the queue."
node19(target_destination) : "Node 19" : "" : "The name of the nineteenth actbusy hint node in the queue."
node20(target_destination) : "Node 20" : "" : "The name of the twentieth actbusy hint node in the queue."
mustreachfront(choices) : "Must Reach Front" : 0 : "If true, NPCs much reach the front node in the queue before they're allowed to leave the queue." =
[
0 : "No"
1 : "Yes"
]
// Inputs
input PlayerStartedBlocking(float) : "Tell the queue manager that the player has started blocking a spot in the queue."
input PlayerStoppedBlocking(float) : "Tell the queue manager that the player has stopped blocking a spot in the queue."
input MoveQueueUp(void) : "Force the queue to move up, sending the front-most NPC out of the queue."
// Outputs
output OnQueueMoved(float) : "Fired when the queue moves. Outputs the number of NPCs left in the queue."
output OnNPCStartedLeavingQueue(string) : "Fired when the NPC at the head of the queue starts to leave. The activator is the NPC, and the string is the name of the NPC."
output OnNPCLeftQueue(string) : "Fired when the NPC at the head of the queue leaves. The activator is the NPC, and the string is the name of the NPC."
target(target_destination) : "Target entity" : : "Name of entity whose target will be changed."
m_iszNewTarget(string) : "New Target"
// Inputs
input Kill( void ) : "Removes this entity from the world"
input Activate( void ) : "Changes the entities target"
]
@PointClass base(Targetname) size(-8 -8 -8, 8 8 8) = ai_npc_eventresponsesystem : "An entity that allows you to generate events for nearby friendly NPCs to respond to."
[
input TriggerResponseEvent(string) : "Fire an NPC Response Event. The parameter should match the response rules concept that any nearby friendly NPCs will try to speak."
input ForceTriggerResponseEvent(string) : "Fire an NPC Response Event, and force the first available NPC to speak the response (breaking them out of any scene they're in). The parameter should match the response rules concept that any nearby friendly NPCs will try to speak."
input ForceTriggerResponseEventNoCancel(string) : "Fire an NPC Response Event, and force the first available NPC to speak the response (but don't break them out of any scene they're in). The parameter should match the response rules concept that any nearby friendly NPCs will try to speak."
ScriptStatus(choices) : "Actor is running a script?" : 2 =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
RequiredTime(float) : "Required Time" : 0 : "Duration of time that all the conditions must be true"
MinTimeout(float) : "Minimum time out" : 0 : "Minimum time before OnConditionsTimeout is fired. 0 = never expire."
MaxTimeout(float) : "Maximum time out" : 0 : "Maximum time before OnConditionsTimeout is fired. 0 = ignore (If you don't specify a Maximum timeout, conditions will time out at exactly Minimum Time Out. If you DO specify a Maximum time out, timeout will occur randomly between Minimum and Maximum time out values.)"
ActorSeePlayer(choices) : "Actor Sees Player" : 2 =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
PlayerActorProximity(float) : "Player distance" : 0 : "The distance the player must/must not be to the actor. Negative values for NOT, 0 for ignore."
PlayerActorFOV(float) : "Player FOV for Actor " : 360 : "Specify angle of view cone in degrees. Negative value = NOT"
PlayerActorFOVTrueCone(choices ) : "Play FOV to Actor is a true view cone" : 0 : "Player's view cone is evaluated as a true cone, not pie slice " =
[
0 : "No - Tall pie slice"
1 : "Yes - True view cone"
]
PlayerActorLOS(choices) : "Player has LOS to Actor" : 2 : "Checks that the player has clear Line of Sight to the Actor" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
target(target_destination) : "Target (Optional)" : : "Optional entity to include in conditions"
ActorSeeTarget(choices) : "Actor Sees Target" : 2 =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
ActorTargetProximity(float) : "Target distance" : 0 : "The distance the actor must/must not be to the Target. Negative values for NOT, 0 for ignore."
PlayerTargetProximity(float) : "Player distance from Target" : 0 : "The distance the player must/must not be to the Target. Negative values for NOT, 0 for ignore."
PlayerTargetFOV(float) : "Player FOV for Target" : 360 : "Specify angle of view cone in degrees. Negative value = NOT"
PlayerTargetFOVTrueCone(choices ) : "Play FOV to Target is a true view cone" : 0 : "Player's view cone is evaluated as a true cone, not pie slice " =
[
0 : "No - Tall pie slice"
1 : "Yes - True view cone"
]
PlayerTargetLOS(choices) : "Player has LOS to Target" : 2 : "Checks that the player has clear Line of Sight to the Target" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
PlayerBlockingActor(choices) : "Player blocking Actor" : 2 : "Checks that the player is blocking the Actor's path" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
ActorInPVS(choices) : "Actor in Player's PVS" : 2 : "Checks that the actor is in the player's PVS" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
ActorInVehicle(choices) : "Actor in a vehicle" : 2 : "Checks the actor's state in a vehicle" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
PlayerInVehicle(choices) : "Player in a vehicle" : 2 : "Checks the player's state in a vehicle" =
[
0 : "No"
1 : "Yes"
2 : "Don't care"
]
spawnflags(Flags) =
[
1 : "Fire outputs with the Actor as Activator" : 0
]
// Inputs
input Enable(void) : "Enable this entity"
input Disable(void) : "Disable this entity"
// Outputs
output OnConditionsSatisfied(void) : "Fires when AI conditions satisfied"
output OnConditionsTimeout(void) : "Fires when AI conditions timed out"
output NoValidActor(void) : "Fires if/when there are no matching actors in the map."
"Grabs an NPC and makes them play a specified set of animations. The NPC can be told to move to the scripted sequence position or can "+
"be told to play the script wherever they currently are. "+
"Multiple scripted sequences of the same name will frame-synchronize in the action animation once all the actors have moved to position. "+
"This allows tight interaction between actors (one actor grabbing another, hitting them, etc.) The flow is as follows:\n\n"+
"1) Move to position using the specified movement animation. If 'Move to Position' is set to NONE, skip to step 2.\n"+
"2) If forced to wait for another actor to move to position, play the pre-action idle animation, otherwise skip to step 3. If there is no pre-action idle specified, ACT_IDLE is used.\n"+
"3) Fire the OnBeginSequence output.\n"+
"4) Play the action animation. If no action animation is specified, skip to step 5.\n"+
"5) Play the post-action idle animation. If none is specified, skip to step 6. If the 'Loop in Post Idle' spawnflag is set, keep playing the post-action idle until the script is cancelled. If no post-action idle animation is specified, ACT_IDLE is used.\n"+
"6) Fire the OnEndSequence output.\n"+
"7) If a next script to play is specified, hand the NPC to the next script and repeat this process for that script.\n\n"+
"The MoveToPosition input runs steps 1 and 2, then waits while playing the pre-action idle animation until the BeginSequence input is received.\n\n"+
"If the sequence has motion extraction in it, set the 'Don't Teleport NPC On End' spawnflag."
[
spawnflags(Flags) =
[
4 : "Repeatable" : 0
8 : "Leave Corpse" : 0
16 : "Start on Spawn" : 0
32: "No Interruptions" : 0
64: "Override AI" : 0
128: "Don't Teleport NPC On End" : 0
256: "Loop in Post Idle" : 0
512: "Priority Script" : 0
4096: "Allow actor death" : 0
]
onplayerdeath(choices) : "On player death" : 0 : "What should this entity do if the player dies" =
131072: "Perfect accuracy every 3rd shot at player" : 0
]
control_volume(target_destination) : "Control Volume" : "" : "Name of a trigger the specifies the volume in which a player must be to control this tank."
// Mainly for use with 1009 team settings (game_team_master)
bullet_damage(string) : "Damage Per Bullet" : "0" : "If set to 0, it'll use the base weapon bullet's damage."
bullet_damage_vs_player(string) : "Damage Per Bullet Vs Player" : "0" : "If set to 0, it'll use the Damage Per Bullet value."
persistence(string) : "Firing persistence" : "1" : "(Seconds) How long to keep firing at last known position after lose sight of target"
persistence2(string) : "Firing persistence2" : "0" : "(Seconds) After lost enemy and persistence time has passed, how long to occasionally fire at enemy's last known position"
firespread(choices) : "Bullet accuracy" : 0 =
[
0: "Perfect Shot"
1: "Small cone"
2: "Medium cone"
3: "Large cone"
4: "Extra-large cone"
]
minRange(string) : "Minmum target range" : "0"
maxRange(string) : "Maximum target range" : "0"
_minlight(string) : "Minimum light level"
gun_base_attach(string) : "Gun Base Attachment" : "" : "If Parent is specified, this is the attachment point on the parent to aim from."
gun_barrel_attach(string) : "Gun Barrel Attachment" : "" : "If Parent is specified, this is the attachment point on the parent to fire from. If you specify this, you'll want to specify the Gun Base Attachment too."
gun_yaw_pose_param(string) : "Gun Yaw Pose Param" : "" : "If Parent + the Gun Pitch Pose Param is specified, then the gun itself will be invisible and the func_tank will steer a gun on the parent using the pose parameters."
gun_yaw_pose_center(float) : "Gun Yaw Pose Center" : "0" : "The center yaw pose parameter of the gun on the parent"
gun_pitch_pose_param(string) : "Gun Pitch Pose Param" : "" : "If Parent + the Gun Yaw Pose Param is specified, then the gun itself will be invisible and the func_tank will steer a gun on the parent using the pose parameters."
gun_pitch_pose_center(float) : "Gun Pitch Pose Center" : "0" : "The center pitch pose parameter of the gun on the parent"
ammo_count(integer) : "Ammunition Count" : -1 : "Only applies to player use. -1 = unlimited ammo."
LeadTarget(choices) : "Lead Target" : "No" =
[
0 : "No"
1 : "Yes"
]
npc_man_point(target_destination) : "NPC Man Point" : "" : "Point where NPC must stand to man this func_tank."
playergraceperiod(float) : "Post-NPC Attack Grace Period" : "0" : "If specified, NPC's manning this func tank won't fire at the player, after firing at a non-player, for this amount of time."
ignoregraceupto(float) : "Ignore Grace Upto" : "768" : "The player grace period is ignored if the player's under this distance from the func_tank."
playerlocktimebeforefire(float) : "Player Lock Time" : "0" : "The tank must have the player as a target for this amount of time before it's allowed to fire."
effecthandling(choices) : "Effect Handling" : 0 =
[
0 : "Use Individual Settings."
1 : "AR2"
2 : "Combine Cannon"
]
// Inputs
input Activate(void) : "Turn the tank on"
input Deactivate(void) : "Turn the tank off (go dormant)"
input SetFireRate(string) : "How fast to fire (0 = don't fire)"
input SetDamage(string) : "Set the Damage Per Bullet"
input SetTargetPosition(string) : "World position that I should aim at"
input SetTargetDir(vector) : "Direction to aim at."
input SetTargetEntityName(string) : "Name of entity I should follow/attack"
input SetTargetEntity(string) : "Entity I should follow/attack (output from other entity only)"
input ClearTargetEntity(void) : "Clear the entity I should be attacking."
input FindNPCToManTank(string) : "Find a nearby NPC to man this func_tank."
input StartFindingNPCs(void) : "Start searching for NPCs to man this func_tank."
input StopFindingNPCs(void) : "Stop searching for NPCs to man this func_tank."
input ForceNPCOff(void) : "Force the NPC manning this func_tank (if any) to leave."
input SetMaxRange(float) : "Set the max range of the func_tank."
// Outputs
output OnFire(void) : "Fires when the tank fires its bullets"
output OnAquireTarget(void) : "Fires when target is newly in range and can be shot"
output OnLoseTarget(void) : "Fires when when target goes out of range"
output OnAmmoDepleted(void) : "Fires when tank runs out of ammo"
output OnGotController(void) : "Fires when an NPC starts to control this tank. Players do NOT fire this input."
output OnLostController(void) : "Fires when the NPC controller of the tank stops controlling it. Players do NOT fire this input."
output OnGotPlayerController(void) : "Fires when a Player starts to control this tank. NPCs do NOT fire this input."
output OnLostPlayerController(void) : "Fires when the Player controller of the tank stops controlling it. NPCs do NOT fire this input."
output OnReadyToFire(void) : "Fires once when the tank is done waiting to fire between rounds"
]
// dvs: FIXME: put this back once we have an episodic FGD
output OnPlayerTouch(void) : "Fires when the player touches this object"
output OnCacheInteraction(void) : "This output fires when the player proves they have 'found' this item. Fires on: Player Touch (whether or not player actually acquires the item), Picked up by +USE, Picked up by Physcannon, Punted by Physcannon."
fademindist(float) : "Start Fade Dist/Pixels" : -1 : "Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade."
fademaxdist(float) : "End Fade Dist/Pixels" : 0 : "Maximum distance at which the prop is visible (0 = don't fade out). If 'Screen Space Fade' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades."
fadescale(float) : "Fade Scale" : 1 : "If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified." +
" This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades." +
spawnflags(Flags) =
[
1 : "Start Constrained" : 0
]
]
@PointClass base(Item) studio("models/items/healthkit.mdl") = item_dynamic_resupply : "A dynamic item. When the player enters the PVS of this entity, " +
"it will determine the item most needed by the player, spawn one of those items, and remove itself. To determine which item the player most needs, it " +
"calculates which of the Desired Health/Armor/Ammo ratios the player is farthest from.\n\nIf the player is above all the desired levels, then no item " +
"will be spawned, unless this item_dynamic_resupply was created by an item_item_crate. In that case, a random piece of ammo used by a weapon, that " +
"the player has, will be spawned. If the 'Fallback to Health Vial' spawnflag is set, a health vial will be spawned instead of the ammo.\n\nBy default, " +
"the item_dynamic_resupply uses the values inside the Master resupply, instead of using it's own values. This makes it easy to tweak the desired " +
"loadout of many resupplies. The BecomeMaster input allows you to switch Masters dynamically as the level progresses."
[
spawnflags(Flags) =
[
1 : "Use Master's values" : 1
2 : "Is Master" : 0
8 : "Fallback to Health Vial" : 0
16 : "Alternate master" : 0
]
DesiredHealth(float) : "Desired Health Ratio" : "1" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max health."
DesiredArmor(float) : "Desired Armor Ratio" : "0.3" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max armor."
DesiredAmmoPistol(float) : "Desired Pistol Ammo Ratio" : "0.5" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoSMG1(float) : "Desired SMG1 Ammo Ratio" : "0.5" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoSMG1_Grenade(float) : "Desired SMG1 Grenade Ammo Ratio" : "0.1" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoAR2(float) : "Desired AR2 Ammo Ratio" : "0.4" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoBuckshot(float) : "Desired Shotgun Ammo Ratio" : "0.5" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoRPG_Round(float) : "Desired RPG Ammo Ratio" : "0" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoGrenade(float) : "Desired Grenade Ammo Ratio" : "0.1" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmo357(float) : "Desired 357 Ammo Ratio" : "0" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoCrossbow(float) : "Desired Crossbow Ammo Ratio" : "0" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
DesiredAmmoAR2_AltFire(float) : "Desired AR2 Alt-fire Ammo Ratio" : "0" : "A ratio from 0 to 1. Attempt to fill the player up to this percentage of his max ammo carrying capacity."
// Inputs
input CalculateType(void) : "Force the dynamic resupply to calculate which item it should spawn."
input BecomeMaster(void) : "Make this resupply the master resupply. All other resupplies set to Use Master's Values will now use this resupply's values."
]
@PointClass base(Item) studio("models/items/boxsrounds.mdl")= item_ammo_pistol : "Box of Pistol ammo" []
ItemClass(pointentityclass) : "Item Type" : "item_dynamic_resupply" : "Class name of the entity to spawn when the crate is broken"
ItemCount(integer) : "Item Count" : 1 : "Number of items to emit upon breakage"
SpecificResupply(target_destination) : "Specific resupply" : "" : "If item type is item_dynamic_resupply, specify a specific one to use instead of the master"
// Inputs
input Kill(void) : "Remove the item crate"
input Break(void) : "Breaks the breakable."
input SetHealth(integer) : "Sets a new value for health. If the breakable's health reaches zero it will break."
input AddHealth(integer) : "Adds health to the breakable. If the breakable's health reaches zero it will break."
input RemoveHealth(integer) : "Removes health from the breakable. If the breakable's health reaches zero it will break."
// Outputs
output OnBreak(void) : "Fires when broken."
output OnHealthChanged(float) : "Fires when the health of this breakable changes, passing the new value of health as a percentage of max health, from [0..1]."
output OnCacheInteraction(void) : "This output fires when the player proves they have 'found' this crate. Fires on: Picked up by +USE, Picked up by Physcannon, Punted by Physcannon, Broken."
output OnPlayerUse(void) : "Fires when the player +uses this weapon"
output OnPlayerPickup(void) : "Fires when the player picks up this weapon"
output OnNPCPickup(void) : "Fires when an NPC picks up this weapon"
output OnCacheInteraction(void) : "Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt."
fademindist(float) : "Start Fade Dist/Pixels" : -1 : "Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade."
fademaxdist(float) : "End Fade Dist/Pixels" : 0 : "Maximum distance at which the prop is visible (0 = don't fade out). If 'Screen Space Fade' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades."
fadescale(float) : "Fade Scale" : 1 : "If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified." +
" This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades." +
filtername(filterclass) : "Filter Name" : : "Filter to use to see if activator triggers me. See filter_activator_name for more explanation."
SetGravityScale(float) : "Scale gravity of objects in the field." : "1.0"
input SetGravityScale(float) : "Scale gravity of objects in the field."
SetAdditionalAirDensity(float) : "Additional air density for drag" : "0"
input SetAdditionalAirDensity(float) : "Additional air density for drag"
SetVelocityLimit(float) : "Max velocity in field (0 disables)" : "0.0"
input SetVelocityLimit(float) : "Max velocity in field."
SetVelocityLimitDelta(float) : "Max amount to reduce velocity per second when it exceeds the velocity limit (0 disables)" : "0.0"
input SetVelocityLimitDelta(float) : "Max amount to reduce velocity per second"
input SetVelocityLimitTime(string) : "Accepts two arguments: the first is the new velocity limit, the second is the time it takes to ramp to that value"
"Manages a choreographed scene of one or more actors."
[
// Keys
SceneFile(scene) : "Scene file"
// Links
target1(target_destination) : "Target 1"
target2(target_destination) : "Target 2"
target3(target_destination) : "Target 3"
target4(target_destination) : "Target 4"
target5(target_destination) : "Target 5"
target6(target_destination) : "Target 6"
target7(target_destination) : "Target 7"
target8(target_destination) : "Target 8"
busyactor(choices) : "If an Actor is talking..." : 1 : "What to do if an actor this scene needs is already talking when this scene is told to start." =
[
0: "Start immediately"
1: "Wait for actor to finish"
2: "Interrupt at next interrupt event"
3: "Cancel at next interrupt event"
]
// Inputs
input Start(void) : "Starts playback of the scene file"
input Pause(void) : "Pauses playback of the scene file"
input Resume(void) : "Resumes playback of the scene if it has been paused"
input Cancel(void) : "Cancels playback of the scene"
input CancelAtNextInterrupt(void) : "Cancels playback of the scene at the next interrupt event in the scene."
input PitchShift(float) : "Multiplies the the pitch"
input InterjectResponse(string) : "Finds an actor who can respond to the specified concept string while the scene continues playing"
input StopWaitingForActor(void) : "Stop waiting on an actor to stop talking."
// Outputs
output OnStart(void) : "The scene has started"
output OnCompletion(void) : "The scene has completed"
output OnCanceled(void) : "The scene has been canceled"
output OnTrigger1(void) : "Scene trigger 1"
output OnTrigger2(void) : "Scene trigger 2"
output OnTrigger3(void) : "Scene trigger 3"
output OnTrigger4(void) : "Scene trigger 4"
output OnTrigger5(void) : "Scene trigger 5"
output OnTrigger6(void) : "Scene trigger 6"
output OnTrigger7(void) : "Scene trigger 7"
output OnTrigger8(void) : "Scene trigger 8"
output OnTrigger9(void) : "Scene trigger 9"
output OnTrigger10(void) : "Scene trigger 10"
output OnTrigger11(void) : "Scene trigger 11"
output OnTrigger12(void) : "Scene trigger 12"
output OnTrigger13(void) : "Scene trigger 13"
output OnTrigger14(void) : "Scene trigger 14"
output OnTrigger15(void) : "Scene trigger 15"
output OnTrigger16(void) : "Scene trigger 16"
onplayerdeath(choices) : "On player death" : 0 : "What should this entity do if the player dies" =
"Manages a list of logic_choreographed_scene entities. Store choreo scenes in them in order that they will be played by other inputs. Whenever a scene plays, the manager will remove all scenes before that one in the list. The name of another logic_scene_list_manager can be entered in a slot instead of an invididual scene, which will cause all scenes in that manager to be removed when a later scene in this list is played."
[
scene0(target_destination) : "Scene 1" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene1(target_destination) : "Scene 2" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene2(target_destination) : "Scene 3" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene3(target_destination) : "Scene 4" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene4(target_destination) : "Scene 5" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene5(target_destination) : "Scene 6" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene6(target_destination) : "Scene 7" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene7(target_destination) : "Scene 8" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene8(target_destination) : "Scene 9" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene9(target_destination) : "Scene 10" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene10(target_destination) : "Scene 11" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene11(target_destination) : "Scene 12" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene12(target_destination) : "Scene 13" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene13(target_destination) : "Scene 14" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene14(target_destination) : "Scene 15" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
scene15(target_destination) : "Scene 16" : "" : "The name of a logic_choreographed_scene, or logic_scene_list_manager."
// Inputs
input Shutdown(void) : "Remove the manager and all scenes referenced by it (and all scenes referenced by logic_scene_list_manager's embedded in this one)."
"This entity makes sounds or smells that can be sensed by NPCs, butnot by the player. This can be used " +
"to cause reactions in nearby NPCs.\n\n" +
"Sound Types\n" +
" Combat: Will cause most NPCs to become alert\n" +
" World: Will cause most NPCs to become alert\n" +
" Danger: Will cause most NPCs to move away from the position of the sound\n" +
" Bullet Impact: \n" +
" Carcass: \n" +
" Meat: \n" +
" Garbage: \n" +
" Thumper: causes antlions to run away briefly\n" +
" Readiness: (Low, Medium, High) Causes player companions that can hear this sound to change readiness\n"
[
//input InsertSound(Integer) : "THIS IS NOW OBSOLETE. Use InsertAISound"
input EmitAISound(void) : "Make the sound."
volume(integer) : "Volume" : 120 : "How far away this sound can be heard. This is a radius."
duration(float) : "Duration" : "0.5" : "How long the sound persists each time you insert it."
soundtype(choices) : "Sound Type" : 0 : "The type of sound or smell will determine the reaction of NPCs that sense it." =
[
0: "Select one"
1: "Combat"
2: "World"
//4: "Player (Don't use)"
8: "Danger"
16: "Bullet Impact"
32: "Carcass"
64: "Meat"
128: "Garbage"
256: "Thumper"
4096: "Move Away - Most NPCs will clear the radius of this sound when heard."
16384 : "Readiness - Low"
32768 : "Readiness - Medium"
65536 : "Readiness - High"
]
soundcontext(choices) : "Additional sound context (optional)" : 0 : "Optional settings specifying such things as who can or cannot hear the sound." =
[
0 : "Select one"
8388608 : "Only Combine hear"
67108864 : "Combine cannot hear"
]
locationproxy(target_destination) : "Location Proxy" : "" : "The name of an entity to use as a proxy to determine the location at which to make the sound. If you specify an entity here, the sound will be made at that entity's location (!player included)"
Modification(choices): "Citizen modified" : 0 : "'Normal' is default Combine behavior. 'Cavern' detonates earlier in its jump, and has a different default skin." =
[
0 : "Normal"
1 : "Cavern"
]
// Inputs
input Disarm(void) : "Disarm this mine (open hooks and shut off) if not placed by player."
// Outputs
output OnPulledUp(void) : "Fires when this mine is uprooted with physgun"
input StartRemoveTauCannon(void) : "Start the tau removal sequence."
input FinishRemoveTauCannon(void) : "Finish the tau removal sequence."
// FIXME: These will move into episodic
input LockEntrance( void ) : "Stops NPC's from entering the vehicle until unlocked."
input UnlockEntrance( void ) : "Allows NPC's to enter the vehicle."
input LockExit( void ) : "Stops NPC's from exiting the vehicle until unlocked."
input UnlockExit( void ) : "Allows NPC's to exit the vehicle."
input EnableRadar( void ) : "Turn on the Jalopy radar"
input DisableRadar( void ) : "Turn off the Jalopy radar"
input EnableRadarDetectEnemies( void ) : "Enable Jalopy radar to detect Striders and Hunters"
input AddBusterToCargo( void ) : "Put a striderbuster in the cargo trigger"
input SetCargoHopperVisibility ( bool ) : "Set the strider buster hopper thingy to be visible, or invisible."
input DisablePhysGun(void) : "Disable physgun interactions with the jeep."
input EnablePhysGun(void) : "Enable physgun interactions with the jeep (default)."
input CreateLinkController(void) : "Automatically builds and attaches a link controller to the car, which cuts the node connections under the car while the car is standing still."
input DestroyLinkController(void) : "Destroys the link controller created by CreateLinkController."
input ForcePlayerIn(string) : "Force the player into the vehicle. The animation to use can be specified in the parameter. Without a parameter, the player just teleports."
input ForcePlayerOut(void) : "Force the player out of the vehicle."
@PointClass base(Angles,Targetname,Parentname) = script_tauremoval : "Script: Custom entity used to handle the tau removal sequence in coast. (unused)"
[
vortigaunt(target_destination) : "Vortigaunt to use"
// Inputs
input StartScript(void) : "Start the script."
input RemoveTau(void) : "Start removing the Tau cannon now."
]
@PointClass base(Targetname) = script_intro : "Script: Custom entity used to handle the intro sequence."
[
// Inputs
input Activate(void) : "Take control of the player's view and start blending the two scenes."
input Deactivate(void) : "Stop controlling the view."
input SetCameraViewEntity(string) : "Set the viewpoint to blend with the player's viewpoint."
input SetBlendMode(integer) : "Set the blending mode to use."
input SetFOV(integer) : "Set the fov for the second camera."
input SetNextFOV(integer) : "Set the FOV to blend to over time. Follow this with a SetFOVBlendTime input to start the fov blend."
input SetFOVBlendTime(float) : "Set the amount of time it should take to blend to the next fov target, and start blending."
input SetNextBlendMode(integer) : "Set the blending mode to blend to over time. Follow this with a SetNextBlendTime input to start the mode blend."
input SetNextBlendTime(float) : "Set the amount of time it should take to blend to the next mode, and start blending."
input FadeTo(string) : "Fade to a specific alpha amount of an amount of time. Parameters: <alpha> <duration>"
@PointClass base(Targetname) iconsprite("editor/info_target.vmt") = info_teleporter_countdown : "Countdown timer for the teleporter. The status of the teleporter will appear on vgui_screen entities whose panel is 'teleport_countdown_screen'."
[
// Inputs
input StartCountdown(float) : "Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown."
input StopCountdown(void) : "Stops the countdown permanently"
input Disable(void) : "Pauses the countdown due to a temporary malfunction. A warning sign will appear on the linked vgui screens."
input Enable(void) : "Restarts the countdown since the malfunction is finished."
speedruntime(integer) : "Speedrun time" : 180 : "Speed run time in seconds. Players must complete the mission within this time to unlock Uber mode."
speedruntimesp(integer) : "Speedrun time singleplayer" : 0 : "Speed run time in seconds specifically for singleplayer. If this is set to 0, then the normal Speedrun Time setting is used."
]
@PointClass base(Targetname) iconsprite("editor/info_target.vmt") = asw_stylincam : "Inputs for stylin cam."
[
input ShowStylinCam(void) : "Turns on the Stylin Cam."
input HideStylinCam(void) : "Turns off the Stylin Cam."
input ShowCommanderFace(void) : "Turns on the Commander face."
input HideCommanderFace(void) : "Turns off the Commander face."
]
@PointClass base(Targetname) iconsprite("editor/ambient_generic.vmt") sphere() = asw_ambient_generic : "Universal ambient sound. Use it to play and control a single sound."
[
message(sound) : "Sound Name" : "" : "Name of the GameSound entry for the sound to play. Also supports direct .wav filenames."
health(integer) : "Volume" : 10 : "Sound volume, expressed as a range from 0 to 10, where 10 is the loudest."
radius(string) : "Max Audible Distance" : "1250" : "Maximum distance at which this sound is audible."
spawnflags(flags) =
[
1: "Play everywhere" : 0
16:"Start Silent": 1
32:"Is NOT Looped": 1
]
SourceEntityName(target_destination) : "SourceEntityName" : : "If an entity is specified, sound will come from this named entity instead of the location of ambient_generic."
// asw - so music can stop stim music playing during it
PreventStimMusicDuration(float) : "Prevent Stim Music Duration" : 0 : "If set, stim music will not play when the player uses stims for the next x seconds"
// Inputs
input Pitch(integer) : "Sets the sound pitch, expressed as a range from 1 to 255, where 100 is the sound's default pitch."
input PlaySound(void) : "Starts the sound."
input StopSound(void) : "Stops the sound if it is playing."
input ToggleSound(void) : "Toggles the sound between playing and stopping."
input Volume(integer) : "Sets the sound volume, expressed as a range from 0 to 10, where 10 is the loudest."
input FadeIn(integer) : "Fades the sound up to full volume over a specified number of seconds, with a range from 0 to 100 seconds."
input FadeOut(integer) : "Fades the sound to silence over a specified number of seconds, with a range from 0 to 100 seconds."
SpawnIfMarinesAreNear(choices) : "Allow spawn if marines are near" : 0 =
[
0 : "No"
1 : "Yes"
]
StartBurrowed(choices) : "Start Burrowed" : 0 =
[
0 : "No"
1 : "Yes"
]
UnburrowIdleActivity(string) : "Unburrow Idle Activity": : "If alien starts burrowed, he'll play this activity while waiting for the burrow point to be clear."
UnburrowActivity(string) : "Unburrow Activity": : "If alien starts burrowed, he'll play this activity while unburrowing."
NearDistance(float) : "Prevent spawn if marines are this close" : 740 : "If 'Allow spawn if marines are near' option is set to 'No' this distance is used for the nearby marine check."
LongRange(choices) : "Long sight range" : 0 : "If set to 'yes', aliens from this spawner will be able to see and sense enemies twice as far away as normal." =
[
0 : "No"
1 : "Yes"
]
AlienOrders(choices) : "Alien Orders" : 0 : "Orders given to each alien spawned." =
[
0 : "Spread Then Hibernate"
1 : "Move To"
2 : "Move To Ignoring Marines"
3 : "Move To Nearest Marine"
]
AlienOrderTargetName(target_destination) : "Alien Orders Target Name": : "Name of the target object for our orders (used by move to and move to ignoring marines orders)."
AlienNameTag(string) : "Name to give spawned aliens": : "All aliens spawned by this spawner will be given this Name."
ClearCheck(choices) : "Check Spawn Point Is Clear" : 1 =
MinSkillLevel(integer) : "Min Skill Level" : 0 : "The minimum skill level for this spawner to function. Skill levels are: 1=easy 2=normal 3=hard 4=insane 5=imba"
MaxSkillLevel(integer) : "Max Skill Level" : 0 : "The maximum skill level for this spawner to function. Skill levels are: 1=easy 2=normal 3=hard 4=insane 5=imba"
MaxLiveAliens(integer) : "Max Num. of live aliens" : 1 : "Maximum number of live aliens that can be present in the level from this spawner at any given time."
NumAliens(integer) : "Num. aliens we can create" : 1 : "The number of aliens that can spawn before the spawner is exhausted."
SpawnInterval(float) : "Spawn interval" : 4 : "Time in seconds between each alien spawning."
SpawnIntervalJitter(float) : "Spawn interval variation" : 25 : "Percentage variation applied randomly to the spawn interval each time an alien spawns. Value must be between 0 and 100. The default 25 will give a 25% variation to the spawn interval, so a 1 second spawn interval would actually be randomly between 0.75 seconds and 1.25 seconds."
AlienClass(choices) : "Alien Class" : 0 : "Which type of alien to produce from this spawner." =
[
0 : "asw_drone"
1 : "asw_buzzer"
2 : "asw_parasite"
3 : "asw_shieldbug"
4 : "asw_grub"
5 : "asw_drone_jumper"
6 : "asw_harvester"
7 : "asw_parasite_defanged"
8 : "asw_queen"
9 : "asw_boomer"
10 : "asw_ranger"
11 : "asw_mortarbug"
12 : "asw_shaman"
]
HealthScale(float) : "Alien health scale" : 1 : "Multiplies the alien's default health by this amount."
SpeedScale(float) : "Alien speed scale" : 1 : "Multiplies the alien's default speed by this amount."
output OnAllSpawned(void) : "Fires when all children have been spawned"
output OnAllSpawnedDead(void) : "Fires when all the children have been spawned and have died."
input SpawnOneAlien(void) : "Spawns an alien."
input ToggleSpawning(void) : "Toggles the spawner between spawning and waiting for inputs state."
input StartSpawning(void) : "Makes the spawner start creating aliens."
input StopSpawning(void) : "Stops the spawner from spawning, putting it into the 'Wait for inputs' state."
]
@PointClass base(Targetname) = asw_spawn_group :
"The named spawners will belong to this spawn group. In holdout mode, spawning is done via spawn groups rather than individual spawners."
[
SpawnerName00(target_destination) : "Spawner 01" : : "The name of one or more spawners."
SpawnerName01(target_destination) : "Spawner 02" : : "The name of one or more spawners."
SpawnerName02(target_destination) : "Spawner 03" : : "The name of one or more spawners."
SpawnerName03(target_destination) : "Spawner 04" : : "The name of one or more spawners."
SpawnerName04(target_destination) : "Spawner 05" : : "The name of one or more spawners."
SpawnerName05(target_destination) : "Spawner 06" : : "The name of one or more spawners."
SpawnerName06(target_destination) : "Spawner 07" : : "The name of one or more spawners."
SpawnerName07(target_destination) : "Spawner 08" : : "The name of one or more spawners."
]
@PointClass base(Targetname) = asw_holdout_mode :
"If put into a map, this map will be played in holdout mode."
[
filename(string) : "Holdout Filename" : "" : "This is the filename of the holdout script that defines the waves, etc. (assumes a path of 'resource\Holdout\')"
// TODO: Outputs for mode starting, waves starting, progressing, ending, etc.
// Outputs
output OnAnnounceWave01(void) : "Fired when Wave01 is announced."
output OnAnnounceWave02(void) : "Fired when Wave02 is announced."
output OnAnnounceWave03(void) : "Fired when Wave03 is announced."
output OnAnnounceWave04(void) : "Fired when Wave04 is announced."
output OnAnnounceWave05(void) : "Fired when Wave05 is announced."
output OnAnnounceWave06(void) : "Fired when Wave06 is announced."
output OnAnnounceWave07(void) : "Fired when Wave07 is announced."
output OnAnnounceWave08(void) : "Fired when Wave08 is announced."
output OnAnnounceWave09(void) : "Fired when Wave09 is announced."
output OnAnnounceWave10(void) : "Fired when Wave10 is announced."
output OnAnnounceWaveDefault(void) : "Fired when any wave is announced."
output OnWave01(void) : "Fired when Wave01 starts."
output OnWave02(void) : "Fired when Wave02 starts."
output OnWave03(void) : "Fired when Wave03 starts."
output OnWave04(void) : "Fired when Wave04 starts."
output OnWave05(void) : "Fired when Wave05 starts."
output OnWave06(void) : "Fired when Wave06 starts."
output OnWave07(void) : "Fired when Wave07 starts."
output OnWave08(void) : "Fired when Wave08 starts."
output OnWave09(void) : "Fired when Wave09 starts."
output OnWave10(void) : "Fired when Wave10 starts."
output OnWaveDefault(void) : "Fired at the start of all waves."
// Inputs
input UnlockResupply(void) : "Tells the holdout that you want to let the player resupply at the end of the round."
Radius(float) : "Order Radius" : 400 : "All aliens within this radius of the specified class will receive orders."
AlienClass(choices) : "Alien Class" : 0 : "Which type of alien to send orders to." =
[
0 : "asw_drone"
1 : "asw_buzzer"
2 : "asw_parasite"
3 : "asw_shieldbug"
4 : "asw_grub"
5 : "asw_drone_jumper"
6 : "asw_harvester"
7 : "asw_parasite_defanged"
8 : "asw_queen"
9 : "asw_boomer"
10 : "asw_ranger"
11 : "asw_mortarbug"
12 : "asw_shaman"
]
AlienOrders(choices) : "Alien Orders" : 2 : "Orders given to nearby aliens." =
[
0 : "Spread Then Hibernate"
1 : "Move To"
2 : "Move To Ignoring Marines"
3 : "Move To Nearest Marine"
]
AlienOrderTargetName(string) : "Alien Orders Target Name": : "Name of the target object for our orders (used by move to and move to ignoring marines orders)."
starton(choices) : "Starts on" : 1 : "Whether the emitter is intially spawning particles or not" =
[
0 : "No"
1 : "Yes"
]
template(String) : "Template" : "Default" : "The template used by this emitter. Templates control the appearance of the emitter. Templates can be created and modified in game with console command ASW_EditEmitterFrame"
// Inputs
input Toggle(void) : "Toggles the emitter on and off"
"A vicious killing machine with bladed limbs and sharp teeth, easily able to tear a man to pieces, even an armoured IAF marine."
[
MoveClone(target_destination) : "Move Clone" : : "If set to an entity name, this alien will match movement with that entity."
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
//input FightToPosition(string) : "Fight to position"
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
//input FightToPosition(string) : "Fight to position"
"A vicious killing machine with bladed limbs and sharp teeth, easily able to tear a man to pieces, even an armoured IAF marine. This jumping variation can leap over large distances."
[
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
output OnReachedFightGoal(void) : "Fires when the drone reaches his specified fight-to location"
"A lethal parasite Swarm alien, capable of burrowing through an IAF marine's armour and flesh. Once safely inside the host's body, the parasite will quickly consume the internal organs and multiply at a fanstastic rate, with many more parasites bursting out of the victim shortly after."
[
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
//input FightToPosition(string) : "Fight to position"
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"
]
extrahealth(integer) : "Extra Health" : 0 : "Additional health added to the normal starting amount."
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
output OnReachedFightGoal(void) : "Fires when the Shieldbug reaches his specified fight-to location"
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
radius(integer) : "Alert Radius" : 256
eludedist(integer) : "Distance until eluded" : 1024 : "Only available when Burrow When Eluded is flagged"
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
radius(integer) : "Alert Radius" : 256
eludedist(integer) : "Distance until eluded" : 1024 : "Only available when Burrow When Eluded is flagged"
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
radius(integer) : "Alert Radius" : 256
eludedist(integer) : "Distance until eluded" : 1024 : "Only available when Burrow When Eluded is flagged"
output OnSummonWave1(void) : "Fired out when the queen is at 80% health, to call the first attack wave"
output OnSummonWave2(void) : "Fired out when the queen is at 60% health, to call the second attack wave"
output OnSummonWave3(void) : "Fired out when the queen is at 40% health, to call the third attack wave"
output OnSummonWave4(void) : "Fired out when the queen is at 20% health, to call the last attack wave"
output OnQueenKilled(void) : "Fired when the queen is killed."
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
radius(integer) : "Alert Radius" : 256
eludedist(integer) : "Distance until eluded" : 1024 : "Only available when Burrow When Eluded is flagged"
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
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"
]
spawnflags(Flags) =
[
131072 : "Use Ground Checks" : 0
]
radius(integer) : "Alert Radius" : 256
eludedist(integer) : "Distance until eluded" : 1024 : "Only available when Burrow When Eluded is flagged"
input BreakWaitForScript(void) : "Wakes the alien up if his Wait For Script flag was set"
]
@BaseClass color(0 0 200) base(Item) = ASWPickup
[
FreezePickup(choices) : "Stay in air on startup" : "No" : "If set, this pickup won't fall to the ground when the map starts." =
rendercolor(color255) : "Color (R G B)" : "255 255 255"
spawnpos(choices) : "Spawn Position" : 0 =
[
0 : "Closed"
1 : "Open"
]
//slideangle(angle) : "Slide angle (Pitch Yaw Roll)" : "0 90 0" : "The angle at which the door will slide open."
slideangle(choices) : "Slide Direction" : "0 90 0" : "The direction in which the door will slide open." =
[
"0 90 0" : "Left"
"0 -90 0" : "Right"
]
distance(float) : "Slide Distance" : 130 : "The distance that the door should slide when opened."
speed(integer) : "Speed" : 140 : "The speed at which the door moves."
soundopenoverride(sound) : "Fully Open Sound" : : "Sound played when the door has finished opening."
soundcloseoverride(sound) : "Fully Closed Sound" : "ASW_Door.Door2StopClose" : "Sound played when the door has finished closing."
soundmoveoverride(sound) : "Moving Sound" : "ASW_Door.Door2Open" : "Sound played when the door starts to move."
returndelay(integer) : "Delay Before close (-1 stay open)" : 5 : "Amount of time, in seconds, after the door has opened before it closes. If the value is set to -1, the door never closes itself."
dmg(integer) : "Damage Inflicted When Blocked" : 0 : "Amount of damage done to entities that block the movement of this door, per frame."
//soundlockedoverride(sound) : "Locked Sound" : : "Sound played when the player tries to open the door, and fails because it's locked."
//soundunlockedoverride(sound) : "Unlocked Sound" : : "Sound played when the door is unlocked."
forceclosed(choices) : "Force Closed" : 1 : "If set, this door will close no matter what. Useful for doors that have to close even if the player tries to block them with objects." =
[
0 : "No"
1 : "Yes"
]
spawnflags(flags) =
[
1 : "Starts Open" : 0
//512: "NPCs Can't" : 0
//2048: "Starts locked" : 0
4096: "Door silent (No sound, and does not alert NPCs)" : 0
//8192: "Use closes" : 1
16384 : "Door silent to NPCS (Does not alert NPCs)" : 0
//32768 : "Ignore player +USE" : 0
]
totalsealtime(float) : "Total Seal Time" : 10 : "The number of seconds it takes to seal this door with the welder."
currentsealtime(float) : "Current Seal Time" : 0 : "How sealed this door currently is. Number should be from 0 to the Total Seal Time."
//doorstrength(integer) : "Door Strength" : 100 : "How much damage this door can take before opening."
showsonscanner(choices) : "Shows on Scanner" : 1 : "Whether this door will show a blip on the scanner." =
[
0 : "No"
1 : "Yes"
]
autoopen(choices) : "Auto Open" : 1 : "Whether this door should automatically open when something enters the door area." =
[
0 : "No"
1 : "Yes"
]
doortype(choices) : "Door Type" : 0 : "Reinforced doors have twice the strength of normal doors. Indestructible doors cannot be shot or bashed down by aliens." =
[
0 : "Normal"
1 : "Reinforced"
2 : "Indestructible"
]
dentamount(choices) : "Damaged" : 0 : "Whether the door is already damaged or not" =
[
0 : "Undamaged"
1 : "Damaged"
2 : "Very damaged"
3 : "Damaged (Flipped)"
4 : "Very damaged (Flipped)"
]
CanCloseToWeld(choices) : "Can Close To Weld" : 1 : "Whether the welding tool can make this door close to start welding when it's open." =
[
0 : "No"
1 : "Yes"
]
DoCutShout(choices) : "Do Cut Shout" : "0" : "Should a marine shout out 'cut this door!' when he encounters this door sealed and another marine with a welder is nearby?" =
[
0 : "No"
1 : "Yes"
]
DoBreachedShout(choices) : "Do Breached Shout" : "1" : "Should a nearby marine shout out 'they've breached the door!' when drones bash the door down?" =
[
0 : "No"
1 : "Yes"
]
DoAutoShootChatter(choices) : "Do Auto Shoot Shout" : "0" : "If set, a marine will shout out 'shoot it down!' as soon as they enter the door area. Use this for sealed doors that you expect the player to shoot his way through." =
[
0 : "No"
1 : "Yes"
]
// Outputs
output OnClose(void) : "Fired when the door is told to close."
output OnOpen(void) : "Fired when the door is told to open."
output OnFullyOpen(void) : "Fired when the door reaches the fully open position."
output OnFullyClosed(void) : "Fired when the door reaches the fully closed position."
output OnBlockedClosing(void) : "Fired when the door is blocked while closing."
output OnBlockedOpening(void) : "Fired when the door is blocked while opening."
output OnUnblockedClosing(void) : "Fired when the door is unblocked while closing."
output OnUnblockedOpening(void) : "Fired when the door is unblocked while opening."
output OnFullySealed(void) : "Fired when a marine full seals a door."
output OnFullyCut(void) : "Fired when a marine full cuts open the seal on the door."
output OnDestroyed(void) : "Fired when the door is knocked down."
// Inputs
input Open(void) : "Open the door, if it is not fully open."
input OpenAwayFrom(string) : "Open the door away from the specified entity."
input Close(void) : "Close the door, if it is not fully closed."
input Toggle(void) : "Toggle the door between open and closed."
//input Lock(void) : "Lock the door."
//input Unlock(void) : "Unlock the door."
input NPCNear(void) : "Should be used when an NPC has entered the associated trigger_asw_door_area. This is the area in which the marine can interact with the door."
input EnableAutoOpen(void) : "Makes the door open when a marine is within its asw_door_area."
input DisableAutoOpen(void) : "Stops the door from opening when a marine is within its asw_door_area."
input RecommendWeld(void) : "Uses the instructor to tell the players to weld the door."
"A trigger volume in which marines can use a button. Set the UseTarget to a door to make it a Door Button."
[
panelpropname(target_destination) : "Panel Prop name" : "" : "Name of the prop_dynamic used for this button panel's representation in the world. Skin # of this prop_dynamic will be set to reflect the locked/unlocked/power status of this panel."
hacklevel(integer) : "Time to charge up" : 5 : "The time taken to charge up this panel's actuators in seconds, if all wires are unjumbled. NOTE: This number may be adjusted ingame by the marine's hack skill."
numwires(integer) : "Num Wires" : 2 : "How many wires this door panel has inside it (from 1 to 4). Each wire unjumbled will speed up the charging of the actuators."
wirecolumns(integer) : "Wire Columns" : 5 : "How many sections across the wire has (from 3 to 8). Higher values should be used for more difficult panels."
wirerows(integer) : "Wire Rows" : 2 : "How many rows each wire has (from 1 to 3)."
locked(choices) : "Locked" : 0 : "Whether this panel is locked or not." =
[
0 : "No"
1 : "Yes"
]
useafterhack(choices) : "Auto-use after hack" : 1 : "If set, when the marine finishes hacking this panel, he will perform a use action on it." =
[
0 : "No"
1 : "Yes"
]
disableafteruse(choices) : "Disable After Use" : 0 : "If set, button panel will become non-interactive after use" =
[
0 : "No"
1 : "Yes"
]
nopower(choices) : "Has Power" : 0 : "Button areas without power can't be used. Button areas can be powered using input PowerOn." =
[
0 : "Powered"
1 : "No Power"
]
nopowermessage(string) : "No Power Message" : "" : "Message to show on the use icon when this panel has no power."
output OnButtonHackStarted(void) : "Fired whenever a marine starts hacking this panel."
output OnButtonHackAt25Percent(void) : "Fired whenever the hack gets over halfway through"
output OnButtonHackAt50Percent(void) : "Fired whenever the hack gets over halfway through"
output OnButtonHackAt75Percent(void) : "Fired whenever the hack gets over halfway through"
output OnButtonHackCompleted(void) : "Fired when a marine successfully finishes hacking this panel."
output OnButtonActivated(void) : "Fired whenever a marine uses this button panel."
input PowerOn(void) : "Enables power to this button area. Button areas without power can't be used."
input PowerOff(void) : "Disables power to this button area. Button areas without power can't be used."
input ResetHack(void) : "Relocks the panel, removes the hack and all hack progess. Only works if the panel isn't in use."
input Unlock(void) : "Unlocks a locked button panel"
"A trigger volume in which marines can use a computer."
[
Locked(choices) : "Locked" : "1" : "Locked computer terminals will require a Technical Engineer to pass the hacking minigame before allowing access to the main menu." =
[
0 : "Unlocked"
1 : "Locked"
]
panelpropname(target_destination) : "Computer prop name" : "" : "Name of the prop_dynamic used for this computer panel's representation in the world. Skin # of this prop_dynamic will be set to reflect the locked/unlocked status of this computer."
SecurityCam1Name(target_destination) : "SecurityCam1 Name" : "" : "Name of the 1st security cam available from this computer."
SecurityCam1Label(string) : "SecurityCam1 Label" : "" : "Text label shown over this camera view ingame."
Turret1Name(target_destination) : "Turret1 Name" : "" : "Name of the 1st turret available from this computer."
//Turret1Label(string) : "Turret1 Label" : "" : "Text label shown over this turret view ingame."
MailFile(string) : "Mail File" : "" : "Name of the text resource file containing email to show at this computer."
NewsFile(string) : "News File" : "" : "Name of the text resource file containing news to show at this computer."
StocksSeed(string) : "Stocks Seed" : "" : "Number used to seed the stocks data shown at this computer. Computers with the same Stock Seed will show the same stock values."
WeatherSeed(string) : "Weather Seed" : "" : "Number used to seed the weather data shown at this computer. Computers with the same Weather Seed will show the same weather values."
PlantFile(string) : "Plant Status" : "" : "Put in any text here to make the computer show the reactor status (special option for use only in Rydberg). Leave blank to not have this option in the computer."
DownloadObjectiveName(string) : "Download Objective Name" : "" : "Name of the objective to trigger as complete when a marine downloads the documents from this computer."
HackDifficulty(integer) : "Num Tumblers" : 5 : "How many columns are in the hack puzzle for this computer (from 3 to 8)."
EntriesPerTumbler(integer) : "Entries per tumbler" : 5 : "How many numbers are in each column of the hack puzzle (from 5 to 9)."
TumblerMoveInterval(float) : "Move interval" : "0.5" : "How long each column pauses for before shifting to a new number (from 0.3 to 2.0 seconds)."
PDAName(string) : "PDA Name" : "" : "If this computer area represents a PDA, then put the name of the PDA owner here."
DownloadTime(float) : "Download Time" : "10.0" : "How many seconds it takes to download the critical files from this computer. NOTE: This number may be adjusted ingame by the marine's hack skill."
output OnComputerHackStarted(void) : "Fired whenever a marine starts hacking this computer."
output OnComputerHackHalfway(void) : "Fired when a marine successfully finishes hacking this pcomputer."
output OnComputerHackCompleted(void) : "Fired when a marine successfully finishes hacking this pcomputer."
output OnComputerActivated(void) : "Fired whenever a marine uses this computer."
output OnComputerDataDownloaded(void) : "Fired when a marine downloads the critical data from this computer."
output OnComputerViewMail1(void) : "Fired whenever a marine reads the 1st mail in this computer."
output OnComputerViewMail2(void) : "Fired whenever a marine reads the 2nd mail in this computer."
output OnComputerViewMail3(void) : "Fired whenever a marine reads the 3rd mail in this computer."
output OnComputerViewMail4(void) : "Fired whenever a marine reads the 4th mail in this computer."
objectivetitle(string) : "Objective Title" : "" : "Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display."
objectivetitle(string) : "Objective Title" : "" : "Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display."
objectivetitle(string) : "Objective Title" : "" : "Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display."
objectivetitle(string) : "Objective Title" : "#asw_all_survive" : "Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display."
"Alien Swarm Countdown Objective - counts down to 0 then explodes the level"
[
objectivetitle(string) : "Objective Title" : "" : "Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display."
CountdownLength(float) : "Countdown Length" : 60 : "How many seconds before the level explodes."
input StartCountdown(void) : "Start Countdown"
input CancelCountdown(void) : "Cancel Countdown"
output OnCountdownFailed(void) : "Fired when the countdown timer reaches 0."
input DisableTechMarineReq(void) : "Disable tech marine req. If a tech is required to hack a certain objective, then send this input after the hack is finished (as the tech marine is no longer needed to finish the mission)."
input EnableTechMarineReq(void) : "Re-enable the tech marine req. after disabling it."
PulseStrength(float) : "Pulse Strength" : "0.8" : "Controls the amplitude of the pulsating goo (ranges from 0 to 1.0)."
PulseSpeed(float) : "Pulse Speed" : "1.0" : "Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower)."
BurningLinkName(string) : "Burning Link Name" : "" : "Alien goo/Grub sacs that share the same Burning Link Name will all be set on fire when one of those alien goo's is set on fire."
HasAmbientSound(choices) : "Has Ambient Sound" : 1 : "Whether the goo has a slimey ambient sound effect loop or not." =
[
0 : "No"
1 : "Yes"
]
RequiredByObjective(choices) : "Required By Objective" : 1 : "Whether the goo must be destroyed for an objective. (supresses burn hint if no)" =
[
0 : "No"
1 : "Yes"
]
output OnIgnite(void) : "Fired when the goo catches fire"
output OnGooDestroyed(void) : "Fired when the goo is destroyed"
//PulseStrength(float) : "Pulse Strength" : "0.8" : "Controls the amplitude of the pulsating goo (ranges from 0 to 1.0)."
//PulseSpeed(float) : "Pulse Speed" : "1.0" : "Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower)."
BurningLinkName(string) : "Burning Link Name" : "" : "Alien goo/Grub sacs that share the same Burning Link Name will all be set on fire when one of those alien goo's is set on fire."
"An entity that pops up a message window on the player's HUD"
[
WindowSize(integer) : "Window Size" : 5: "Size of the message window (from 4 to 6)"
WindowTitle(string) : "Message Name" : "" : "Name of the message when shown in the message log (Up to 128 characters)."
MessageLine1(string) : "Message Line 1" : "" : "First line of the message (Up to 255 characters)."
MessageLine2(string) : "Message Line 2" : "" : "Second line of the message (Up to 255 characters)."
MessageLine3(string) : "Message Line 3" : "" : "Third line of the message (Up to 255 characters)."
MessageLine4(string) : "Message Line 4" : "" : "Fourth line of the message (Up to 255 characters)."
MessageSound(sound) : "Message Sound" : "" : "Sound played when the message is shown."
MessageImage(string) : "Message Image" : "" : "This wide texture is drawn centered below the message text at 2:1 width to height ratio, taking up whatever space is left at the bottom of the message panel."
// Inputs
input ShowMessage(void) : "Shows the message and plays the sound."
input StopSound(void) : "Stops the sound from the last asw_info_message that made a sound."
// outputs
output OnMessageRead(void) : "Fired when any player closes this message window"
"A trigger volume that can be triggered multiple times and has a random chance of firing each time."
[
wait(integer) : "Delay Before Reset" : -1 : "Amount of time, in seconds, after the trigger has triggered before it can be triggered again. If set to -1, it will never trigger again."
TriggerChance(float) : "Trigger Chance" : "1.0" : "Chance of the trigger firing out (from 0 to 1)."
// Outputs
output OnTrigger(void) : "Fired whenever the trigger is touched and the triger chance passes."
"A trigger volume that can be triggered multiple times and will randomly fire one of its outputs."
[
wait(integer) : "Delay Before Reset" : -1 : "Amount of time, in seconds, after the trigger has triggered before it can be triggered again. If set to -1, it will never trigger again."
NumOutputs(integer) : "Num Outputs" : 2 : "How many outputs to randomly pick from (from 1 to 6)."
// Outputs
output OnTrigger1(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
output OnTrigger2(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
output OnTrigger3(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
output OnTrigger4(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
output OnTrigger5(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
output OnTrigger6(void) : "One of the OnTrigger outputs is randomly chosen and fired whenever the trigger is activated."
"A trigger volume that will occasionally make a marine comment about a supply stash."
[
wait(integer) : "Delay Before Reset" : -1 : "Amount of time, in seconds, after the trigger has triggered before it can be triggered again. If set to -1, it will never trigger again."
NoAmmo(choices) : "Supply Type" : 0 : "The type of objects in the nearby supply stash." =
[
0 : "Mixed"
1 : "No ammo pickups"
]
// Outputs
output OnTrigger(void) : "Fired whenever the trigger is activated."
"A trigger volume that will make Crash or Vegas comment on SynUp cola."
[
//wait(integer) : "Delay Before Reset" : -1 : "Amount of time, in seconds, after the trigger has triggered before it can be triggered again. If set to -1, it will never trigger again."
// Outputs
output OnTrigger(void) : "Fired whenever the trigger is activated."
"A trigger volume that will knock away any marines touching it."
[
wait(integer) : "Delay Before Reset" : -1 : "Amount of time, in seconds, after the trigger has triggered before it can be triggered again. If set to -1, it will never trigger again."
knockdir(vector) : "Knockback Velocity" : "0 0 100" : "Velocity given to the thrown back marine."
// Outputs
output OnKnockedBack(void) : "Fired whenever the trigger is activated."
4: "In Air" : 0 // shakes objects even if they are not onground
8: "Physics" : 0 // shakes physically as well as the camera
16: "Ropes" : 0 // shakes ropes too.
]
amplitude(float) : "Amplitude (0-16)" : "4" : "The amount of noise in the screen shake. Should be a range between 0 and 16."
radius(float) : "Effect Radius" : "500" : "The radius around this entity in which to affect players."
duration(float) : "Duration (seconds)" : "1" : "The length of time in which to shake the player's screens."
frequency(float) : "Frequency" : "2.5" : "The frequency used to apply the screen shake. Should be a value between 0 and 255, where 0.1 = jerk, and 255.0 = rumble."
// Inputs
input Amplitude(string) : "Set the amplitude (0-16)"
input Frequency(string) : "Set the frequence. Should be a value between 0 and 255, where 0.1 = jerk, and 255.0 = rumble."
"A harmless Swarm grub, that crawls about looking icky."
[
//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"
//]
//
// spawnflags(Flags) =
// [
//131072 : "Use Ground Checks" : 0
//]
]
@SolidClass base(Trigger) = trigger_asw_jump :
"A trigger volume that causes Swarm Drones to jump when they come into contact with it"
[
//wait(integer) : "Delay Before Reset" : 1 : "Amount of time, in seconds, after the trigger_multiple has triggered before it can be triggered again. If set to -1, it will never trigger again (in which case you should just use a trigger_once)."
JumpDestName(target_destination) : "Jump Destination Name" : : "The name of the item Drones should jump to (use an info_target)."
MinMarineDist(float) : "Min. Marine Distance" : 400 : "If a marine is within this distance from the Drone, the Drone will not jump."
ClearOrders(choices) : "Clear Orders" : 1 : "Clear the jumpers orders when he jumps." =
[
0 : "No"
1 : "Yes"
]
CheckEnemyDirection(choices) : "Check enemy direction" : 1 : "If the alien has an enemy, check it's in the direction of the jump, else don't jump." =
[
0 : "No"
1 : "Yes"
]
CheckTriggerJumped(choices) : "Check Trigger Jumped Already" : 1 : "Don't jump if the alien has trigger jumped already." =
[
0 : "No"
1 : "Yes"
]
RetryFailedJumps(choices) : "Retry Failed Jumps" : 0 : "If set and the alien can't make the jump, the alien will stand and wait until he can make the jump." =
[
0 : "No"
1 : "Yes"
]
ForceJump(choices) : "Force Jump" : 0 : "Forces alien to jump with the Force Angle and Speed, without using the jump target and without checking for a valid jump or enemy." =
[
0 : "No"
1 : "Yes"
]
ForceAngle(angle) : "Force Jump Pitch Yaw Roll (Y Z X)" : "90 0 0" : "Direction the alien should do a forced jump."
"The camera will change when marines are inside this volume."
[
angtype(choices) : "Angle Type" : 0 : "Camera angle to use when marines are in this volume." =
[
0 : "Top-down"
1 : "40 degree"
]
]
@SolidClass base(Targetname) = asw_snow_volume :
"Causes snow when the marine is inside this volume."
[
snowtype(choices) : "Snow Type" : 1 : "Type of snow that falls. NOTE: This setting must be the same on all asw_snow_volumes in your map. Heavier snow should be used in outdoor maps, where snow clouds/particles cover the level (snow particles WILL flow outside the volume bounds some)." =
"Adds noise and distortion over the marine's scanner when he gets near."
[
maxdistance(float) : "Distortion radius" : "200" : "Radius of the scanner distortion effect. Falloff is linear from the core edge to this distance. Must be greater than the core radius."
core(float) : "Core distortion radius" : "100" : "Radius of the core scanner distortion effect. Within this core, distortion will be at full."
"An entity that controls the drawing of a sprite in the world, created clientside so cannot be parented to moving things and will use up no network bandwidth or CPU."
[
framerate(string) : "Framerate" : "10.0" : "Rate at which the sprite should animate, if at all."
model(sprite) : "Sprite Name" : "sprites/glow01.spr" : "Material of the sprite to be drawn."
scale(string) : "Scale" : "" : "Scale multiplier of the sprite."
spawnflags(flags) =
[
1: "Start on" : 0
2: "Play Once" : 0
]
GlowProxySize(float) : "Size of Glow Proxy Geometry." : "2.0" : "Size of the glow to be rendered for visibility testing. Must be larger than the distance from the sprite center to empty space. So if this glow is inside geometry (like a light bulb), set this value to be bigger than the bulb's radius. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered."
HDRColorScale(float) : "HDR color scale." : "1.0" : "float value to multiply sprite color by when running in HDR mode."
"A Barrel that gives off radioactive gas when shot."
[
BulletForceImmune(boolean) : "Immune to bullet forces" : 0 : "Used to determine whether or not bullet damage should cause the prop to move."
// Inputs
input Break(void) : "Breaks the breakable."
input SetHealth(integer) : "Sets a new value for the breakable's health. If the breakable's health reaches zero it will break."
input AddHealth(integer) : "Adds health to the breakable. If the breakable's health reaches zero it will break."
input RemoveHealth(integer) : "Removes health from the breakable. If the breakable's health reaches zero it will break."
input SetMass(float) : "Set mass of this object."
// Outputs
output OnBreak(void) : "Fired when this breakable breaks."
output OnTakeDamage(void) : "Fired each time this breakable takes any damage."
output OnHealthChanged(float) : "Fired when the health of this breakable changes, passing the new value of health as a percentage of max health, from [0..1]."
BulletForceImmune(boolean) : "Immune to bullet forces" : 0 : "Used to determine whether or not bullet damage should cause the prop to move."
// Inputs
input Break(void) : "Breaks the breakable."
input SetHealth(integer) : "Sets a new value for the breakable's health. If the breakable's health reaches zero it will break."
input AddHealth(integer) : "Adds health to the breakable. If the breakable's health reaches zero it will break."
input RemoveHealth(integer) : "Removes health from the breakable. If the breakable's health reaches zero it will break."
input SetMass(float) : "Set mass of this object."
// Outputs
output OnBreak(void) : "Fired when this breakable breaks."
output OnTakeDamage(void) : "Fired each time this breakable takes any damage."
output OnHealthChanged(float) : "Fired when the health of this breakable changes, passing the new value of health as a percentage of max health, from [0..1]."
// DefaultAnim(string) : "Default Animation" : "" : "The name of the idle animation that this prop will revert to whenever it finishes a random or forced animation."
"Entity that can be told when marines go past a certain point and will fire an output when the specified number of marines are past. Can be told when a marine has backtracked to account for that also."
[
NumMarines(integer) : "Num Marines" : 3 : "How many marines must pass this area for the 'MarinesPast' output to fire."
input MarineInFront(void) : "A trigger should send this input when a marine is past this point."
input MarineBehind(void) : "A trigger should send this input when a marine is behind this point (to detect marines that walk past here but then backtrack)."
output MarinesPast(void): "Fired when the desired number of marines are past here"
"A clientside only prop that physically simulates and can be articulated with internal joints. The joint constraints are part of the physics model."
[
angles(angle) : "Pitch Yaw Roll (Y Z X)" : "90 0 0" : "This entity's orientation in the world. Pitch is rotation around the Y axis, " +
"yaw is the rotation around the Z axis, roll is the rotation around the X axis."
fademindist(float) : "Start Fade Dist" : -1 : "Distance at which the prop starts to fade (<0 = use fademaxdist)"
fademaxdist(float) : "End Fade Dist" : 0 : "Max fade distance at which the prop is visible (0 = don't fade out)"
fadescale(float) : "fade scale" : 1 : "If you specify a fade in the worldspawn, or if the engine is running under dx7, or the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified." +
" This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades." +
" Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances."
"Indicates the starting point of the marines for the tutorial for each marine. Multiple start points can be placed for each marine and the one matching the save stage the player has reached will be used." +
"Mapper should set the asw_tutorial_save_stage ConVar with triggers as the player progresses through the tutorial."
[
MarineSlot(choices) : "Marine Slot" : 0 : "Sets which marine this start point is intended for." =
[
0 : "Crash"
1 : "Sarge"
2 : "Bastille"
]
SaveStage(integer) : "Save stage" : 0 : "Sets which stage save this start point is intended for."
"A camera entity that controls all players views. While it's active, all players will see out of the camera."
[
target(target_destination) : "Entity to Look At" : : "Name of the entity that the camera should point at and track while active."
targetattachment(string) : "Target Attachment Name" : : "If set, the camera will focus on the specified attachment on the 'Entity to Look At'."
wait(integer) : "Hold Time" : 10 : "The amount of time the camera should control the player's view for, after which it deactivates itself. If the camera should stay active until told to deactive, set the 'Infinite Hold Time' spawnflag."
moveto(target_destination) : "Path Corner" : : "The first path corner in a track that the camera should move along once it's activated. If not specified, the camera won't move."
spawnflags(flags) =
[
//1: "Start At Player" : 1
//2: "Follow Player" : 1
4: "Freeze Players" : 0
8: "Infinite Hold Time" : 0
16:"Snap to goal angles" : 0
//32:"Make Player non-solid" : 0
//64:"Interruptable by Player" : 0
]
speed(string) : "Initial Speed" : "0" : "The starting speed that the camera moves at, if it's on a path track."
acceleration(string) : "Acceleration units/sec^2" : "500" : "The speed at which the camera accelerates to path corner's desired speeds."
deceleration(string) : "Stop Deceleration units/sec^2" : "500" : "The speed at which the camera decelerates to path corner's desired speeds."
// Inputs
input Enable(void) : "Enable the point_viewcontrol, and start controlling the player's view."
input Disable(void) : "Disable the point_viewcontrol, and stop controlling the player's view."
// Outputs
output OnEndFollow(void) : "Fired when the point_viewcontrol deactivates, due to the Disable input being received, the Entity to Look At being destroyed, or the Hold Time expiring."
"Follow hint node for marines. It is also a navigation node for ground moving NPCs. Navigation nodes are baked into the nodegraph so that NPCs can move " +
"to them. Ground nodes fall to the ground when they spawn."
[
spawnflags(Flags) =
[
1 : "Force human permission" : 0
2 : "Force small_centered permission" : 0
4 : "Force wide_human permission" : 0
8 : "Force tiny permissiont" : 0
16 : "Force wide_short permission" : 0
32 : "Force medium permission" : 0
64 : "Force tiny_centered permission" : 0
128 : "Force large permission" : 0
256 : "Force large_centered permission" : 0
512 : "Keep editor position" : 0
1024 : "Force medium tall permission" : 0
2048 : "Force tiny fluid permission" : 0
4096 : "Force medium big (Swarm Drone) permission" : 0
"An entity used to create particle sparks at its origin."
[
rendercolor(color255) : "Color (R G B)" : "231 194 149"
MinDelay(string) : "Min Delay" : "0.15" : "The shortest delay between sparks (in seconds)."
MaxDelay(string) : "Max Delay" : "1" : "The longest delay between sparks (in seconds). If the max delay is shorter than the min delay, the delay will equal the max."
Magnitude(choices) : "Magnitude" : 50 : "The size of the sparks." =
[
25 : "Tiny"
50 : "Small"
100 : "Medium"
200 : "Large"
400 : "Huge"
]
PercentCollide(float) : "Percent Collide" : "10" : "What percentage of the sparks will collide with the world (0-100)"
spawnflags(flags) =
[
64: "Start ON" : 0
128: "Silent" : 0
256: "Electrical" : 1
]
// Inputs
input StartSpark(void) : "Start the spark effect."
input StopSpark(void) : "Stop the spark effect."
input ToggleSpark(void) : "Toggle the on/off state of the spark effect."
input SparkOnce(void) : "Spark once."
input SetMinDelay(float) : "Set the min delay that a spark will shoot."
input SetMaxDelay(float) : "Set the max delay that a spark will shoot."
"An entity that creates an explosion at its origin."
[
iDamage(Integer) : "Damage" : 100 : "The amount of damage done by the explosion."
// If no radius override, magnitude will determine radius.
iRadiusOverride(Integer) : "Radius Override" : 0 : "If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude. (doesn't affect the fireball effect, yet)"
ExplosionSound(sound) : "Explosion Sound" : "ASW_Explosion.Explosion_Default" : "Choose what sound to play when the explosion happens. If you don't want a sound to play, click the No Sound flag."
spawnflags(flags) =
[
1: "No Damage" : 0
2: "Repeatable" : 0
4: "No Fireball" : 0
8: "No Decal" : 0
16: "No Sound" : 0
32: "Damage above surface only" : 0
64: "Generic damage" : 0
]
ignoredEntity(target_destination) : "Ignored Entity" : : "Do not harm or affect the named entity."
targetname(target_source) : "Name" : "@director" : "The name that other entities refer to this entity by."
wanderers(choices) : "Wandering Aliens" : 0 : "Whether to spawn random drones around the players." =
[
0 : "No"
1 : "Yes"
]
hordes(choices) : "Hordes" : 1 : "Whether to spawn large groups of drones periodically." =
[
0 : "No"
1 : "Yes"
]
controlspawners(choices) : "Control Spawners" : 0 : "If enabled, asw_spawners will only work when the director is in an active spawning state." =
[
0 : "No"
1 : "Yes"
]
input EnableHordes(void) : "Enable random horde spawning."
input DisableHordes(void) : "Disable random horde spawning."
input EnableWanderers(void) : "Enable random wandering aliens."
input DisableWanderers(void) : "Disable random wandering aliens."
input StartFinale(void) : "Enables wanderers, hordes and sends director into crazy spawning mode."
output OnEscapeRoomStart(void) : "Fired when marine enters the escape room with all objectives (except for escape) complete. NOTE: If you rely on this output, you must ship the .layout file along with your map."