Editing Cave unit layout file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
=== Entry === | === Entry === | ||
− | Each entry in the list is inside its own block | + | Each entry in the list is inside its own block. |
The first line in the block is the "type of coordinate". Only objects that match this type can spawn here. For a list of type IDs and what they're normally used for (although this is not a hard rule), see [[Cave definition file#Type|here]]. | The first line in the block is the "type of coordinate". Only objects that match this type can spawn here. For a list of type IDs and what they're normally used for (although this is not a hard rule), see [[Cave definition file#Type|here]]. | ||
Line 15: | Line 15: | ||
The second line is the coordinates themselves, in the format <code>X Y Z</code>. The coordinates are based on the cave unit, not the world coordinates. | The second line is the coordinates themselves, in the format <code>X Y Z</code>. The coordinates are based on the cave unit, not the world coordinates. | ||
− | + | {{todo|Document the third line.}} | |
The fourth line is the maximum radius in which the objects can randomly spread out from the initial point. Whenever an object chooses to spawn here, it randomly spreads out from the exact coordinates, using this information. | The fourth line is the maximum radius in which the objects can randomly spread out from the initial point. Whenever an object chooses to spawn here, it randomly spreads out from the exact coordinates, using this information. |