Bully-Board

Bully Modding Section => Script Modding => Topic started by: SWEGTA on January 09, 2013, 02:47:48 PM

Title: SWEGTAs Lua Tutorial Corner
Post by: SWEGTA on January 09, 2013, 02:47:48 PM
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

Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on January 09, 2013, 03:19:13 PM
NOBODY NOBODY FUCK WITH MAH KITCHEN!

Lol nice Tut it'll help ALOT
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 09, 2013, 04:10:11 PM
NOBODY NOBODY FUCK WITH MAH KITCHEN!

Lol nice Tut it'll help ALOT

Wait what?! D:
Hehe thanks! I hope it does ;)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: c00ld0c26 on January 10, 2013, 03:11:23 PM
I fainly understood what I did wrong. Tnx!
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 10, 2013, 03:48:47 PM
I fainly understood what I did wrong. Tnx!


What exactly did you do wrong, if I may ask? :)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: MadmaN on January 10, 2013, 03:53:08 PM
Very nice tutorial.

This will really help some of the new modders that have a hard time following my magazine...etc.  8)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Hopking on January 10, 2013, 04:36:46 PM
This is very straight-forward... thank you a lot for this!
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 10, 2013, 04:58:55 PM
This is very straight-forward... thank you a lot for this!


You're welcome!
Glad that you enjoyed it :)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on January 10, 2013, 05:22:24 PM
Video kill the radio store
Video kill the radio store
Rush rush ca tee ay oh,
 Rush rush be ne ay oh,
 Lush lush ca tee ay oh,
 Yo yo no mo ay oh
Feel like My inside has come out again
Feels Like I just can't take no more.
  Reference around here :O
Title: Re: SWEGTA Lua Tutorial Corner
Post by: deadpoolXYZ on January 10, 2013, 05:34:02 PM
Video kill the radio store
Video kill the radio store
Rush rush ca tee ay oh,
 Rush rush be ne ay oh,
 Lush lush ca tee ay oh,
 Yo yo no mo ay oh
Feel like My inside has come out again
Feels Like I just can't take no more.
  Reference around here :O

Video kill the radio star?

xDDDDDDDDDDDDDDD ???
Title: Re: SWEGTA Lua Tutorial Corner
Post by: MikerBarba on January 10, 2013, 05:46:56 PM
i don't understand >:(
Title: Re: SWEGTA Lua Tutorial Corner
Post by: E32050TRA on January 10, 2013, 06:07:51 PM
where is the tut?
Title: Re: SWEGTA Lua Tutorial Corner
Post by: UltimateGamer1 on January 10, 2013, 07:19:13 PM
Yeah straight forward mudda fuckaa enjoyed this shit.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Evolution on January 10, 2013, 07:39:15 PM
^ LOL? Calm down, my good sir.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on January 10, 2013, 07:50:22 PM
NO!
Title: Re: SWEGTA Lua Tutorial Corner
Post by: UltimateGamer1 on January 10, 2013, 07:51:44 PM
Sorry I was drinkin today but nice totiral Swegta good to get down to the lua scipting should help eeryone out.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Rise on January 10, 2013, 10:38:48 PM
Yeah straight forward mudda fuckaa enjoyed this shit.
Lol you crack me up
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 11, 2013, 04:21:29 AM
Sorry I was drinkin today but nice totiral Swegta good to get down to the lua scipting should help eeryone out.


It's all good :P
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 11, 2013, 10:36:18 AM
Video kill the radio store
Video kill the radio store
Rush rush ca tee ay oh,
 Rush rush be ne ay oh,
 Lush lush ca tee ay oh,
 Yo yo no mo ay oh
Feel like My inside has come out again
Feels Like I just can't take no more.
  Reference around here :O

Funny thing, the day I uploaded the Compiling tutorial, I listened to all of those songs :)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: deadpoolXYZ on January 11, 2013, 12:00:26 PM
Dafuq happened here?
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 11, 2013, 01:07:23 PM
Dafuq happened here?

Not much, uploaded a few tutorials, had some nice people watch it.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on January 11, 2013, 05:24:36 PM
Video kill the radio store
Video kill the radio store
Rush rush ca tee ay oh,
 Rush rush be ne ay oh,
 Lush lush ca tee ay oh,
 Yo yo no mo ay oh
