Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: FearlessBloodseeker on March 27, 2013, 10:08:31 AM

Title: Controls for Fighting Style
Post by: FearlessBloodseeker on March 27, 2013, 10:08:31 AM
Hey guys, what is the controls that are available for fighting styles? Even blocking?
Title: Re: Controls for Fighting Style
Post by: WhenLifeGivesYouLemons on March 27, 2013, 11:43:36 AM
if your doing IDE changes in fighting styles here are some of the moves I know

B_Striker_A-- alt (2x) two punch , Shift (1x) gut kick or right hook
N_Striker_A--alt(2x) two punch combo , Shift (x2) Slap N Tackle
N_Striker_B-- alt(2x) two punch combo , Shift (1x) Slaping in the air
G_Striker_A-- alt(x3) 3 hit punch combo , Shift (x1) knee , (alt+shift) right kick
G_Grappler_A-- alt(x2) punch N uppercut, Shift (x1) front kick
G_Melee_A-- alt(x3) 3 punch combo , Shift (x1) right kick
J_Grappler_A-- no move set unless changing your faction
J_Striker_A-- alt(x2) punch N elbow , Shift (After your two alt combo) J_Uppercu
J_Melee_A-- alt(x2) two punch combo , Shift (x1) Right Straight Punch "No damage" , R(x1) shoulder bash
P_Striker_A alt(x3) four hit combo , Shift (x1) Right Uppercu
P_Striker_B alt(x3) 3 left hit combo , Shift (x1) charge punch , X+alt then shift (punch N upper hit combo)
P_Grappler_A alt(x2) two hit combo + dodge , Shift (x1) charge punch
GS_Male_A alt(x2) two punch combo , Shift (x1) shove attack
DO_Striker_A alt(x3) DO strikercombo , Shift (x1)  rushing clothesline?
DO_Grappler_A alt (x3) DO Strikercombo ,R(x1) Crazy Basic Grapple
CrazyBasic alt (x2) two hit B_Striker_A ,Shift (x1) kick to gut or right hook                       
Title: Re: Controls for Fighting Style
Post by: FearlessBloodseeker on March 27, 2013, 09:39:42 PM
No blocking?
Title: Re: Controls for Fighting Style
Post by: WhenLifeGivesYouLemons on March 28, 2013, 12:13:54 AM
No blocking?
you can if you switch to your firecracker, But in LUA you can give the block button do any fighting move
Title: Re: Controls for Fighting Style
Post by: DreamEvo on March 28, 2013, 12:33:15 AM
You should add tutorials like assigning a action to a button or faction respect and all that good stuff
Title: Re: Controls for Fighting Style
Post by: WhenLifeGivesYouLemons on March 28, 2013, 08:59:48 AM
Im going to hold off with the faction changer until Walter can help me with that xD

As for switching fighting styles I think I can do that Like switch from BoxingPlayer to Player so you can open doors and run
Title: Re: Controls for Fighting Style
Post by: deadpoolXYZ on March 28, 2013, 03:35:24 PM
You should add tutorials like assigning a action to a button or faction respect and all that good stuff

Actually that's really easy to do.

Title: Re: Controls for Fighting Style
Post by: DreamEvo on March 28, 2013, 05:30:45 PM
I don't no how ha
Title: Re: Controls for Fighting Style
Post by: MadmaN on March 29, 2013, 04:20:44 PM
You can bind anything to a button in lua.

The way I do buttons is simple. I start a function specifically for buttons...nothing else and start it like so:

Code: [Select]
TL_Buttons = function()
   if IsButtonPressed(3, 0) then

The function in the example above is what I call all of my button functions since it makes it easier to find in a big script.....and right under the function you have to have the first button bind line start with if and after that the other buttons you bind in that function have to start with elseif.

There are other ways to do this but this is just the simplest method and works quite well.

Lets take apart the button code and explain what is what.

Look at the following portion from above: IsButtonPressed(3, 0)

