Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Gustavinzaum on November 21, 2013, 05:14:51 PM

Title: Editing Fighting Styles with Lua
Post by: Gustavinzaum on November 21, 2013, 05:14:51 PM
Hi, people. I want to know how to make a full fighting style through Lua. I mean, from the beginning ( PRlead_Character...) to end (Global/, Anim, and AI.).
Please, if you know how to do this all, or a part of it, tell me pls  :-X
Title: Re: Editing Fighting Styles with Lua
Post by: c00ld0c26 on November 22, 2013, 02:56:04 AM
PedSetActionTree(PEDNAME, "/Global/FIGHTINGSTYLENAME", "Act/Anim/FIGHTINGSTYLENAME.act")

There you go, it will work for all styles, but dont forget to load the animation's needed for that fighting style, aswell dont forget that when using boss fighting style you will need to load all of the animation's needed for them (sometimes they need animations which are more then their ped animations) and set their AI to the boss AI like this :

PedSetAITree(PEDNAME, "/Global/AINAME", "Act/AI/AIFILENAME.act")

good luck
Title: Re: Editing Fighting Styles with Lua
Post by: Gustavinzaum on November 22, 2013, 04:11:05 PM
Thanks