trigger_asw_computer_area

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

trigger_asw_computer_area is a brush entity present in Asw.pngAlien Swarm. It is used to create hackable or interactive computers.

Keyvalues[edit | edit source]

Locked (hackable) (Locked) <boolean>
Locked computers must be hacked before allowing access.
Auto-use after hack (Not in FGD) (useafterhack) <boolean>
If set, the hacking marine will automatically use the button after hacking it. True by default!
SecurityCam1 Name (SecurityCam1Name) <target_destination>
Targetname of a CPointCamera entity to use as a security camera.
SecurityCam1 Label (SecurityCam1Label) <string>
In-world name for the security camera. Does not work.
Turret1 Name (Turret1Name) <target_destination>
Targetname of an asw_remote_turret that can be controlled from this computer.
Mail File (MailFile) <string>
Name of a file to take text from to display emails on the computer without the file extension or name of the language. Folder should be in swarm/resource/mail/. Example: landingbaymail3.
News File (NewsFile) <string>
Name of a file to take text from to display news on the computer without the file extension or name of the language. Folder should be in swarm/resource/news/. Example: expansionnews.
Stocks Seed (StocksSeed) <string>
String of text to create random stock data from. Computers with the same string will show the same values.
Weather Seed (WeatherSeed) <string>
String of text to create random weather data from. Computers with the same string will show the same values.
Plant Status (PlantFile) <string>
Put something (anything!) in this to show the reactor status button.
PDA Name (PDAName) <string>
If desired, an owner of the PDA/computer.
Download Objective Name (DownloadObjectiveName) <target_destination>
An asw_objective_triggered to mark as complete once this computer is hacked.
Num Tumblers (HackDifficulty) <integer>
How many columns are in the hacking puzzle. Min 3, max 8.
Entries per tumbler (EntriesPerTumbler) <integer>
How tall the columns are. Min 5, max 9.
Move interval (TumblerMoveInterval) <float>
How long between each column shift. Min 0.3, max 2.
Download Time (DownloadTime) <float>
How long it takes to finish downloading data after hacking. Time may be adjusted ingame by the marine's hack skill.

Outputs[edit | edit source]

OnComputerHackActivated
Fires when the player opens the hack HUD (regardless of hack progress).
OnComputerHackStarted
Fires when the screen with the columns appears (regardless of hack progress).
OnComputerHackHalfway
Fires when hacking is half-way done.
OnComputerHackCompleted
Fires when hacking is done.
OnComputerDataDownloaded
Fires when the download finishes.
OnComputerViewMail1 to OnComputerViewMail4
Fire as the player reads emails 1 to 4 in the computer.

See Also[edit | edit source]