Applying Custom Instances

Note: Newer versions of Beardlib Editor includes dedicated custom instances, this workflow is largely unneccisary and outdated. Information on the page is still useful past the main.xml example.

Instance Example (In the Main.xml)

	<instance id="level_id">
		<add file="levels/level_id/add.xml"/>
		<include directory="levels/level_id">
			<file file="world.world" type="generic_xml"/>
			<file file="world/world.continent" type="custom_xml"/>
			<file file="world/world.mission" type="generic_xml"/>
			<file file="editor_only/editor_only.continent" type="custom_xml"/>
			<file file="editor_only/editor_only.mission" type="generic_xml"/>
		</include>
		<packages/>
	</instance>

With this setup you can work on the instance as a level without needing to move any files around

CONTINENT

Example: table continent="world" folder="levels/instances/unique/hoxestatesecurityroom/world" indexsize="1000" name="hoxestatesecurityroom001" position="0 0 0" rotation="0 0 0 0" script="default" startindex="11000"

continent="world"

folder="levels/instances/unique/hox_estate_security_room/world"

index_size="1000"

name="hox_estate_security_room_001"

Position/Rotation

script="default"

start_index="11000"

MISSION

Example: entry index="12" type="string" value="hoxestatesecurityroom001"

entry index="12"

type="string"

value="hox_estate_security_room_001"

.


Revision #4
Created 25 October 2019 15:03:12 by Rex
Updated 2 July 2021 17:12:49 by Rex