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


Author Topic: LUA Fighting Style Bug(s)  (Read 3441 times)

0 Members and 3 Guests are viewing this topic.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
LUA Fighting Style Bug(s)
« on: April 22, 2013, 07:02:59 AM »
It's me again. I know how annoying it is to see me everytime here with shitloads and piece of cake questions(for pro), but I'll give it a try xD

Anyway, while changing Jimmy's fighting style via LUA, I tried Johnny and Darby fighting style. Well I got problem :/

Johnny:
Auto attack. Attack that occurs automatically(Haymaker or w/e, lol) even when you didn't press a button. Yes, A button.

Darby:
Well, when using that style, he only have the walking animation, battle stance and evade? No attack animation. Which when certain button is pressed, he expands his both hands. :/

What might cause the problem? :(

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: LUA Fighting Style Bug(s)
« Reply #1 on: April 22, 2013, 08:04:48 AM »
This is no problem!
As long as you don't expect others to do the work for you.
I do believe that both of their styles are messed up as it is.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Re: LUA Fighting Style Bug(s)
« Reply #2 on: April 22, 2013, 08:25:42 AM »
Nah, I prefer to do the work by myself so I'll know how to do next in the future :P

deadpoolXYZ

  • Guest
Re: LUA Fighting Style Bug(s)
« Reply #3 on: April 22, 2013, 07:57:06 PM »
Johnny fighting style always worked like that. You can still get the animation of the haymaker since you can't use that attack with the fighting style.

You can't use Derby fighting style because his animations aren't loaded.

Add this to your lua script:

LoadAnimationGroup("BOSS_Darby")
LoadAnimationGroup("Boxing")

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Re: LUA Fighting Style Bug(s)
« Reply #4 on: April 23, 2013, 07:50:46 AM »
Alright. I did it and it worked fine. Thanks alot. But..what are the full controls for this anim? Most of the anim I tried looks more like evading

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: LUA Fighting Style Bug(s)
« Reply #5 on: April 23, 2013, 05:26:50 PM »
LoadAnimationGroup("BOSS_Darby")

I don't think that's even an animation group.

You just need to load "Boxing" to get his full style.

deadpoolXYZ

  • Guest
Re: LUA Fighting Style Bug(s)
« Reply #6 on: April 23, 2013, 06:42:35 PM »
Yeah, you can only use the evades and charged punch.

Alt: duck evade
Shift: left evade
R: right evade
Shift while holding X: charged punch

If you press the buttons twice then Jimmy will use the counter attack.

LoadAnimationGroup("BOSS_Darby")

I don't think that's even an animation group.

You just need to load "Boxing" to get his full style.

I couldn't remember if it existed so I added it anyway.