Creating Portal turrets: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(screenshots)
Line 2: Line 2:


{{portal}} Rocket/bullet turrets are very easy to add to your Portal map.
{{portal}} Rocket/bullet turrets are very easy to add to your Portal map.
[[Image:AP Turret.jpg|right|120px|Aperture Science floor turret]]


== Bullet (floor) turrets ==
== Bullet (floor) turrets ==
Line 14: Line 15:


== Rocket turrets ==
== Rocket turrets ==
[[Image:Rocket_turret.jpg|right|120px|Aperture Science Rocket Turret]]
#Select the entity tool (Shift + E) and in the dropdown menu select <code>[[npc_rocket_turret]]</code>.
#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.
#Then place it where you would like it on the map and rotate it so it's facing the correct direction.

Revision as of 04:31, 27 December 2010

Template:Otherlang2

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

Aperture Science floor turret

Bullet (floor) turrets

  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.
  • Set Damage pushes player to Yes if you want the player pushed back by the turret.
  • Under Flags, check Autostart and Fast retire. This will cause your turret to automatically start and retire fast (like the ones in Portal).

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.

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.

See also