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


Show Posts

* Messages | Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - luizd90

Pages: [1] 2 3
1
LUA Scripting Help / isbuttonpressed Not work?
« on: March 07, 2014, 01:03:27 PM »
I press right and nothing happens
Code: [Select]
elseif IsButtonPressed(10,0) and IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer,"/Global/G_Johnny", "Act/Anim/G_Johnny.act")

Here is my code

Code: [Select]
PedSetTypeToTypeAttitude(1, 13, 2)
PedSetTypeToTypeAttitude(2, 13, 2)
PedSetTypeToTypeAttitude(3, 13, 1)
PedSetTypeToTypeAttitude(5, 13, 1)
PedSetTypeToTypeAttitude(6, 13, 2)
PedSetTypeToTypeAttitude(11, 13, 2)

LoadStyles = function()
  PlayerSetInvulnerable(true)
  DisablePunishmentSystem(true)
  LoadAnimationGroup("Russell") 
  LoadAnimationGroup("B_Striker")
  LoadAnimationGroup("P_Striker")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("Straf_Prep")
  LoadAnimationGroup("F_Preps")
  LoadAnimationGroup("G_Johnny")
  LoadAnimationGroup("F_Greas")
  LoadAnimationGroup("G_Grappler")
  LoadAnimationGroup("G_Striker")
  LoadAnimationGroup("Straf_Wrest")
  LoadAnimationGroup("DO_Striker")
  LoadAnimationGroup("DO_StrikeCombo")
  LoadAnimationGroup("F_Douts")
  LoadAnimationGroup("IDLE_JOCK_A")
  LoadAnimationGroup("F_JOCKS")
  LoadAnimationGroup("NPC_Mascot")
  LoadAnimationGroup("J_Grappler")
  LoadAnimationGroup("C_Wrestling")
  LoadAnimationGroup("Earnest")
  LoadAnimationGroup("SNERD_I")
  LoadAnimationGroup("SNERD_S")
  LoadAnimationGroup("N_Striker_B")
  LoadAnimationGroup("F_Nerds")
  LoadAnimationGroup("Nemesis")
  LoadAnimationGroup("Halloween")
  LoadAnimationGroup("TE_FEMALE") 
  LoadAnimationGroup("F_Girls")
  LoadAnimationGroup("NPC_Adult")
  LoadAnimationGroup("F_Adult")
  LoadAnimationGroup("LE_ORDERLY")
  LoadAnimationGroup("F_CRAZY")
  LoadAnimationGroup("NPC_Principal")
  LoadAnimationGroup("Authority")
  LoadAnimationGroup("POI_SMOKING")
  LoadAnimationGroup("Sitting_Boys")
  LoadAnimationGroup("Hang_Talking")
  LoadAnimationGroup("3_05")
  LoadAnimationGroup("5_02")
  collectgarbage()
end

MissionSetup = function()
l_0_0 = 1
PlayerSetHealth(200)
AreaTransitionXYZ(60, -773.293030, 363.286987, 6.396100)
DisablePunishmentSystem(true)
PedSetActionTree(gPlayer,"/Global/...........", "Act/Anim/.............act")
end

Action = function()
if IsButtonBeingReleased(2,0) and l_0_0 == 1 then
TextPrintString("Chicken", 4, 2)
elseif IsButtonBeingReleased(2,0) and l_0_0 == 2 then
TextPrintString("Potato", 4, 2)
elseif IsButtonBeingReleased(2,0) and l_0_0 == 3 then
TextPrintString("Modder", 4, 2)
elseif IsButtonBeingReleased(2,0) and l_0_0 == 4 then
TextPrintString("Well done mate", 4, 2)
end
end

Settings = function()
  if IsButtonPressed(10,0) and IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer,"/Global/..............", "Act/Anim/...........act")
elseif IsButtonPressed(10,0) and IsButtonPressed(3, 0) then
PedSetActionNode(gPlayer,"/Global/..............", "Act/Anim/.............act")
elseif IsButtonPressed(10,0) and IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer,"/Global/G_Johnny", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(10,0) and IsButtonPressed(2, 0) then
PedSetActionNode(gPlayer,"/Global/........................", "Act/Anim/.............act")
elseif IsButtonPressed(10,0) and IsButtonPressed (9, 0) then
PedSetActionNode(gPlayer,"/Global/........", "Act/Anim/........act")
elseif IsButtonPressed(10,0) and IsButtonPressed (12, 0) then
SoundPlayScriptedSpeechEvent(...........)
elseif IsButtonPressed(10,0) and IsButtonPressed (15, 0) then
SoundPlayScriptedSpeechEvent(...........)
elseif IsButtonPressed(6,0) and IsButtonPressed (7, 0) then
PedSetActionNode(gPlayer,"/Global/....................", "Act/Anim/.........act")
end
end

