News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: *RELEASE* - Bully LUA Script Sources (just a few)  (Read 63724 times)

0 Members and 1 Guest are viewing this topic.

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #75 on: January 02, 2013, 02:16:55 PM »
I can give you code that will not only allow you to close them or what not...but open and close them with a button press  :biggrin: .

I can also do the same for ANY door in the game at any time.


Please do, my good sir :)

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #76 on: January 03, 2013, 03:33:55 PM »
I will outline a simple script for you that demonstrates this type of code and it will be a modification of 1_01.lua so you will have to restart the game in order to test it.

I use that as my central testing point for script modding anyways.  :biggrin:

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #77 on: January 04, 2013, 05:45:14 AM »
Great! :P

deadpoolXYZ

  • Guest
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #78 on: January 06, 2013, 03:38:22 PM »
Is there a way to give a ped the thing between the stats and the fighting style?

Example:

         F_Jocks.
J_Grappler..null
....Straf_Wrest.

I tried with LoadAnimationGroup but it didn't work.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #79 on: January 06, 2013, 03:48:09 PM »
you mean assign animation groups like as listed in default.ide for the specific ped?

If so...then yes but its complicated.

My tables version of the player switcher will do that but it will take time to explain how to do it.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #80 on: January 06, 2013, 04:08:41 PM »
Is there a way to give a ped the thing between the stats and the fighting style?

Example:

         F_Jocks.
J_Grappler..null
....Straf_Wrest.

I tried with LoadAnimationGroup but it didn't work.

Those are animation groups, and it should work...whenever I load "Boxing" but don't give Derby Boxing, he still fights without any glitches.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #81 on: January 08, 2013, 01:48:26 AM »
For some reason I cant make the lua script fille... I do all the stages and after I do the "luac -o ArcRace1.lur 1_01.lua" I cant countinue after that stage nothing else.. Can someone give a more detailed explanesion? Or Teamview me?

deadpoolXYZ

  • Guest
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #82 on: January 08, 2013, 12:01:18 PM »
For some reason I cant make the lua script fille... I do all the stages and after I do the "luac -o ArcRace1.lur 1_01.lua" I cant countinue after that stage nothing else.. Can someone give a more detailed explanesion? Or Teamview me?

A .lur file (ArcRace1.lur in your case) should be created in the folder where the compiler is. Then you just have to replace the normal ArcRace1.lur file from scripts.img with the new one using imgtool.

Make sure to write the location of the compiler first.

Like: "cd C:\LUAC Bully"

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #83 on: January 08, 2013, 12:10:44 PM »
I did the cmd (cd : ect ) and when I do the luac -o ArcRace1.lur 1_01.lua it dosnt work

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #84 on: January 08, 2013, 01:11:38 PM »
I did the cmd (cd : ect ) and when I do the luac -o ArcRace1.lur 1_01.lua it dosnt work


cd c:\LUAFOLDER
luac -o ArcRace1.lur luafile.lua

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #85 on: January 08, 2013, 01:52:34 PM »
This is the exact thing I did : cd D:Lua
then I did luac -o ArcRace1.lur 1_01.lua when I do that cmd it says : unknown command something like that.
and the complitor is at D/Lua.

deadpoolXYZ

  • Guest
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #86 on: January 08, 2013, 02:29:24 PM »
Have you installed visual studio 2008 express? You need it to get the compiler working.

Offline JmTsHaW

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
    • View Profile
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #87 on: January 08, 2013, 05:49:58 PM »
I just keep a spare copy of cmd.exe in my Lua folder so I don't have to go through all that stuff involving guiding the cmd to your Lua folder, so try that.

Offline Scoff

  • Jr. Member
  • **
  • Posts: 13
  • Gender: Male
  • ...........
    • View Profile
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #88 on: January 09, 2013, 09:16:15 AM »
Hey,can someone help me? I made a lua script for change Jimmy fighting style,but when i go compile this script, appear this:

unexpected symbol near 'ô'

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: *RELEASE* - Bully LUA Script Sources (just a few)
« Reply #89 on: January 09, 2013, 11:42:37 AM »
Hey,can someone help me? I made a lua script for change Jimmy fighting style,but when i go compile this script, appear this:

unexpected symbol near 'ô'

There's a symbol/letter/number near a certain part of the script. This error usually includes a line part where it tells you which line the error is at. Use notepad ++ to see these lines.