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 - Phap

Pages: 1 ... 20 21 [22] 23 24 ... 27
316
Mod Releases Archive / Re: Bully Scholarship Edition Boss Fights V1
« on: June 18, 2013, 11:38:06 PM »
Video coming soon ^.^

317
Mod Releases Archive / Bully Scholarship Edition Custom Mayhem
« on: June 18, 2013, 11:37:01 PM »
Video:
Coming soon
Download link:
http://www.mediafire.com/download/ske1o9ur3o15ogq

318
Mod Showroom Archives / Re: Clique Fights
« on: June 17, 2013, 11:29:57 AM »
In my fights, they stand 20 metres away from each other. But yeah you have to add the PedAttack code to make them attack each other.
This my my code:

GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 515
  local l_1_1 = 504
  local l_1_2 = 19.60971009
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
  TextPrintString("Bully Scholarship Edition Bullies vs Townies ", 4, 1)
  Wait(5000)
  TextPrintString("Enjoy ", 4, 1)
  Wait(5000)

 local Ped1 = nil
 local Ped2 = nil
 local Ped3 = nil
 local Ped4 = nil
 local Ped5 = nil
 local Ped6 = nil
 local Ped7 = nil
 local Ped8 = nil
 local Ped9 = nil
 local Ped10 = nil
 local Ped11 = nil
 local Ped12 = nil
 local Ped13 = nil
 local Ped14 = nil
 local Ped15 = nil

local Ped1 = PedCreateXYZ(91, 510, 500, 19.60971009)
local Ped2 = PedCreateXYZ(47, 510, 501, 19.60971009)
local Ped3 = PedCreateXYZ(46, 510, 502, 19.60971009)
local Ped4 = PedCreateXYZ(45, 510, 503, 19.60971009)
local Ped5 = PedCreateXYZ(43, 510, 504, 19.60971009)
local Ped6 = PedCreateXYZ(41, 510, 505, 19.60971009)
local Ped7 = PedCreateXYZ(44, 510, 506, 19.60971009)
local Ped8 = PedCreateXYZ(42, 510, 507, 19.60971009)
local Ped9 = PedCreateXYZ(75, 530, 500, 19.60971009)
local Ped10 = PedCreateXYZ(99, 530, 501, 19.60971009)
local Ped11 = PedCreateXYZ(85, 530, 502, 19.60971009)
local Ped12 = PedCreateXYZ(145, 530, 503, 19.60971009)
local Ped13 = PedCreateXYZ(146, 530, 504, 19.60971009)
local Ped14 = PedCreateXYZ(147, 530, 505, 19.60971009)
local Ped15 = PedCreateXYZ(102, 530, 506, 19.60971009)

PedAttack(Ped1, Ped9, 1) - Ped1 attacks Ped9
PedAttack(Ped2, Ped10, 1) - Ped2 attacks Ped10 and etc.
PedAttack(Ped3, Ped11, 1)
PedAttack(Ped4, Ped12, 1)
PedAttack(Ped5, Ped13, 1)
PedAttack(Ped6, Ped14, 1)
PedAttack(Ped7, Ped15, 1)
PedAttack(Ped8, Ped9, 1)
PedAttack(Ped9, Ped1, 1)
PedAttack(Ped10, Ped2, 1)
PedAttack(Ped11, Ped3, 1)
PedAttack(Ped12, Ped4, 1)
PedAttack(Ped13, Ped5, 1)
PedAttack(Ped14, Ped6, 1)
PedAttack(Ped15, Ped7, 1)

PedWander(Ped1, true) - Makes them walk around after a fight, but this is not required.
PedWander(Ped2, true)
PedWander(Ped3, true)
PedWander(Ped4, true)
PedWander(Ped5, true)
PedWander(Ped6, true)
PedWander(Ped7, true)
PedWander(Ped8, true)
PedWander(Ped9, true)
PedWander(Ped10, true)
PedWander(Ped11, true)
PedWander(Ped12, true)
PedWander(Ped13, true)
PedWander(Ped14, true)
PedWander(Ped15, true)

end


F_MissionSetup = function()
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua")

end



MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0) 
end



main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
    UpdateTextQueue()
    Wait(0)
   end
end 

319
Bully Modding Archives / Re: Modded Bully PS2
« on: June 17, 2013, 11:23:28 AM »
How did you do this? I have a PS2 and I would like to know how to do this.

320
LUA Scripting Help / Re: Lua codes not working?
« on: June 16, 2013, 03:07:45 PM »
Everything works good but when I start it up with the arcade in the boy's dorm and tried to press the button to do those moves, Jimmy doesn't do anything.

