News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
0 Members and 3 Guests are viewing this topic.
http://www.mediafire.com/download/mcp457tzi2sn27f/BifBOSSide.img.rarfor idethe link has pictures and the codemini fight BOSS for luaCode: [Select]ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library ImportScript("\\Library\\LibPed.lua") -- imports the LibPed librarylocal 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 PlayerSetHealth(200) -- gives the player 200 health AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2) l_0_3 = PedCreateXYZ (33, l_1_0 + 1,l_1_1 + 1,l_1_2 + 1) -- Bif BOSS PedSetActionTree (l_0_3, "/Global/P_Bif", "Act/Anim/P_Bif.act") -- Bif BOSS PedSetAITree (l_0_3, "/Global/AI_BOXER","Act/AI/AI_BOXER.act") -- Bif BOSS LoadAnimationGroup("P_Bif") LoadAnimationGroup("Boxing") LoadAnimationGroup("Boxing_util") PedShowHealthBar(l_0_3, true, "N_Bif", true) SoundPlayStream("MS_BoxingBossFight.rsm", 0.69999998807907) PedAttackPlayer(l_0_3) PedSetTypeToTypeAttitude(5, 13, 2)end F_MissionSetup = function() PlayerSetControl(1) CameraFollowPed(l_0_3) ClockSet(11, 30) ClockSetTickRate(0.0060000000521541) LaunchScript("SObjTest.lua")end MissionCleanup = function() end -- end statement main = function() -- Main mission function repeat Wait(0) until l_0_0 ~= false Wait(3000) MissionSucceed() endhope this helpsI use google translator if talk nonsense please understand
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library ImportScript("\\Library\\LibPed.lua") -- imports the LibPed librarylocal 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 PlayerSetHealth(200) -- gives the player 200 health AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2) l_0_3 = PedCreateXYZ (33, l_1_0 + 1,l_1_1 + 1,l_1_2 + 1) -- Bif BOSS PedSetActionTree (l_0_3, "/Global/P_Bif", "Act/Anim/P_Bif.act") -- Bif BOSS PedSetAITree (l_0_3, "/Global/AI_BOXER","Act/AI/AI_BOXER.act") -- Bif BOSS LoadAnimationGroup("P_Bif") LoadAnimationGroup("Boxing") LoadAnimationGroup("Boxing_util") PedShowHealthBar(l_0_3, true, "N_Bif", true) SoundPlayStream("MS_BoxingBossFight.rsm", 0.69999998807907) PedAttackPlayer(l_0_3) PedSetTypeToTypeAttitude(5, 13, 2)end F_MissionSetup = function() PlayerSetControl(1) CameraFollowPed(l_0_3) ClockSet(11, 30) ClockSetTickRate(0.0060000000521541) LaunchScript("SObjTest.lua")end MissionCleanup = function() end -- end statement main = function() -- Main mission function repeat Wait(0) until l_0_0 ~= false Wait(3000) MissionSucceed() end
http://www.mediafire.com/download/mcp457tzi2sn27f/BifBOSSide.img.rarfor idethe link has pictures and the codemini fight BOSS for luaCode: [Select]ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library ImportScript("\\Library\\LibPed.lua") -- imports the LibPed librarylocal 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 PlayerSetHealth(200) -- gives the player 200 health AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2) l_0_3 = PedCreateXYZ (133, l_1_0 + 1,l_1_1 + 1,l_1_2 + 1) -- Bif BOSS PedSetActionTree (l_0_3, "/Global/P_Bif", "Act/Anim/P_Bif.act") -- Bif BOSS PedSetAITree (l_0_3, "/Global/AI_BOXER","Act/AI/AI_BOXER.act") -- Bif BOSS LoadAnimationGroup("P_Bif") LoadAnimationGroup("Boxing") LoadAnimationGroup("Boxing_util") PedShowHealthBar(l_0_3, true, "N_Bif", true) SoundPlayStream("MS_BoxingBossFight.rsm", 0.69999998807907) PedAttackPlayer(l_0_3) PedSetTypeToTypeAttitude(5, 13, 2)end F_MissionSetup = function() PlayerSetControl(1) CameraFollowPed(gPlayer) ClockSet(11, 45) ClockSetTickRate(0.0060000000521541) LaunchScript("SObjTest.lua")end MissionCleanup = function() end -- end statement main = function() -- Main mission function repeat Wait(0) until l_0_0 ~= false Wait(3000) MissionSucceed() endhope this helpsI use google translator if talk nonsense please understand
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library ImportScript("\\Library\\LibPed.lua") -- imports the LibPed librarylocal 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 PlayerSetHealth(200) -- gives the player 200 health AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2) l_0_3 = PedCreateXYZ (133, l_1_0 + 1,l_1_1 + 1,l_1_2 + 1) -- Bif BOSS PedSetActionTree (l_0_3, "/Global/P_Bif", "Act/Anim/P_Bif.act") -- Bif BOSS PedSetAITree (l_0_3, "/Global/AI_BOXER","Act/AI/AI_BOXER.act") -- Bif BOSS LoadAnimationGroup("P_Bif") LoadAnimationGroup("Boxing") LoadAnimationGroup("Boxing_util") PedShowHealthBar(l_0_3, true, "N_Bif", true) SoundPlayStream("MS_BoxingBossFight.rsm", 0.69999998807907) PedAttackPlayer(l_0_3) PedSetTypeToTypeAttitude(5, 13, 2)end F_MissionSetup = function() PlayerSetControl(1) CameraFollowPed(gPlayer) ClockSet(11, 45) ClockSetTickRate(0.0060000000521541) LaunchScript("SObjTest.lua")end MissionCleanup = function() end -- end statement main = function() -- Main mission function repeat Wait(0) until l_0_0 ~= false Wait(3000) MissionSucceed() end
do not understand in my code works normally in my bullyguess who can help you more with the lua is c00ld0c26
Hey why bif isn't attack??he only stand and didn't talk or mad if i hit him. . .
I already explained that when you add a boss AI to a ped he or she won't interact with the player or other peds. There is a low chance that a ped with a boss AI will attack the player but I don't know why.
QuoteI already explained that when you add a boss AI to a ped he or she won't interact with the player or other peds. There is a low chance that a ped with a boss AI will attack the player but I don't know why.So When his AI Not assign he can interact as normal ped??
the excuse I thought of the luathis is in and because style of his fight AIif I remove the AI will beat him in 5 seconds and he'll never beat
Quote from: Black Norton on November 16, 2013, 11:01:12 PMQuoteI already explained that when you add a boss AI to a ped he or she won't interact with the player or other peds. There is a low chance that a ped with a boss AI will attack the player but I don't know why.So When his AI Not assign he can interact as normal ped??Exactly!If a ped has the default AI then he will interact with everything and everyone.