-
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/BadBehaviordirectory into theEngine/source/directory of your new project. -
Copy
Tools/projectGenerator/modules/BadBehavior.incinto 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.batto include the BadBehavior source files in the visual studio solution for your project. -
Compile
Script
-
Copy the
Templates/Full/game/tools/behaviorTreeEditordirectory intoMy Projects/Your Project/game/tools/ -
Copy the
Templates/Full/game/scripts/server/BadBehaviordirectory 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.misintoMy Projects/Your Project/game/levels/