BattleForge Wiki
 
(29 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==Tutorials==
 
==Tutorials==
  +
There's a growing number of Tutorials on how to use the Map Editor available [http://battleforge.wikia.com/index.php?title=Category:Mapping_Tutorials here].
 
  +
123
   
 
==Installation and Launching==
 
==Installation and Launching==
  +
  +
  +
 
===Installation===
 
===Installation===
  +
  +
 
The Editor is installed from the Bootstrapper. When you first open the Bootstrapper you will see tab over the server window called "Optional Components". On that tab you can check to install the Editor.
 
The Editor is installed from the Bootstrapper. When you first open the Bootstrapper you will see tab over the server window called "Optional Components". On that tab you can check to install the Editor.
  +
   
 
===Launching===
 
===Launching===
There are two way to launch the Editor. You can launch it from the Bootstrapper window when you first start it up or you can find the actual executable in the program folder and launch it that way. It is called "pluginbasededitor.exe".
 
   
  +
 
There are two way to launch the Editor. You can launch it from the Bootstrapper window when you first start it up or you can find the actual executable in the program folder and launch it that way. It is called "pluginbasededitor.exe".
 
==Editor UI==
 
==Editor UI==
  +
  +
 
Learn more about the graphical user interface of the "pluginbasededitor"
 
Learn more about the graphical user interface of the "pluginbasededitor"
 
[http://battleforge.wikia.com/wiki/Editor_UI here].
 
[http://battleforge.wikia.com/wiki/Editor_UI here].
 
 
==Editor Navigation==
 
==Editor Navigation==
  +
  +
 
How you can move, rotate and zoom the editor camera, find out
 
How you can move, rotate and zoom the editor camera, find out
 
[http://battleforge.wikia.com/wiki/Editor_Navigation here].
 
[http://battleforge.wikia.com/wiki/Editor_Navigation here].
 
 
==Editor Shortcuts==
 
==Editor Shortcuts==
Click [http://battleforge.wikia.com/wiki/Editor_Shortcuts here] to see a list of all shortcuts used in the editor.
 
   
  +
 
Click [http://battleforge.wikia.com/wiki/Editor_Shortcuts here] to see a list of all shortcuts used in the editor.
 
==Editor Menu Bar==
 
==Editor Menu Bar==
  +
  +
 
Description of the whole Menue Bar step by step, click
 
Description of the whole Menue Bar step by step, click
 
[http://battleforge.wikia.com/wiki/Editor_Menu_Bar here].
 
[http://battleforge.wikia.com/wiki/Editor_Menu_Bar here].
 
 
==Editor Tools==
 
==Editor Tools==
  +
  +
 
The Editor comes with a number of different tools for editing your map. Nearly every tool has an associated Tool Window. The Tool Window is often vital for use of the tool. They can be accessed from the "Windows" menu.
 
The Editor comes with a number of different tools for editing your map. Nearly every tool has an associated Tool Window. The Tool Window is often vital for use of the tool. They can be accessed from the "Windows" menu.
 
To see all the Tools with a guidance, click [http://battleforge.wikia.com/wiki/Editor_Tools here].
 
To see all the Tools with a guidance, click [http://battleforge.wikia.com/wiki/Editor_Tools here].
 
=='''Scripting'''==
  +
==Basics about the Script Engine==
  +
  +
  +
We use the LUA scripting language for mission scripts. Every Script is executed when the map is loaded and the Scriptsystem written in LUA translates the meta-scripts to actual C++ objects and builds the script statemachines. [http://battleforge.wikia.com/index.php?title=Category:Script_Engine Read] first before you start with scripting.
 
==Script Files==
   
==Scripting==
 
   
===Script Files===
 
 
All scripts are put into a sub-folder. The folders path is "...\<mapname>\script1", when seen from the map directory. For more information click [http://battleforge.wikia.com/index.php?title=Category:Script_Files here].
 
All scripts are put into a sub-folder. The folders path is "...\<mapname>\script1", when seen from the map directory. For more information click [http://battleforge.wikia.com/index.php?title=Category:Script_Files here].
   
===Entity Tags===
+
==Script Syntax==
  +
Most entities in the [[Map Editor]] can be assigned a tag. These tags are used as an identifier for the entity and are used to reference that entity from script. Tags are assigned from the Entity Properties Editor. They can also be assigned by scripts.
 
  +
 
How to write the correct syntax for the scripts you will find [http://battleforge.wikia.com/index.php?title=Category:Script_Syntax here].
  +
==Script Layers==
  +
  +
  +
A script usually consists of three different layers. Fore more information click [http://battleforge.wikia.com/index.php?title=Category:Script_Layers here].
  +
  +
==='''Layer 1 States'''===
  +
  +
  +
Fore more information click [http://battleforge.wikia.com/index.php?title=States here].
  +
==='''Layer 2 Events'''===
  +
  +
  +
Fore more information click [http://battleforge.wikia.com/index.php?title=Events here].
  +
  +
==='''Layer 3 Conditions & Actions'''===
  +
  +
  +
Fore more information click [http://battleforge.wikia.com/index.php?title=Conditions_and_Actions here].
  +
==='''Script Library GDS Help Tool'''===
  +
Conditions click [http://battleforge.wikia.com/index.php?title=Conditions here].
  +
  +
Actions click [http://battleforge.wikia.com/index.php?title=Actions here].
  +
==My First BattleForge Map==
  +
A tutorial how to create a PvE player versus environment (single player) map step by step. Following all the topics you will learn in this tutorial:
  +
*How to use the random generator tool in the "PlugInBasedEditor".
  +
*How to place enemy squads and buildings.
  +
*How to place scriptmarkes and how to tag (name) them.
  +
*How to build a fortification (barrier).
  +
*How to create a navigation mesh.
  +
*How to combine the editor with the script files.
  +
*How to create enemy spawns.
  +
*How to create enemy patrols.
  +
*How to mount a fortification (barrier) by script.
  +
*How to create outcries (small text boxes in the game).
  +
*How to create goals for the player.
  +
If you want to start with the tutorial click [http://battleforge.wikia.com/index.php?title=Tutorial here].
  +
  +
==Map Customizations==
  +
  +
*Map loading screen
  +
*Map description
  +
*Outcries
  +
*Player Goals
  +
*Minimap
  +
Click [http://battleforge.wikia.com/index.php?title=Map_Customizations here] for more information.
  +
 
==Example Scripts==
  +
   
===Example Scripts===
 
 
*[[:Category:Action Script Examples|Action Script Examples]]
 
*[[:Category:Action Script Examples|Action Script Examples]]
  +
 
*[[:Category:Condition Script Examples|Condition Script Examples]]
 
*[[:Category:Condition Script Examples|Condition Script Examples]]
  +
 
*[[:Category:Event Script Examples|Event Script Examples]]
 
*[[:Category:Event Script Examples|Event Script Examples]]
  +
  +
   
 
{{Navbox|Gameplay|Editor}}
 
{{Navbox|Gameplay|Editor}}

Latest revision as of 13:03, 29 March 2013

Tutorials[]

123

Installation and Launching[]

Installation[]

The Editor is installed from the Bootstrapper. When you first open the Bootstrapper you will see tab over the server window called "Optional Components". On that tab you can check to install the Editor.


Launching[]

There are two way to launch the Editor. You can launch it from the Bootstrapper window when you first start it up or you can find the actual executable in the program folder and launch it that way. It is called "pluginbasededitor.exe".

Editor UI[]

Learn more about the graphical user interface of the "pluginbasededitor" here.

Editor Navigation[]

How you can move, rotate and zoom the editor camera, find out here.

Editor Shortcuts[]

Click here to see a list of all shortcuts used in the editor.

Editor Menu Bar[]

Description of the whole Menue Bar step by step, click here.

Editor Tools[]

The Editor comes with a number of different tools for editing your map. Nearly every tool has an associated Tool Window. The Tool Window is often vital for use of the tool. They can be accessed from the "Windows" menu. To see all the Tools with a guidance, click here.

Scripting[]

Basics about the Script Engine[]

We use the LUA scripting language for mission scripts. Every Script is executed when the map is loaded and the Scriptsystem written in LUA translates the meta-scripts to actual C++ objects and builds the script statemachines. Read first before you start with scripting.

Script Files[]

All scripts are put into a sub-folder. The folders path is "...\<mapname>\script1", when seen from the map directory. For more information click here.

Script Syntax[]

How to write the correct syntax for the scripts you will find here.

Script Layers[]

A script usually consists of three different layers. Fore more information click here.

Layer 1 States[]

Fore more information click here.

Layer 2 Events[]

Fore more information click here.

Layer 3 Conditions & Actions[]

Fore more information click here.

Script Library GDS Help Tool[]

Conditions click here.

Actions click here.

My First BattleForge Map[]

A tutorial how to create a PvE player versus environment (single player) map step by step. Following all the topics you will learn in this tutorial:

  • How to use the random generator tool in the "PlugInBasedEditor".
  • How to place enemy squads and buildings.
  • How to place scriptmarkes and how to tag (name) them.
  • How to build a fortification (barrier).
  • How to create a navigation mesh.
  • How to combine the editor with the script files.
  • How to create enemy spawns.
  • How to create enemy patrols.
  • How to mount a fortification (barrier) by script.
  • How to create outcries (small text boxes in the game).
  • How to create goals for the player.

If you want to start with the tutorial click here.

Map Customizations[]

  • Map loading screen
  • Map description
  • Outcries
  • Player Goals
  • Minimap

Click here for more information.

Example Scripts[]





Skylords

Battleforge has been revived by a group of passionate players and developers under the name Skylords Reborn


It is a fully functional, community-made, non-profit and completely free-to-play relaunch of the game. The relaunch has been worked on for several years, and receives regular updates.

The new Wiki can be found here: Skylords Reborn Wiki Page



.