Feel like My inside has come out again
Feels Like I just can't take no more.
  Reference around here :O

Funny thing, the day I uploaded the Compiling tutorial, I listened to all of those songs :)

Getting some Coincidence aren't we?
Lol
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on January 11, 2013, 07:39:25 PM
Video kill the radio store
Video kill the radio store
Rush rush ca tee ay oh,
 Rush rush be ne ay oh,
 Lush lush ca tee ay oh,
 Yo yo no mo ay oh
Feel like My inside has come out again
Feels Like I just can't take no more.
  Reference around here :O

Funny thing, the day I uploaded the Compiling tutorial, I listened to all of those songs :)

Getting some Coincidence aren't we?
Lol


Maaaaybee ;)
*moves closer*
Title: Re: SWEGTA Lua Tutorial Corner
Post by: DarbyHarringtonMind on February 06, 2013, 08:07:46 AM
how to enter luac.exe to luascript.lua?  :)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on February 06, 2013, 10:32:56 AM
Watch my tutorial on compiling.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xbetstyler on February 08, 2013, 12:04:36 AM
delete
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on February 08, 2013, 12:31:08 AM
John beta style = 1 spin kick thats it.
Why is people asking for a spin kick?
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xbetstyler on February 08, 2013, 12:45:38 AM
delete
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Evolution on February 08, 2013, 12:48:51 AM
^ You sound like some sort of stoner, lol.

Dude, why can't people accept that Johnny beta style isn't anything too special?... It's one spinning kick, and it just repeats... Nothing else is in the beta style.

Title: Re: SWEGTA Lua Tutorial Corner
Post by: xbetstyler on February 08, 2013, 12:57:58 AM
delete
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Evolution on February 08, 2013, 01:02:52 AM
Bully SE Johnny's Beta Style in freeroam (http://www.youtube.com/watch?v=0o7DaGgCkPo#ws)

That's all the Beta Style is...
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on February 08, 2013, 01:24:03 AM
Yea its completely pointless
The PSA doesn't even contact right since ROCKSTAR changed it or was unfinished.
It was originally suppose to scrape your HP 2 times and not just one
One kick stuns you then other kick thats leading knocks you back.
Although that was to much work and its just pointless.
That is why on that one vid of those Beta moves
they didn't show his style hitting a Character cause they were hiding something.
And I hope you know ROCKSTAR gets about real pissed when people snooping around their beta files due to it making them look like the lazy ass they were for BULLY SE and GTA 3 BETA
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xbetstyler on February 08, 2013, 09:15:57 AM
delete
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on February 08, 2013, 04:39:50 PM
Well they seem a bit lazy at times.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: xXxNarumi on February 08, 2013, 04:41:06 PM
Nah rockstar was tomuch of a dumbass thinking they'd finish BULLY within a few months ran out of time and had to start all over.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: SWEGTA on February 09, 2013, 07:21:40 AM
Ah...
Title: Re: SWEGTA Lua Tutorial Corner
Post by: DreamEvo on February 15, 2013, 09:52:50 PM
Nice Find. ( I Think ) We need to find some more interesting stuff.
Title: Re: SWEGTA Lua Tutorial Corner
Post by: Walter20210 on February 16, 2013, 10:48:15 AM
Bully SE Johnny's Beta Style in freeroam (http://www.youtube.com/watch?v=0o7DaGgCkPo#ws)

That's all the Beta Style is...

(http://2.bp.blogspot.com/_FZH41W2fRk4/R3TxvUQOpqI/AAAAAAAAA0o/cchJZRMgBOk/s1600/chuck_norris.jpg)
Title: Re: SWEGTA Lua Tutorial Corner
Post by: DreamEvo on February 16, 2013, 02:16:24 PM
^ Nice
Title: Re: SWEGTAs Lua Tutorial Corner
Post by: SWEGTA on April 14, 2013, 08:16:59 AM
Added a new tutorial.
This has been requested multiple times, so I took my time and made this.
Sorry for not being so clear in it, I was a bit tired.
Title: Re: SWEGTAs Lua Tutorial Corner
Post by: denizthebest on July 14, 2015, 11:46:24 AM
Nice tutorials SWEG good job