Prefab Comments: Difference between revisions
Line 80: | Line 80: | ||
==Mechanical== | |||
===Clocks=== | |||
clock_nostrike_big_plain_grey.pfb | |||
Revision as of 11:22, 15 December 2008
With most prefabs, it is self-evident what they are but when submitting your own prefabs for use by others it is occasionally helpful, even essential, to add comments. As there is no easy way to include this with the prefab, please add your comments to this article.
When loading prefabs, depending on your editor version, you need to take care:
- Check changed entity names against any bind, frob_peer, lock_peer used_by spawnargs etc.
- If rotating, check the whole prefab has rotated and how. Model doors may be OK but brush doors you might find they now open the wrong way.
- Add complex prefabs to groups (DR=layer) if your editor provides them to make it easier to move, rotate, retexture, etc. later.
- Disable any filtering so you don't overlook, eg, caulk, nodraw textures.
For general information about prefabs see Prefabs
Architecture
Fireplace/Chimney
Prefab : architecture\fireplaces\fireplace_humble_corner_double.pfb
- Can be retextured as a whole (ideally while still selected as a prefab)
- Place between between two walls where the caulk indicates or discard one side and use as single.
- Note multiple edge bevels and patches if cutting/reshaping.
- It is likely that some bevels will pass through into different visportal areas in your mission. This is likely to corrupt the texture rendering even though it looks fine in Dark Radiant. Solution: Clone offending bevel(s) and resize to fit either side of floor/ceiling etc. so each bevel is fully within one visportal area. See Patch texture rendering error.
Texture aligns all round except for...
- one small horizontal line at one side of one of the fireplaces - not too noticeable.
- Horizontal line where vertical chimney starts on two sides only. This will be next dividing wall on one side anyway so only affects one side and this will generally be lost in ceiling hopefully. Not severe.
Rooms, corridors
Rooms, corridors - these should not be used exactly as they are. We don't want lots of mission lookalikes. Instead use them as a start point then adjust, resize, and retexture. Add new features, remove old ones.
Steps & Stairs: Spiral
These consist of a main module:
(architecture\steps,stairs\spiral_stairs\stair_spiral_192_main.pfb)
which is stackable to any number of floors each 192 units high (add a few steps in a corridor if your floors are a little different) plus one top model:
(architecture\steps,stairs\spiral_stairs\stair_spiral_192_top.pfb)
At the time of writing, multiple patrolling AI might get stuck at the foot of the stair. This appears to be an AI intelligence issue rather than an actual obstacle. I found if I placed a path_corner at the foot of the stairs, directly opposite the bottom step and targetted from above (ie, its preceding path_corner that targets it being place on a floor above) then the AI were OK. I had three AI patrolling and passing one another on the stair for a long time without problems this way.
architecture\steps,stairs\spiral_stairs\bc_spiralstair_clip.pfb
...is for use as monster clip for AI pathfinding with various models in:
models\darkmod\architecture\stairs\
Steps & Stairs: Stepladders
At this time there is a problem with adding the collision model to new maps even though the stepladders work fine in the test map. More later...
Doors
Manhole for sewer etc.
'manhole_round_tiny_rusty.pfb is a general purpose sewer entrance. Note that the brush opening is lined with non-solids so the manhole seem a more narrow gap.
manhole_round_tiny_rusty_windup.pfb is the same but with an internal rotary control. This means the manhole cannot be opened or closed from above so the player has to find another route inside but can escape through this route. An alternative is to use a normal locked version of the firt example above and let the player find it inside.
This version might be modified as a pressure hatch in a chemical plant, underwater facility, submarine, etc.
Trapdoor with padlock
doors\trapdoor_wood_crude_padlocked.pfb includes three hasps: The openable part of the padlock, one that is bound tto the door, and one that you need to pplace on your frame/floor.
The padlock can be relocked. If the trapdoor is open then it locks when next closed onto the padlock. Not entirely logical but the alternative would close it when closing the padlock.
The padlock is not a moveable.
Don't overlook the padlock key which is close by.
Mechanical
Clocks
clock_nostrike_big_plain_grey.pfb
Miscellaneous
Player drop start delay
Many Dark Mod FMs will begin with the thief dropping down from a wall, etc. At game start there seems to be a tiny delay (0.25 seconds?) before the view is rendered so the player only sees the end of the drop, maybe none of it.
'misc\player_drop_start_delay.pfb provides a player start with a platform that is removed after 0.25 of a second. Reduce delay for lower heights.
Readables
There is an extensive selection of readable books, scroll, sheets, etc. For details see Readables Prefabs