User:Chunky104/Adventure Map Table: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
m (Don't think I need a link back to my userpage (MediaWiki seems to put one on the top of the page anyway))
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


==Fields==
==Fields==
The table contains an <code>AdventureMaps</code> field near the top of the file that determines how many items should appear in the list; items beyond this point will not be shown to the user. This is a 0 base index, i.e. 0 is the first entry, 1 is the second, and so on.
The table contains an <code>AdventureMaps</code> field near the top of the file that determines how many items should appear in the list. This is a 0 base index, i.e. 0 is the first entry, 1 is the second, and so on. If there are more table entries than the number specified here, they will not be shown to the user.


Each entry of the table is structured as follows:
Each entry of the table is structured as follows:
* <code><nowiki>[0]</nowiki></code> Assigns an index to this entry in the list of selectable Landscape Styles.
* <code><nowiki>[0]</nowiki></code> Assigns an index to this entry in the list of selectable Landscape Styles.
** <code>Mesh</code> Decimal GUID of the primary model file. This is also used to determine the collision for the map cursor.
** <code>Mesh</code> Decimal GUID of the primary model file. The chosen model's geometry determines the collision for the map cursor.
** <code>OcclusionMesh</code> Decimal GUID of the secondary model file. This is intended to be used for ambient occlusion models; it does not affect cursor's collision.
** <code>OcclusionMesh</code> Decimal GUID of the secondary model file. This is intended to be used for ambient occlusion models; it has no effect on the cursor's collision.
** <code>InventoryIcon</code> Decimal GUID of the texture file that will be displayed in the menu. This is used as a preview icon.
** <code>InventoryIcon</code> Decimal GUID of the texture file that will be displayed in the menu. This is used as a preview icon.
** <code>LabelID</code> Takes a '''[[Resource:Translation Table#Translation Tags|Translation Tag]]''', but doesn't appear to display it in-game.
** <code>LabelID</code> Takes a '''[[Filetype:Translation Table#Translation Tags|Translation Tag]]''', but doesn't appear to display it in-game.
** <code>DLCContentID</code> Specifies which downloadable content pack is required for this Landscape Style. If the player does not own the required DLC, the landscape will not appear in the list.
** <code>DLCContentID</code> Specifies which downloadable content pack is required for this Landscape Style. If the player does not own the required DLC, the landscape will not appear in the list.
** <code>CameraLimitMin</code> Minimum camera range for 16:9 displays.
** <code>CameraLimitMin</code> Minimum camera range for 16:9 displays.

Latest revision as of 08:43, 22 June 2024

The Adventure Map Table filetype .adm is used to determine the selectable options that should appear on the Landscape Styles page when editing an Adventure Map in LittleBigPlanet 3. The file gamedata/data/lbp3_adventure_maps.adm was introduced in Game Update 1.09 to accomodate the new landscape style added in The Journey Home, and updated in Game Update 1.19 to add the landscape from the SpongeBob SquarePants Premium Level Kit.

Fields

The table contains an AdventureMaps field near the top of the file that determines how many items should appear in the list. This is a 0 base index, i.e. 0 is the first entry, 1 is the second, and so on. If there are more table entries than the number specified here, they will not be shown to the user.

Each entry of the table is structured as follows:

  • [0] Assigns an index to this entry in the list of selectable Landscape Styles.
    • Mesh Decimal GUID of the primary model file. The chosen model's geometry determines the collision for the map cursor.
    • OcclusionMesh Decimal GUID of the secondary model file. This is intended to be used for ambient occlusion models; it has no effect on the cursor's collision.
    • InventoryIcon Decimal GUID of the texture file that will be displayed in the menu. This is used as a preview icon.
    • LabelID Takes a Translation Tag, but doesn't appear to display it in-game.
    • DLCContentID Specifies which downloadable content pack is required for this Landscape Style. If the player does not own the required DLC, the landscape will not appear in the list.
    • CameraLimitMin Minimum camera range for 16:9 displays.
    • CameraLimitMax Maximum camera range for 16:9 displays.
    • CameraLimitMin4to3 Minimum camera range for 4:3 displays.
    • CameraLimitMax4to3 Maximum camera range for 4:3 displays.
    • CursorLimitX Sets how far the cursor can travel from the origin on the X axis.
    • CursorLimitY Sets how far the cursor can travel from the origin on the Y axis.