321
LUA Scripting Help / Re: Lua codes not working?
« on: June 16, 2013, 02:03:05 PM »
Nvm it didn't work, I try pressing the buttons but Jimmy doesn't do anything.

322
LUA Scripting Help / Re: Lua codes not working?
« on: June 16, 2013, 01:53:30 PM »
*Fixed

Code: [Select]
GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 270
  local l_1_1 = -110
  local l_1_2 = 6.4000000953674
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  l_0_3 = PedCreatePoint(28, POINTLIST._BEGGINING, 1) -- Ricky
  l_0_4 = PedCreatePoint(26, POINTLIST._BEGGINING, 1) -- Lucky

   PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
   PedSetActionTree(l_0_3, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Ricky
   PedSetActionTree(l_0_4, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Lucky

   -- Ally Blip Code Start
   --
    l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
    l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)

   -- Infinite Sprint Code Start for Allies
   --
    PedSetInfiniteSprint(l_0_3, true)
    PedSetInfiniteSprint(l_0_4, true)

   PedSetHealth(gPlayer, 10000)
        PedSetHealth(l_0_3, 10000)
        PedSetHealth(l_0_4, 10000)

   -- Ped Recruit Code Start
   --
    PedRecruitAlly(gPlayer, l_0_3)
    PedRecruitAlly(l_0_3, l_0_4)

   PedSetAllyAutoEngage(l_0_3, true)
   PedSetAllyAutoEngage(l_0_4, true)

  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("G_Johnny")

if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
elseif IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/Offense/Medium/HeavyAttacks/StraightPunch", "Act/Anim/BOSS_Darby.act")
end
end


F_MissionSetup = function()
  UnLoadAnimationGroup("Russell")
  UnLoadAnimationGroup("Boxing")
  UnLoadAnimationGroup("G_Johnny")
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua")

end



MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0)
end



main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
    UpdateTextQueue()
    Wait(0)
   end
end
Thanks it worked. :)

323
LUA Scripting Help / Re: Lua codes not working?
« on: June 16, 2013, 01:51:53 PM »
So it requires 2 end right after the code?

324
LUA Scripting Help / Lua codes not working?
« on: June 16, 2013, 01:17:37 PM »
I try to add these moves to my code but it doesn't work, the compiler says
luac: luascript.lua :89: 'end' expected <to close 'function' at line 7> near '<eof>'
This is my code:

GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 270
  local l_1_1 = -110
  local l_1_2 = 6.4000000953674
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  l_0_3 = PedCreatePoint(28, POINTLIST._BEGGINING, 1) -- Ricky
  l_0_4 = PedCreatePoint(26, POINTLIST._BEGGINING, 1) -- Lucky

   PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
   PedSetActionTree(l_0_3, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Ricky
   PedSetActionTree(l_0_4, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Lucky

   -- Ally Blip Code Start
   --
    l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
    l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)

   -- Infinite Sprint Code Start for Allies
   --
    PedSetInfiniteSprint(l_0_3, true)
    PedSetInfiniteSprint(l_0_4, true)

   PedSetHealth(gPlayer, 10000)
        PedSetHealth(l_0_3, 10000)
        PedSetHealth(l_0_4, 10000)

   -- Ped Recruit Code Start
   --
    PedRecruitAlly(gPlayer, l_0_3)
    PedRecruitAlly(l_0_3, l_0_4)

   PedSetAllyAutoEngage(l_0_3, true)
   PedSetAllyAutoEngage(l_0_4, true)

  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("G_Johnny")

if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
elseif IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/Offense/Medium/HeavyAttacks/StraightPunch", "Act/Anim/BOSS_Darby.act")

end


F_MissionSetup = function()
  UnLoadAnimationGroup("Russell")
  UnLoadAnimationGroup("Boxing")
  UnLoadAnimationGroup("G_Johnny")
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua")

end



MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0)
end



main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
    UpdateTextQueue()
    Wait(0)
   end
end 

325
Mod Showroom Archives / Re: Clique Fights
« on: June 16, 2013, 12:38:13 PM »
good! but why dont you use a trainer
Why would I do that?

328
Mod Showroom Archives / Re: Clique Fights
« on: June 15, 2013, 03:34:59 PM »

330
Mod Showroom Archives / Re: Clique Leader Elimination Game
« on: June 14, 2013, 01:21:36 PM »
V2!!!
Added 200 hp to clique leaders
Added Russell and Edgar
Bully Scholarship Edition Clique Leader Elimination Game V2

Pages: 1 ... 20 21 [22] 23 24 ... 27