<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.frozenbyte.com/index.php?action=history&amp;feed=atom&amp;title=Level_start_and_end_points</id>
	<title>Level start and end points - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.frozenbyte.com/index.php?action=history&amp;feed=atom&amp;title=Level_start_and_end_points"/>
	<link rel="alternate" type="text/html" href="https://wiki.frozenbyte.com/index.php?title=Level_start_and_end_points&amp;action=history"/>
	<updated>2026-05-13T06:23:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.frozenbyte.com/index.php?title=Level_start_and_end_points&amp;diff=257&amp;oldid=prev</id>
		<title>AnteroFB: Created page with &quot;A level always needs a starting position where the character(s) will spawn at the start of the level. Game level also needs an ending point which concludes the level and exits...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.frozenbyte.com/index.php?title=Level_start_and_end_points&amp;diff=257&amp;oldid=prev"/>
		<updated>2018-06-15T07:29:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A level always needs a starting position where the character(s) will spawn at the start of the level. Game level also needs an ending point which concludes the level and exits...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A level always needs a starting position where the character(s) will spawn at the start of the level. Game level also needs an ending point which concludes the level and exits the current mission.&lt;br /&gt;
&lt;br /&gt;
== Start Point ==&lt;br /&gt;
&lt;br /&gt;
The level start point is the first Checkpoint where the character(s) spawns on the level for the first time.  The game entity used is the &amp;#039;&amp;#039;&amp;#039;InvisibleCheckpointEntity&amp;#039;&amp;#039;&amp;#039; which can be found at: &amp;#039;&amp;#039;Type Tree --&amp;gt; InstanceBase --&amp;gt; Entity --&amp;gt; GameplayEntity --&amp;gt; CheckpointEntity --&amp;gt; InvisibleCheckpointEntity&amp;#039;&amp;#039;. It has some useful properties also, such as choosing if the player will be spawned with both of the characters or alone with either of them.&lt;br /&gt;
&lt;br /&gt;
[[File:Properties.png|thumb|right|350px|MissionStartCheckpoint and other properties.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=300px heights=400px&amp;gt;&lt;br /&gt;
File:invisible_checkpoint_entity_location.PNG|Location in Type Tree.&lt;br /&gt;
File:first_mission_spawn_checkpoint.PNG|Character(s) will spawn at this point when the level starts.&lt;br /&gt;
file:invisible_checkpoint_properties.PNG|Basic properties of the entity.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Place the entity where you want the character(s) to start the level and check the &amp;#039;&amp;#039;&amp;#039;MissionStartCheckpoint&amp;#039;&amp;#039;&amp;#039; box under &amp;#039;&amp;#039;&amp;#039;GameCheckpointComponent&amp;#039;&amp;#039;&amp;#039;. This checkpoint now acts as the level starting spawnpoint. More info on spawning character(s) can be found [[spawning_characters|&amp;#039;&amp;#039;&amp;#039;here&amp;#039;&amp;#039;&amp;#039;]].&lt;br /&gt;
&lt;br /&gt;
== End Point ==&lt;br /&gt;
&lt;br /&gt;
The level end point is the area which will end the current level when entered. An entity called &amp;#039;&amp;#039;&amp;#039;MissionExitEntity&amp;#039;&amp;#039;&amp;#039; functions as our end point and can be modified a bit as well, such as resizing its activation area or deciding if Lily is required to proceed. It can be found from &amp;#039;&amp;#039;Type Tree --&amp;gt; InstanceBase --&amp;gt; Entity --&amp;gt; GameplayEntity --&amp;gt; MissionExitEntity&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=300px heights=400px&amp;gt;&lt;br /&gt;
File:missionexitentity_typetree.png|Location in Type Tree.&lt;br /&gt;
File:missionexitentity_scene.png|This entity simplies the ending area of a level.&lt;br /&gt;
File:missionexitentity_properties.png|Basic properties of the entity.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Place the entity where you want the level to end and resize its activation area to fit to the surroundings nicely with area tool. By default, the area will also require Lily to be inside the activation area but you can toggle that by unchecking &amp;#039;&amp;#039;&amp;#039;WaitForChild&amp;#039;&amp;#039;&amp;#039; box under &amp;#039;&amp;#039;&amp;#039;GameTriggerWhenAllPlayersCollectedComponent&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Making a Succesful Warp ==&lt;br /&gt;
&lt;br /&gt;
In addition to placing the entities to the levels, it needs to be specified where the MissionExitEntity will send the player to. This can be done from modifying a .lua file keeping track of the level order which in our case is &amp;#039;&amp;#039;&amp;#039;init.lua&amp;#039;&amp;#039;&amp;#039;, found from &amp;#039;&amp;#039;\data\script\mission\&amp;#039;&amp;#039;. It has a list of missions used in the game which can be replaced by another level by simply typing in a name of the wanted folder containing the level (note that this folder has to be relocated to &amp;#039;&amp;#039;\data\mission&amp;#039;&amp;#039;, otherwise it&amp;#039;s not able to find the specified level). The list works just as straightforwardly as you might think: the first level is the one on the top of the list and it will advance one by one downwards as the player completes the levels. For example, if you wanted to jump from level A to level B, you&amp;#039;d have to write the (file) name of level B right under the (file) name of level A.&lt;br /&gt;
&lt;br /&gt;
This file can be opened with most basic test editing software.&lt;br /&gt;
&lt;br /&gt;
[[File:level_list_initlua.png|none|thumb|700px|init.lua file with its level order.]]&lt;br /&gt;
&lt;br /&gt;
Once the file has been modified as wanted, you&amp;#039;ll have to start the game by opening mainmenu.fbe and then proceeding to test if you&amp;#039;ve been succesful in creating a succesful warp between levels.&lt;/div&gt;</summary>
		<author><name>AnteroFB</name></author>
	</entry>
</feed>