Template:Sublevel technical: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(New documentation style.)
(New behavior for the VRBOXes.)
Line 33: Line 33:
|-
|-
! colspan = 3 | <span style="font-size: 80%">{{tt|(?)|{f00A}, VRBOX}}</span> Background
! colspan = 3 | <span style="font-size: 80%">{{tt|(?)|{f00A}, VRBOX}}</span> Background
| colspan = 3 | {{{bg}}}
| colspan = 3 | {{#if:{{{bg|}}}|<code>{{{bg}}}</code> ({{#switch:{{{bg}}}|vrbox|f010=none|#default=[[File:P2 VRBOX {{{bg}}}.png|x32px]] {{#switch:{{{bg}}}|ice=icy cavern|test=cavern|build=steel|hiroba=garden|flooring=wooden floor|tatami=carpet}}}}) | ''None''}}
|-
|-
! colspan = 6 | [[Cave units]] {{#if:{{{2p|}}} | {{tt|(?)|In 2-Player Battle mode, the caves follow static patterns, picked and organized by a static list of units. Elsewhere, these units are picked and aligned at random.}} | {{tt|(?)|The floor is made up of the following units, organized and picked at random. Units with bold names are considered 'rooms'.}} }}
! colspan = 6 | [[Cave units]] {{#if:{{{2p|}}} | {{tt|(?)|In 2-Player Battle mode, the caves follow static patterns, picked and organized by a static list of units. Elsewhere, these units are picked and aligned at random.}} | {{tt|(?)|The floor is made up of the following units, organized and picked at random. Units with bold names are considered 'rooms'.}} }}
Line 79: Line 79:
|-
|-
! bg
! bg
| '''Yes''' ||  || Background model file. If none, type "None", else, the value in quotes, and a name in parenthesis. e.g.: <code>"ice" (icy cavern)</code>. This is property <code>{f00A}</code> (VRBOX).
| No ||  || Background model file. If none, omit it. This is property <code>{f00A}</code> (VRBOX).
|-
|-
! clog
! clog

Revision as of 13:21, October 30, 2014


Info

Used to describe the technical aspects of a cave's sublevel. This data can be found in /user/Mukki/mapunits/caveinfo.

Parameters

Parameter Mandatory Default Detailed description
2p No If it's a 2-Player Battle cave, give this a value, like "y".
cave Yes Internal name of the cave it's on.
enemymax Yes Maximum number of enemies. This is property {f002} (敵最大数).
itemmax Yes Maximum number of items. This is property {f003} (アイテム最大数).
gatemax Yes Maximum number of gates. This is property {f004} (ゲート最大数).
capmax Yes Maximum number of dead ends (caps). This is property {f014} (キャップ最大数).
rooms Yes Number of rooms. This is property {f005} (ルーム数).
geyser Yes Does it have an escape geyser? Write "Yes" or "No". This is property {f007} (帰還噴水(1=あり)).
unitfile Yes Unit definition file, with the ".txt". This is property {f008} (使用ユニット).
lightfile Yes Lighting definition file, with the ".ini". This is property {f009} (使用ライト).
bg No Background model file. If none, omit it. This is property {f00A} (VRBOX).
clog Yes Is the next sublevel's hole clogged? Write "Yes" or "No". This is property {f010} (階段を壊す岩で隠す(0=オフ 1=オン)).
hiddenfloor Yes Hidden floor? This is not shown on the table. This is property {f013} (隠し床).
units Yes List of cave units. Use {{sublevel units}} for this.

Template

This template includes two templates for {{sublevel units}} in the correct place.

{{sublevel technical
|2p          = 
|cave        = 
|enemymax    = 
|itemmax     = 
|gatemax     = 
|capmax      = 
|rooms       = 
|geyser      = 
|unitfile    = 
|lightfile   = 
|bg          = 
|clog        = 
|hiddenfloor = 
|units       = 
 {{sublevel units
 ||
 ||
 ||
 ||
 ||
 ||
 }}
 {{sublevel units
 ||
 ||
 ||
 ||
 ||
 ||
 }}
}}