Difference between revisions of "A beginner's guide, lesson 2 - Creating a room"

m
→‎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.


The Tavern has four doors, let's look at the reference for each because they each tell us something useful to develop our own mods.
We will begin with the door called ''ChorrolLoadDoorMiddle01''.
 
We will begin with the door called < ChorrolLoadDoorMiddle01>
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 average lock.
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 cell that the door leads to.
 
 
In this case the ChorrolExterior 15 (-17, 22) cell. Eh!! ChorrolExterior15 is an exterior cell inside the Chorrol World. This is the area enclosed by the city walls that contain all the buildings, trees etc that make up the city of Chorrol. The (-17,22) refers to the x, y co-ordinates inside that cell.
 
 
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. It doesn't have to be the same. But, it makes sense. Doors don't often look different on the front and back. It's a design choice.  
 


VIEW LINKED DOOR and VIEW TELEPORT MARKER - These buttons allow you to jump to the place where the door goes.


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! In this case both buttons seem to do the same job, so why double up.
Let's focus on the '''Teleport''' tab.


In the centre is the '''Teleport''' information associated with this door.


Remember, during 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.  
*'''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'''.


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 activators. When you press the spacebar in game, the program carries out the required teleport instruction.  
*'''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.  


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.
*'''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!




Now let's investigate the two doors marked ChorrolDoorMiddleAnim04 and the oakandcrosierrentdoor.
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.


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 '''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.


The doors have similar looks. The middle04 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’.
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.


Look under the Rent door. This is the same.  
The doors have similar looks. The ''ChorrolDoorMiddleAnim04'' door refers to a guest room. it has a '''Hard''' lock, and it's teleport info is....


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 levelling 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 you don't want to teleport the player somewhere. So panic over, I haven’t broken the game...
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.


Okay, let’s look at the ChorrolDoorMiddleAnim03 door. This is the one that leads to the cellar.
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...




The Tabs tell us that the door is owned by a faction called Generic Owner. (A kind of catch all faction. Faction is only really relevant if the PC can join it.) The Lock on the door is very easy. It is levelled so that it will get harder to pick as you get better in the game but doesn't require the PC to have a key to open it.  
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 Cellar of the Oak and Crosier, and that the door inside the cellar is of a similar type to this one.
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===
Anonymous user