Skip to content
Guy Allard edited this page Jan 17, 2015 · 4 revisions

Installation

Standalone installation

  1. Clone the repository or download and extract the zip file from the BadBehavior homepage.

  2. Follow the instructions on the Torque3D wiki to create a new project based on the FULL template.

  3. Compile the new project.

Merging with an existing project

Engine

  1. Copy the entire Engine/source/BadBehavior directory into the Engine/source/ directory of your new project.

  2. Copy Tools/projectGenerator/modules/BadBehavior.inc into the Tools/projectGenerator/modules/ directory of your project.

  3. Add the line
    includeModule("BadBehavior");
    to the file My Projects/Your Project/buildFiles/config/projectCode.conf

  4. Re-run My Projects/Your Project/generateProjects.bat to include the BadBehavior source files in the visual studio solution for your project.

  5. Compile

Script

  1. Copy the Templates/Full/game/tools/behaviorTreeEditor directory into My Projects/Your Project/game/tools/

  2. Copy the Templates/Full/game/scripts/server/BadBehavior directory into My Projects/Your Project/game/scripts/server/

  3. Add the line
    exec('./BadBehavior/main.cs');
    to My Projects/Your Project/game/scripts/server/scriptExec.cs

  4. (optional) Copy Templates/Full/game/levels/BehaviorTestbed.mis into My Projects/Your Project/game/levels/

Clone this wiki locally