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


Author Topic: how to doing strafe??  (Read 3793 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
how to doing strafe??
« on: May 05, 2015, 07:04:07 AM »
Many one can do this thing after i back to BB, is there a tutorial to do this thing?

Offline Owais Qadri

  • Gerjaffers
  • Hero Member
  • ****
  • Posts: 1,995
  • Gender: Male
  • I Love Sunny Days.
    • View Profile
Re: how to doing strafe??
« Reply #1 on: May 05, 2015, 03:20:00 PM »
Have you tried online?

Offline DahCobra33

  • Decepticon
  • Hero Member
  • ****
  • Posts: 3,057
  • Gender: Male
  • I don't deal with psychos,I put em' away...
    • View Profile
Re: how to doing strafe??
« Reply #2 on: May 05, 2015, 09:25:16 PM »
Explain yourself...You mean,how to change strafes?
there must be some tutorial about it 'round here...

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: how to doing strafe??
« Reply #3 on: May 05, 2015, 09:44:03 PM »
I had search everythig about strafe around here,but nothing i found how to do it.
Yeah i want to change a strafe.

Offline DahCobra33

  • Decepticon
  • Hero Member
  • ****
  • Posts: 3,057
  • Gender: Male
  • I don't deal with psychos,I put em' away...
    • View Profile
Re: how to doing strafe??
« Reply #4 on: May 05, 2015, 09:48:25 PM »
If there aren't any tutorials,I can't help too much,sorry

deadpoolXYZ

  • Guest
Re: how to doing strafe??
« Reply #5 on: May 06, 2015, 03:47:52 PM »
Do you mean how everyone can use the fighting styles strafes rather than the cheering/spectating fight strafes?

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: how to doing strafe??
« Reply #6 on: May 06, 2015, 10:45:21 PM »
Do you mean how everyone can use the fighting styles strafes rather than the cheering/spectating fight strafes?

No i mean, how to make jimmy or gPlayer can do other fighting style strafe,like
P_striker_a,g_striker_a, and etc.
« Last Edit: May 06, 2015, 10:50:25 PM by embas10 »

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: how to doing strafe??
« Reply #7 on: May 07, 2015, 12:10:26 AM »
Do you mean how everyone can use the fighting styles strafes rather than the cheering/spectating fight strafes?

No i mean, how to make jimmy or gPlayer can do other fighting style strafe,like
P_striker_a,g_striker_a, and etc.
Here's a example just copy and paste in ur luascript if u don't have it
Code: [Select]
  elseif IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
  isStrafing = true
  elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
  isStrafing = false
  elseif isStrafing then
  local x,y,z = PedGetPosXYZ(PedGetTargetPed())
  PedFaceXYZ(gPlayer,x,y,z)
  end
  UpdateTextQueue()
    Wait(0)
  end
end

IsMoving = function()
  local s = 0.08
  return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end
If you want  to change other strafes just edit this
  PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
  isStrafing = true
  elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
  Just change P_Striker_A to G_Striker_A or other styles
The first line is the strafe the second line if you use Nemesis style then you strafe it will has a anthoer styles (i'm bad at English forgive me)

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: how to doing strafe??
« Reply #8 on: May 07, 2015, 04:55:40 AM »
Do you mean how everyone can use the fighting styles strafes rather than the cheering/spectating fight strafes?

No i mean, how to make jimmy or gPlayer can do other fighting style strafe,like
P_striker_a,g_striker_a, and etc.
Here's a example just copy and paste in ur luascript if u don't have it
Code: [Select]
  elseif IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
  isStrafing = true
  elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
  isStrafing = false
  elseif isStrafing then
  local x,y,z = PedGetPosXYZ(PedGetTargetPed())
  PedFaceXYZ(gPlayer,x,y,z)
  end
  UpdateTextQueue()
    Wait(0)
  end
end

IsMoving = function()
  local s = 0.08
  return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end
If you want  to change other strafes just edit this
  PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
  isStrafing = true
  elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
  Just change P_Striker_A to G_Striker_A or other styles
The first line is the strafe the second line if you use Nemesis style then you strafe it will has a anthoer styles (i'm bad at English forgive me)
No look down!!! 0/10.