Difference between revisions of "A beginner's guide, lesson 2 - Creating a room"
A beginner's guide, lesson 2 - Creating a room (edit)
Revision as of 15:50, 15 January 2008
, 15:50, 15 January 2008→Examining the Doors: Reformatting, grammar, etc.
imported>RedFault m (Adjusted some spacing) |
imported>RedFault m (→Examining the Doors: Reformatting, grammar, etc.) |
||
Line 132: | Line 132: | ||
===Examining the Doors=== | ===Examining the Doors=== | ||
The ''Oak and Crosier Tavern'' has four [[Door|doors]]. Let's look at the '''reference dialog box''' for each, because they each tell us something useful for developing our own mods. | |||
We will begin with the door called ''ChorrolLoadDoorMiddle01''. | |||
We will begin with the door called | |||
The name refers again to a master file in the object list. | The name refers again to a master file in the object list. | ||
The tabs tell us its location, that it is owned by an NPC called Talasma and that it has an | The centre tabs tell us its location, that it is owned by an [[:Category:NPC|NPC]] called ''Talasma'', and that it has an '''Average''' lock. | ||
Let's focus on the '''Teleport''' tab. | |||
In the centre is the '''Teleport''' information associated with this door. | |||
*'''Cell''' - This tells you the name of the [[:Category:Cells|cell]] that the door leads to - in this case the ''ChorrolExterior15'' cell (-17, 22). ''ChorrolExterior15'' is an [[Exterior cells|exterior cell]] inside the ''Chorrol'' '''World'''. This is the area, enclosed by the city walls, that contains all the buildings, trees, etc. that make up the city of ''Chorrol''. The (-17,22) refers to the x, y co-ordinates of ''ChorrolExterior15'' inside that '''World'''. | |||
*'''Reference''' - This tells you the name of the door that we are linked to. In this case it is ''Chorrolloaddoormiddle01''. This is the same as the reference for the interior door in the tavern, which means the door looks the same on the inside and outside. It doesn't have to be the same, but it makes sense. Doors don't often look different on the front and back. This is a design choice. | |||
*'''View Linked Door''' and '''View Teleport Marker''' - These buttons allow you to jump to the place where the door leads. Click either of them and the [[Render Window]] will update to show you the exterior of ''Chorrol'', and the door into the tavern. Click again and you’re back where you started. Neat! | |||
Remember, during [[A beginner's guide, lesson 1 - The Construction Set Primer|Lesson One]], how we talked about spaces, worlds, and cells being linked together artificially, by teleport links that tell the game to load up and move you to particular location? | |||
The ''Fast Travel'' operation is an obvious example, but in fact this happens every time you open a door and the load screen pops up. The doors themselves are [[:Category:Activators|activators]]. When you press the '''Spacebar''' in-game, the program carries out the required teleport instruction. | |||
The '''teleport marker''' tells the game the exact position to place you when you teleport. The marker is the yellow box with the odd pink pyramid on its side. The yellow box says where in space you will appear, and the pyramid points in the direction you will face. You don’t need to place the teleport marker near the door. Again, it is a design choice. It makes sense for this to happen, so it does in most examples in the game. | |||
Now let's investigate the two doors marked ''ChorrolDoorMiddleAnim04'' and the ''oakandcrosierrentdoor''. These refer to the two upstairs guest rooms. It's a bit dark up there, so it might help to shed some light on the situation. This is done using the '''A''' key. That's much better, we can see. | |||
The doors have similar looks. The ''ChorrolDoorMiddleAnim04'' door refers to a guest room. it has a '''Hard''' lock, and it's teleport info is.... | |||
What's going on here? The teleport tick box is unchecked and there is some greyed out info about the ‘abandoned mine’! | |||
Look under the ''oakandcrosierrentdoor'' door. This is the same. | |||
I have to admit I panicked when this first happened. I thought I had broken the game. I know for a fact that there is a room behind that door because when I first stayed in ''Chorrol'', I spent a night in that room leveling up. It turns out that there are '''two types of doors''': ''teleport doors'' - like ''ChorrolLoadDoorMiddle01'' - which, when activated, transport the player to their target, and ''opening doors'', which, when activated, physically swing open. These types of doors are used in display cases, and other doors that don't have to teleport the player anywhere. So panic over, I haven’t broken the game... | |||
Okay, let’s look at the ''ChorrolDoorMiddleAnim03'' door. This is the one that leads to the cellar. | |||
The Tabs tell us that the door is owned by a faction called '''Generic Owner''' (a kind of catch-all faction). The lock on the door is '''Very Easy'''. It's ''leveled'', so that it gets harder to pick as the player's level increases, but it doesn't require the player to have a key to open it. | |||
The Teleport tab tells us that this links to the | The '''Teleport''' tab tells us that this links to the cellar of the ''Oak and Crosier'', and that the door inside the cellar is of a similar type to this one. | ||
Let's do a bit of a mod to get that door open so we can nose around. | Let's do a bit of a mod to get that door open so we can nose around. | ||
===Unlocking the Basement=== | ===Unlocking the Basement=== |