UnLoadStyles = function()
  UnLoadAnimationGroup("Russell") 
  UnLoadAnimationGroup("B_Striker")
  UnLoadAnimationGroup("P_Striker")
  UnLoadAnimationGroup("Boxing")
  UnLoadAnimationGroup("Straf_Prep")
  UnLoadAnimationGroup("F_Preps")
  UnLoadAnimationGroup("G_Johnny")
  UnLoadAnimationGroup("F_Greas")
  UnLoadAnimationGroup("G_Grappler")
  UnLoadAnimationGroup("G_Striker")
  UnLoadAnimationGroup("Straf_Wrest")
  UnLoadAnimationGroup("DO_Striker")
  UnLoadAnimationGroup("DO_StrikeCombo")
  UnLoadAnimationGroup("F_Douts")
  UnLoadAnimationGroup("IDLE_JOCK_A")
  UnLoadAnimationGroup("F_JOCKS")
  UnLoadAnimationGroup("NPC_Mascot")
  UnLoadAnimationGroup("J_Grappler")
  UnLoadAnimationGroup("C_Wrestling")
  UnLoadAnimationGroup("Earnest")
  UnLoadAnimationGroup("SNERD_I")
  UnLoadAnimationGroup("SNERD_S")
  UnLoadAnimationGroup("N_Striker_B")
  UnLoadAnimationGroup("F_Nerds")
  UnLoadAnimationGroup("Nemesis")
  UnLoadAnimationGroup("Halloween")
  UnLoadAnimationGroup("TE_FEMALE") 
  UnLoadAnimationGroup("F_Girls")
  UnLoadAnimationGroup("NPC_Adult")
  UnLoadAnimationGroup("F_Adult")
  UnLoadAnimationGroup("LE_ORDERLY")
  UnLoadAnimationGroup("F_CRAZY")
  UnLoadAnimationGroup("NPC_Principal")
  UnLoadAnimationGroup("Authority")
  UnLoadAnimationGroup("POI_SMOKING")
  UnLoadAnimationGroup("Sitting_Boys")
  UnLoadAnimationGroup("Hang_Talking")
  UnLoadAnimationGroup("3_05")
  UnLoadAnimationGroup("5_02")
end

main = function()
repeat
Action()
Settings()
Wait(0)
until not Alive
 end
Can anyone fix

2
Requests Archive / Re: bully kiss mod
« on: March 07, 2014, 09:15:43 AM »
this is a request

3
Modding Questions/Help Archives / Re: Help me
« on: February 28, 2014, 09:30:50 AM »
Quote
After saving your script do the following :
Put all the filles inside the Luac (Lua compiler) in one folder with the ArcRace1.lur that you extract from the Scripts file using IMGtool. Put your script together with all of those files.

1. click on Window's "Start" button, Search for : "cmd"
2. Open it up
3. Type in "Color a" (without the " ") and press enter (You dont have to, but it will change the color and make it easier to understand)
4. do the following command : cd C:/Folder(Replace the Folder with the Folder you saved the Luac, the ArcRace1.lur and your script.)
5. Write the following command : Luac -o ArcRace1.lur ScriptName.lua
Replace ScriptName with your script's name.
6. Open up the scripts file inside C:/Rockstar Games/Bully scholarship edition/Scripts with IMGtool.
7. Delete the ArcRace1.lur inside the scripts file
8. Add the ArcRace1.lur inside the folder with the Luac files.
9. Rebuild Archive with IMGtool
10. Open bully, go to the arcade machine in the boys dorm, use it, and your script will start to work.

I copied this of the tutorial of c00ld0c26: http://www.bully-board.com/index.php?topic=18725.0

4
Bully Modding Archives / Re: I am coming back
« on: January 28, 2014, 07:10:28 AM »
welcome back to bully-board!!!! :D :D :D nothing more here

5
My PC is weak but inside the prep club house of the for to hit
thanks for the help :D :D :D

6
the settings are the minimum

7

this always happens

8

I think that accuracy does not come from the lua,because does not hit combo be grabbing,with the boss Darby mod v1 :(
is something in another file without being lua codes

9
Modding Questions/Help Archives / precision in 5 hit combo P_Striker_B
« on: January 26, 2014, 08:05:55 PM »
how do I get more precision in 5 hit combo P_Striker_B :)
The CeSSaRR saw that has a lot of precision in full style P_Striker_B :)
Sorry for Bad English :(

10
Modding Questions/Help Archives / Re: Player selector mega mod?
« on: January 25, 2014, 05:15:15 PM »
I know the player selector mega mod will be released
this topic has the answer:
http://www.bully-board.com/index.php?topic=20414.msg346717#msg346717

11
Showdown at the Plant

12
Introduce Yourself / Re: Hello fellow bully players
« on: January 23, 2014, 02:41:37 PM »

13
Requests Archive / Re: Select
« on: January 23, 2014, 08:03:45 AM »
inverte câmera (X) + Seta para baixo, desativa o menu, ativa o menu esquerda ou direita

X para esquerda ou direita muda entre as seleções,

Seta para baixo confirma

esquerda ou direita anda pelas seleções


Camera look-behind (X) + Down Arrow, disables the menu,activates menu the left or right

X to the left or right switches between selections,

Down arrow confirms

left or right walking through selections

14
Modding Questions/Help Archives / Re: how to return to normal game?
« on: January 16, 2014, 06:25:39 AM »
I was a day without internet, sorry
thank you :D :D

15
Modding Questions/Help Archives / how to return to normal game?
« on: January 14, 2014, 10:55:32 AM »
I tried
Code: [Select]
MissionCleanup = function()
 if PedIsDead(Bully01) then
 TextPrint("M_PASS", 3, 0) Wait(10000) MissionSucceed()
 if PedIsDead(gPlayer) then
 TextPrint("M_FAIL", 3, 0) Wait(10000) MissionFail()
end
end
end

then

Code: [Select]
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
  local l_1_0 = 270 -- X coords
  local l_1_1 = -110 -- Y coords
  local l_1_2 = 6.4000000953674 -- Z coords
  PlayerSetHealth(200) -- gives the player 200 health
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  Bully01 = PedCreateXYZ(99, l_1_0 + 1, l_1_1 + 1, l_1_2 + 1)
   if PedIsDead(Bully01) then
 TextPrint("M_PASS", 3, 0) Wait(10000) MissionSucceed()
 end
 if PedIsDead(gPlayer) then
 TextPrint("M_FAIL", 3, 0) Wait(10000) MissionFail()
  end
end

and did not complete the mission
not back to normal game
sorry for bad english

Pages: [1] 2 3