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


Author Topic: Bif BOSS Style  (Read 8574 times)

0 Members and 1 Guest are viewing this topic.

Offline denifarropilha

  • LUA Modder 8)
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • I'm a friendly brazilian bully modder :D
    • View Profile
Re: Bif BOSS Style
« Reply #15 on: November 15, 2013, 11:17:25 AM »
http://www.mediafire.com/download/mcp457tzi2sn27f/BifBOSSide.img.rar
for ide
the link has pictures and the code
mini fight BOSS for lua
Code: [Select]
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
 
  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

hope this helps
I use google translator if talk nonsense please understand
lol foi você que fez esse script de mini boss fight?

Offline luizd90

  • Jr. Member
  • **
  • Posts: 3
  • Gender: Male
    • View Profile
    • http://www.xfire.com/profile/luizd90
Re: Bif BOSS Style
« Reply #16 on: November 15, 2013, 04:51:50 PM »
sim fui eu,so com uma ajudinha do tutorial do c00ld0c26
é facil,tenho todos os codigos de bosses
« Last Edit: November 15, 2013, 04:58:06 PM by luizd90 »

Offline GaryHarrington

  • A Guy Who Likes Open World and FPS Games
  • Sr. Member
  • ***
  • Posts: 515
  • Gender: Male
  • Just Love Bully and GTA ...Nothing Interested
    • View Profile
Re: Bif BOSS Style
« Reply #17 on: November 15, 2013, 11:47:12 PM »
hey men can't you guys talking with english?

Offline Black Norton

  • Keep Calm
  • Jr. Member
  • **
  • Posts: 86
  • Gender: Male
  • Peace For Respect
    • View Profile
Re: Bif BOSS Style
« Reply #18 on: November 16, 2013, 04:13:01 AM »
http://www.mediafire.com/download/mcp457tzi2sn27f/BifBOSSide.img.rar
for ide
the link has pictures and the code
mini fight BOSS for lua
Code: [Select]
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
 
  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

hope this helps
I use google translator if talk nonsense please understand


Hey why bif isn't attack??
he only stand and didn't talk or mad if i hit him. . .

Offline luizd90

  • Jr. Member
  • **
  • Posts: 3
  • Gender: Male
    • View Profile
    • http://www.xfire.com/profile/luizd90
Re: Bif BOSS Style
« Reply #19 on: November 16, 2013, 06:33:59 AM »
do not understand in my code works normally in my bully
guess who can help you more with the lua is c00ld0c26

Offline Black Norton

  • Keep Calm
  • Jr. Member
  • **
  • Posts: 86
  • Gender: Male
  • Peace For Respect
    • View Profile
Re: Bif BOSS Style
« Reply #20 on: November 16, 2013, 06:37:54 AM »
do not understand in my code works normally in my bully
guess who can help you more with the lua is c00ld0c26

I'm using your ide.img file

Of course if in LUA there is no problem

Offline luizd90

  • Jr. Member
  • **
  • Posts: 3
  • Gender: Male
    • View Profile
    • http://www.xfire.com/profile/luizd90
Re: Bif BOSS Style
« Reply #21 on: November 16, 2013, 06:55:50 AM »
the excuse I thought of the lua
this is in and because style of his fight AI
if I remove the AI will beat him in 5 seconds and he'll never beat
« Last Edit: November 16, 2013, 07:11:43 AM by luizd90 »

deadpoolXYZ

  • Guest
Re: Bif BOSS Style
« Reply #22 on: November 16, 2013, 11:52:20 AM »
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.

Offline Black Norton

  • Keep Calm
  • Jr. Member
  • **
  • Posts: 86
  • Gender: Male
  • Peace For Respect
    • View Profile
Re: Bif BOSS Style
« Reply #23 on: November 16, 2013, 11:01:12 PM »
Quote
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.

So When his AI Not assign he can interact as normal ped??

deadpoolXYZ

  • Guest
Re: Bif BOSS Style
« Reply #24 on: November 19, 2013, 05:04:06 PM »
Quote
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.

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.

Offline denifarropilha

  • LUA Modder 8)
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • I'm a friendly brazilian bully modder :D
    • View Profile
Re: Bif BOSS Style
« Reply #25 on: November 19, 2013, 07:49:16 PM »
the excuse I thought of the lua
this is in and because style of his fight AI
if I remove the AI will beat him in 5 seconds and he'll never beat
add me on bully board :) maybe we can talk on xfire or skype , i don't know what you use xD

Offline Black Norton

  • Keep Calm
  • Jr. Member
  • **
  • Posts: 86
  • Gender: Male
  • Peace For Respect
    • View Profile
Re: Bif BOSS Style
« Reply #26 on: November 22, 2013, 06:33:25 AM »
Quote
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.

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.

Thanks. . .
i remove his AI_Boxer and Now Bif can interact like normal ped with his Boxing style  :D