Difference between revisions of "Modding:Mapmaking"

From Isleward Wiki
Jump to: navigation, search
(ugh. i wish somebody had written the zonefile tip down for me :))
 
(add notes about estuary random map gen)
 
Line 11: Line 11:
 
=== Zonefile Tips ===
 
=== Zonefile Tips ===
 
* Object names must be all lowercase (for some reason, objects with capitals in their name don't get the correct properties assigned from the zonefile if the capitalization is off)
 
* Object names must be all lowercase (for some reason, objects with capitals in their name don't get the correct properties assigned from the zonefile if the capitalization is off)
 +
 +
=== Generated Maps ===
 +
Randomized maps like the Estuary can be created using Tiled.
 +
Pieces are defined with points where they can attach to other pieces.
 +
 +
In the <code>rooms</code> layer, create an area covering a piece of the map.
 +
This object can have different properties to change the piece's behavior:
 +
 +
{| class="wikitable" style="margin: 0 auto;"
 +
! Key !! Values !! Notes
 +
|-
 +
| start || unset or 1 ||
 +
|-
 +
| end || unset or 1 ||
 +
|-
 +
| maxOccur || number ||
 +
|-
 +
| hallway || unset or 1 ||
 +
|-
 +
| noRotate || unset or 1 ||
 +
|}
 +
 +
Pieces can have objects and mobs in them (portals, enemies, etc).
 +
 +
Inside of each room object there should be more objects which are 1-wide and mark the connecting points. These have an exit property which is an array of two numbers which indicates the direction this exit attaches in.
 +
A value of [1, 0] means it's on the right side of a piece. [-1, 0] is the left side. [0, -1] is the top and [0, 1] is the bottom.
  
 
== Guide ==
 
== Guide ==
 
See: [https://gitlab.com/Isleward/isleward/wikis/howto-build-map]. Full guide coming... eventually.
 
See: [https://gitlab.com/Isleward/isleward/wikis/howto-build-map]. Full guide coming... eventually.

Latest revision as of 18:19, 19 May 2020

Mapmaking[edit]

Stub: This article is a stub. You may complete the article by expanding it.

Mapmaking is creating maps for Isleward, most likely for use on a custom/private server.

Isleward has its own mapper but it isn't complete yet and it isn't supported by the server. Maps are currently made in Tiled, but newer versions are incompatible so a person needs to find a download of the same version that the current map.json files use.

Tips[edit]

Zonefile Tips[edit]

  • Object names must be all lowercase (for some reason, objects with capitals in their name don't get the correct properties assigned from the zonefile if the capitalization is off)

Generated Maps[edit]

Randomized maps like the Estuary can be created using Tiled. Pieces are defined with points where they can attach to other pieces.

In the rooms layer, create an area covering a piece of the map. This object can have different properties to change the piece's behavior:

Key Values Notes
start unset or 1
end unset or 1
maxOccur number
hallway unset or 1
noRotate unset or 1

Pieces can have objects and mobs in them (portals, enemies, etc).

Inside of each room object there should be more objects which are 1-wide and mark the connecting points. These have an exit property which is an array of two numbers which indicates the direction this exit attaches in. A value of [1, 0] means it's on the right side of a piece. [-1, 0] is the left side. [0, -1] is the top and [0, 1] is the bottom.

Guide[edit]

See: [1]. Full guide coming... eventually.