the first number in the () is the button number. There is a maximum of 15 buttons that you can use for a single controller....and the second number is the controller number. 0 defaults the script to use the current main controller....like for me its the xbox controller where the mouse will be 1 and the keyboard will be 2 respectively....this will be different for everyone since everyone has a different setup to their pc.

You have no limit to how many controllers you can add to a script other then places to plug in a controller.

I have a simple button test script that I use to see what button press is what number on what controller number so I can properly assign this or that button for a function in the game.

You can also bind multiple buttons at once to a single function.

To do that you simply just add a bit to the button function line like so:

Code: [Select]
if IsButtonPressed(3, 0) and if IsButtonPressed(12, 0) then

I will post my button test script shortly since it should help everyone out with the whole button bind code as well as have a easy way to do controller testing so you can figure out what controllers are assigned to what number.....etc.
Title: Re: Controls for Fighting Style
Post by: GaryHarrington on October 21, 2013, 07:50:34 PM
P_Striker_B alt(x3) 3 left hit combo , Shift (x1) charge punch , X+alt then shift (punch N upper hit combo)                   

it's pretty difficult with X+alt then shift
Title: Re: Controls for Fighting Style
Post by: GaryHarrington on November 23, 2013, 07:53:25 AM
if your doing IDE changes in fighting styles here are some of the moves I know

B_Striker_A-- alt (2x) two punch , Shift (1x) gut kick or right hook
N_Striker_A--alt(2x) two punch combo , Shift (x2) Slap N Tackle
N_Striker_B-- alt(2x) two punch combo , Shift (1x) Slaping in the air
G_Striker_A-- alt(x3) 3 hit punch combo , Shift (x1) knee , (alt+shift) right kick
G_Grappler_A-- alt(x2) punch N uppercut, Shift (x1) front kick
G_Melee_A-- alt(x3) 3 punch combo , Shift (x1) right kick
J_Grappler_A-- no move set unless changing your faction
J_Striker_A-- alt(x2) punch N elbow , Shift (After your two alt combo) J_Uppercu
J_Melee_A-- alt(x2) two punch combo , Shift (x1) Right Straight Punch "No damage" , R(x1) shoulder bash
P_Striker_A alt(x3) four hit combo , Shift (x1) Right Uppercu
P_Striker_B alt(x3) 3 left hit combo , Shift (x1) charge punch , X+alt then shift (punch N upper hit combo)
P_Grappler_A alt(x2) two hit combo + dodge , Shift (x1) charge punch
GS_Male_A alt(x2) two punch combo , Shift (x1) shove attack
DO_Striker_A alt(x3) DO strikercombo , Shift (x1)  rushing clothesline?
DO_Grappler_A alt (x3) DO Strikercombo ,R(x1) Crazy Basic Grapple
CrazyBasic alt (x2) two hit B_Striker_A ,Shift (x1) kick to gut or right hook                       

you forget melee greaser move,gary,wrestling and grapple greaser
Title: Re: Controls for Fighting Style
Post by: deadpoolXYZ on November 23, 2013, 03:18:38 PM
Grappler greaser is there.  :P
Title: Re: Controls for Fighting Style
Post by: GaryHarrington on November 23, 2013, 05:28:17 PM
Grappler greaser is there.  :P

i mean the bearhug
Title: Re: Controls for Fighting Style
Post by: deadpoolXYZ on November 23, 2013, 05:35:49 PM
He didn't include the grapple attacks.
Title: Re: Controls for Fighting Style
Post by: GaryHarrington on November 23, 2013, 05:44:25 PM
He didn't include the grapple attacks.

so the special grapple or combo attacks ?i mean i play as lefty and use player default so i grapple peds then press R he did special grapple
Title: Re: Controls for Fighting Style
Post by: Enderman on June 15, 2014, 04:31:55 AM
No blocking?
you can if you switch to your firecracker, But in LUA you can give the block button do any fighting move

Can you give me the code please i really need it