-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
-
Clone the repository or download and extract the zip file from the BadBehavior homepage.
-
Follow the instructions on the Torque3D wiki to create a new project based on the FULL template.
Engine
-
Copy the entire
Engine/source/BadBehavior
directory into theEngine/source/
directory of your new project. -
Copy
Tools/projectGenerator/modules/BadBehavior.inc
into theTools/projectGenerator/modules/
directory of your project. -
Add the line
includeModule("BadBehavior");
to the fileMy Projects/Your Project/buildFiles/config/projectCode.conf
-
Re-run
My Projects/Your Project/generateProjects.bat
to include the BadBehavior source files in the visual studio solution for your project. -
Compile
Script
-
Copy the
Templates/Full/game/tools/behaviorTreeEditor
directory intoMy Projects/Your Project/game/tools/
-
Copy the
Templates/Full/game/scripts/server/BadBehavior
directory intoMy Projects/Your Project/game/scripts/server/
-
Add the line
exec('./BadBehavior/main.cs');
toMy Projects/Your Project/game/scripts/server/scriptExec.cs
-
(optional) Copy
Templates/Full/game/levels/BehaviorTestbed.mis
intoMy Projects/Your Project/game/levels/