Introduction
Welcome to my Lua Tutorials thread!
Here I'll discuss and explain certain parts and how-to's when it comes to making basic missions for Bully.
We'll go over from simple things such as player teleporting, ped spawning and compiling to more advanced subjects.
To find the tutorial you're looking for simply press CTRL + F and search for a keywoard (for example: spawning).
Things You'll need
Notepad ++
http://notepad-plus-plus.org/download/v6.2.3.html (http://notepad-plus-plus.org/download/v6.2.3.html)
This is requirred for you to easily edit and manage your scripts. Notepad ++ has a capability of recognising certain codes (in this case Lua).
Luac
http://www.bully-board.com/index.php?action=downloads;sa=view;down=60 (http://www.bully-board.com/index.php?action=downloads;sa=view;down=60)
The Lua Compiler will help you compile the scripts and make them playable ingame.
Visual Studio 2008
http://download.microsoft.com/download/d/c/3/dc3439e7-5533-4f4c-9ba0-8577685b6e7e/vcsetup.exe (http://download.microsoft.com/download/d/c/3/dc3439e7-5533-4f4c-9ba0-8577685b6e7e/vcsetup.exe)
For now, Luac runs on Visual Studio 2008. In order to use Luac you must have this installed.
IMGTool
http://grandtheftauto.filefront.com/file/IMG_Tool;44920 (http://grandtheftauto.filefront.com/file/IMG_Tool;44920)
This is needed for you to be able to extract and replace scripts in Bully.
----------------------------------------------------------------------------
If you haven't, please check out my other tutorial thread:
http://www.bully-board.com/index.php?topic=16614.0 (http://www.bully-board.com/index.php?topic=16614.0)
----------------------------------------------------------------------------
Part 1: Basic Setup
Description: From here we'll start with the very basics such as: Setting player health and teleporting.
Key Words: Part 1 , setup , basic , spawning , teleport , health
http://www.youtube.com/watch?v=DhMM7r1FPmM&
Part 2: Compiling Scripts
Description: I'll go through on how to compile the mission you made.
Key Words: compile , compiling, scripts, luac, compiler, cmd
http://www.youtube.com/watch?v=Lxsw4ZhUNvg
Part 3: Bodyguards
Description: Possibly the most requested subject is now explained.
Key Words: bodyguard, ped, spawn, coords, recruit, spawning
http://www.youtube.com/watch?v=ctgFSBOaDtE
Part 4: Problems and Errors
Description: Fixing your scripts and making them able to compile propperly.
Key Words: error, fix, work, problem, glitch, script
http://www.youtube.com/watch?v=WIzVOfChVS4