Interior Fences BTS: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Interior Fences}}{{back|Detailing BTS Areas|Design & Detail}}{{Tutorial Skill Level | skill=1}}
{{DISPLAYTITLE: Portal BTS - Tutorial - Interior Fences}}{{back|Detailing BTS Areas|Design & Detail}}{{Tutorial Skill Level | skill=1}}


==Introduction==
==Introduction==
Line 13: Line 13:


==Fence Creation==
==Fence Creation==
[[Image:portal_bts_interior_fences.png|thumb|right|250px|Interior Fences]]
[[File:portal_bts_interior_fences.png|thumb|right|250px|Interior Fences]]


Create a <code>[[prop_static]]</code> entity and set its model one of the fence models and Disable the Shadows.
Create a <code>[[prop_static]]</code> entity and set its model one of the fence models and Disable the Shadows.
Line 20: Line 20:
==Fence Doors==
==Fence Doors==


Some fences have doors and the have a unique fence structure.
Some fences have doors and they have a unique fence structure.


Create a <code>prop_static</code> entity and set its model to <code>models/props_wasteland/interior_fence003e.mdl</code> and Disable the Shadows.
Create a <code>prop_static</code> entity and set its model to <code>models/props_wasteland/interior_fence003e.mdl</code> and Disable the Shadows.
Line 29: Line 29:


Position the models with the other fence props.
Position the models with the other fence props.
[[Image:portal_bts_interior_door_lock.png|thumb|right|200px|Door Lock]]
[[File:portal_bts_interior_door_lock.png|thumb|right|200px|Door Lock]]


Create a <code>[[prop_physics]]</code> entity and set its model to <code>models/props_wasteland/prison_padlock001a.mdl</code>.
Create a <code>[[prop_physics]]</code> entity and set its model to <code>models/props_wasteland/prison_padlock001a.mdl</code>.
Line 39: Line 39:
*Generate output on +USE
*Generate output on +USE


{{bug| The lock model is able to be destroyed by jumping on it or potential turret gunfire, to fix this, you can set the <code>Min Damage to Hurt</code> value to a high number so it doesn't break.}}
{{bug|hidetested=1| The lock model is able to be destroyed by jumping on it or potential turret gunfire, to fix this, you can set the <code>Min Damage to Hurt</code> value to a high number so it doesn't break.}}


Position the lock with the door handle. You don't need a lock on both sides, but they are typically put on the side the player will first walk across them. {{clr}}
Position the lock with the door handle. You don't need a lock on both sides, but they are typically put on the side the player will first walk across them. {{clr}}
[[Image:portal_bts_interior_fences_door_complete.png|thumb|left|500px|Interior Fence with a door]]
[[File:portal_bts_interior_fences_door_complete.png|thumb|left|500px|Interior Fence with a door]]
{{clr}}
{{clr}}


== See Also ==
== See also ==


* [[Portal Level Creation]]
* [[Portal Level Creation]]
Line 51: Line 51:
[[Category: Portal]]
[[Category: Portal]]
[[Category: Level Design]]
[[Category: Level Design]]
[[Category: Level_Design_Tutorials]]
[[Category: Tutorials]]
[[Category: Tutorials]]

Latest revision as of 07:19, 20 May 2025

Design & Detail
Skill Level

This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly.

Novice Familiar Competent Proficient Expert


Introduction

This guide will show you how to properly create interior fences.

Fence Model Sizes

Not all fence props are the same size. Here's a list of the fence sizes that Portal uses:

  • models/props_wasteland/interior_fence003b.mdl - 120l*120h
  • models/props_wasteland/interior_fence003d.mdl - 64l*120h

When creating the fences, you'll have to lower your grid size a bit so they don't float.

Fence Creation

Interior Fences

Create a prop_static entity and set its model one of the fence models and Disable the Shadows.

If you do not intend to detail your fence, you can be done here.

Fence Doors

Some fences have doors and they have a unique fence structure.

Create a prop_static entity and set its model to models/props_wasteland/interior_fence003e.mdl and Disable the Shadows.

Create a prop_static entity and set its model to models/props_wasteland/interior_fence001g.mdl and Disable the Shadows.

Another fact about doors is that instead of them being centered, they are always on the side of the interior_fence003d fence prop. If the fence you are putting up is 256 units tall, make sure the 128 unit fence above the the door is split into interior_fence003d models.

Position the models with the other fence props.

Door Lock

Create a prop_physics entity and set its model to models/props_wasteland/prison_padlock001a.mdl.

Go to flags and tick

  • Motion Disabled

and untick

  • Generate output on +USE
Icon-Bug.pngBug: The lock model is able to be destroyed by jumping on it or potential turret gunfire, to fix this, you can set the Min Damage to Hurt value to a high number so it doesn't break.

Position the lock with the door handle. You don't need a lock on both sides, but they are typically put on the side the player will first walk across them.

Interior Fence with a door

See also