官术网_书友最值得收藏!

Essential game objects

Even though we covered how to export your level to be used in Pure Gamemode, you may find that when you launch your level, you are not in the correct location in the map. This quick recipe will show you how to create a Spawn point for Pure Gamemode and also remind you the importance of having a physical surface to spawn on.

Getting ready

  1. Have My_Level open inside of Sandbox (after completing either the Terrain sculpting or Generating a procedural terrain recipe).
  2. Review the Navigating a level with the Sandbox Camera to get familiar with the Perspective View.
  3. Review the Placing the objects in the world and Refining object placement recipes.
  4. Have the Rollup Bar available in your Sandbox layout and ready.

How to do it...

Unless your game supports some sort of Player flying mechanic, we recommend you choose a location where the Player can stand when he initially spawns within your level. Any physical surface (Floor, Roof, Terrain, Rock, and so on) will do.

To place a Spawn Point follow these steps:

  1. Go to your Rollup Bar.
  2. Open the Objects tab and click the Entity button.
  3. Open the Others folder in the Entity List.
  4. Place Spawn Point in the location you wish to spawn the player.

How it works...

This initial spawn point will automatically work as the main spawn point for your map in Pure Gamemode (as long as you keep to the default SinglePlayer.lua gamerules). If you jump into your map from the Launcher now, you will be spawned at this location.

Any additional spawn points will not function unless there is some game logic hooked into their functionality.

See also

  • The Running a map from the Launcher recipe
主站蜘蛛池模板: 娄底市| 安泽县| 晋江市| 宁强县| 灵寿县| 和平区| 靖边县| 门头沟区| 澄迈县| 津市市| 乌兰察布市| 巴林左旗| 屏山县| 洪雅县| 华坪县| 修文县| 鄢陵县| 娱乐| 忻州市| 利辛县| 天津市| 申扎县| 兴义市| 泸西县| 新沂市| 卢氏县| 武宣县| 洛浦县| 望江县| 新宾| 梁平县| 满洲里市| 土默特左旗| 宜昌市| 武胜县| 定州市| 华阴市| 山西省| 甘南县| 大足县| 平果县|