Creating Portal turrets: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nesciuse moved page Creating Portal turrets/en to Creating Portal turrets without leaving a redirect: Move en subpage to basepage)
 
(28 intermediate revisions by 12 users not shown)
Line 1: Line 1:
Creating rocket and bullet firing turrets is very easy and can add a different obstacle to your map.
{{LanguageBar|title = Portal - Tutorial - Turrets}}


==Bullet (Floor) Turrets==
{{back|Portal Level Creation}}
1. Select the entity tool (Shift + E) and in the dropdown menu select {{ent |npc_portal_turret_floor}}.
{{portal}} Rocket/bullet turrets are very easy to add to your Portal map.


2. Then place it where you would like it on the map and rotate it so it's facing the correct direction.
== Bullet (floor) turrets ==
[[File:AP Turret.jpg|right|120px|Aperture Science floor turret]]
# Select the entity tool (Shift + E) and in the dropdown menu select <code>[[npc_portal_turret_floor]]</code>.
# Then place it where you would like it on the map and rotate it so it's facing the correct direction.
# Right-click on it and go to Properties.


3. Right-click on it and go to Properties.
Additionally, you can create a box around your turret to prevent it from being knocked down.
{{clr}}
== Rocket turrets ==
[[File:Rocket_turret.jpg|right|120px|Aperture Science Rocket Turret]]


-Set ''Damage pushes player'' to '''Yes''' if you want the player pushed back by the turret.
#Select the entity tool (Shift + E) and in the dropdown menu select <code>[[npc_rocket_turret]]</code>.
#Then place it where you would like it on the map and rotate it so it's facing the correct direction.


-Under ''Flags'', check '''Autostart''' and '''Fast retire'''. This will cause your turret to automatically start and retire fast (like the ones in Portal).
{{note|Under ''Flags'', check '''Disabled''' if you don't want it to be active right away.}}
{{todo|Explain how to carve hole in ground for turret to recede into when disabled}}
{{clr}}
== See also ==
* [[Portal Level Creation]]


4. That's all there is to it! You can create a box around your turret to prevent it from being knocked down if you like.
[[Category:Portal]]
 
[[Category:Level Design]]
==Rocket (Ground) Turrets==
[[Category:Tutorials]]
1. Select the entity tool (Shift + E) and in the dropdown menu select {{ent |npc_rocket_floor}}.
 
2. Then place it where you would like it on the map and rotate it so it's facing the correct direction.
 
{{note|Under ""Flags"", check '''Disabled''' if you don't want it to be active right away.}}
 
3. That's it! To make it more Portal-esque, you should hide the turret under a door in the floor and have it raise up once the player comes near.

Latest revision as of 06:02, 12 July 2024

English (en)Русский (ru)Translate (Translate)
Portal Level Creation

Portal Rocket/bullet turrets are very easy to add to your Portal map.

Bullet (floor) turrets

Aperture Science floor turret
  1. Select the entity tool (Shift + E) and in the dropdown menu select npc_portal_turret_floor.
  2. Then place it where you would like it on the map and rotate it so it's facing the correct direction.
  3. Right-click on it and go to Properties.

Additionally, you can create a box around your turret to prevent it from being knocked down.

Rocket turrets

Aperture Science Rocket Turret
  1. Select the entity tool (Shift + E) and in the dropdown menu select npc_rocket_turret.
  2. Then place it where you would like it on the map and rotate it so it's facing the correct direction.
Note.pngNote:Under Flags, check Disabled if you don't want it to be active right away.
Todo: Explain how to carve hole in ground for turret to recede into when disabled

See also