Creating Portal Neurotoxin Gas: Difference between revisions
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE: Portal BTS - Tutorial - Neurotoxin Gas}} | {{DISPLAYTITLE: Portal BTS - Tutorial - Neurotoxin Gas}} | ||
{{ | {{Back|Portal Level Creation|Portal Level Creation}} | ||
{{stub}} | {{stub}} | ||
==Introduction== | ==Introduction== | ||
This guide will teach you how to create neurotoxin gas. | This guide will teach you how to create neurotoxin gas. | ||
{{note|For anyone who wants to complete this page, please finish [[Creating Portal Vents| Creating Vents]] because the neurotoxin vents in the boss fight room are the exact same shape as the normal vents seen throughout the BTS areas.}} | {{note|For anyone who wants to complete this page, please finish [[Creating Portal Vents|Creating Vents]] because the neurotoxin vents in the boss fight room are the exact same shape as the normal vents seen throughout the BTS areas.}} | ||
== Creating the Gas == | == Creating the Gas == | ||
Create an <code>[[info_particle_system]]</code> and set its particle to <code>human_cleanser</code>. Set its position outside the vent. | |||
{{note|If your gas must activate instantenously on map spawn, then make sure you set the <code>Start Active</code> keyvalue to <code>Yes</code>.}} | |||
Set the <code>info_particle_system</code>'s name to <code>home_neurotoxin_pipe_stream</code>. | |||
{{note|If your gas must activate instantenously on map spawn, then make sure you set the <code>Start Active</code> keyvalue to <code>Yes | |||
Set the <code> | |||
[[File:Neurotoxin Gas Example.png|500px|Example values for <code>[[info_particle_system]]</code> with neurotoxin particles]] | [[File:Neurotoxin Gas Example.png|500px|Example values for <code>[[info_particle_system]]</code> with neurotoxin particles]] | ||
== Timer == | == Timer == | ||
[[File:Startneurotoxins Example.png|thumb|500px|An example of the values to put into your output to start the neurotoxin timer]] | [[File:Startneurotoxins Example.png|thumb|500px|An example of the values to put into your output to start the neurotoxin timer]] | ||
| Line 30: | Line 26: | ||
To stop the timer, you would invoke the <code>startneurotoxins</code> command again with a really high number such as <code>99999</code>. | To stop the timer, you would invoke the <code>startneurotoxins</code> command again with a really high number such as <code>99999</code>, and optionally add a {{code|logic_timer}} entity to repeat the {{code|startneurotoxins}} command again every second/minute, permanently stop the timer. | ||
{{note|Remember to turn off the neurotoxin screens at this point to prevent them from counting down again.}} | {{note|Remember to turn off the neurotoxin screens at this point to prevent them from counting down again.}} | ||
== Creating the Neurotoxin Countdown Screens == | == Creating the Neurotoxin Countdown Screens == | ||
{{todo|Add information on how to add these screens}} | {{todo|Add information on how to add these screens}} | ||
== See also == | == See also == | ||
* [[Portal Level Creation]] | * [[Portal Level Creation]] | ||
* [[Creating Portal Vents| Creating Vents]] | * [[Creating Portal Vents| Creating Vents]] | ||
Latest revision as of 05:29, 29 November 2025
Introduction
This guide will teach you how to create neurotoxin gas.
Creating the Gas
Create an info_particle_system and set its particle to human_cleanser. Set its position outside the vent.
Start Active keyvalue to Yes.Set the info_particle_system's name to home_neurotoxin_pipe_stream.
Timer
The neurotoxin timer is started by using the startneurotoxins console command.
Create a point_clientcommand and give it a name, for example client_command.
Add an output to your logic_relay or logic_auto with the target set to your point_clientcommand, the input as Command, and a parameter override of startneurotoxins <seconds> where <seconds> is the number of seconds you want the neurotoxin timer to run for.
To stop the timer, you would invoke the startneurotoxins command again with a really high number such as 99999, and optionally add a logic_timer entity to repeat the startneurotoxins command again every second/minute, permanently stop the timer.