1
Bully Modding Archives / Re: WWE Mod announcement
« on: February 12, 2014, 06:09:25 AM »
Oh that's a good idea! Thanks for your idea mod is cool!
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
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.
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
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
PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
LoadAnimationGroup("Russell")
LoadAnimationGroup("Boxing")
LoadAnimationGroup("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()
repeat
MissionSetup()
gMissionRunning = true
while gMissionRunning do
UpdateTextQueue()
Wait(0)
Action()
end
end
Action = function()
F_MissionSetup()
gMissionRunning = true
while gMissionRunning do
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
Good luck
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")
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()
LoadAnimationGroup("Russell")
LoadAnimationGroup("Boxing")
LoadAnimationGroup("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
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")
UpdateTextQueue()
Wait(0)
end
end
I want to have 3 boss styles Russell, Johhny and Darby mixed. I have a bit of problem?