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


Author Topic: How To Trigger/Enable P_Striker_A Evades  (Read 6144 times)

0 Members and 1 Guest are viewing this topic.

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
How To Trigger/Enable P_Striker_A Evades
« on: May 04, 2015, 04:34:25 AM »
I don't mod Bully anymore, I MIGHT in the future but not for now :( I've moved onto the realm of GTA V modding for the PC :D so here is how to use p_striker_a evades ;) i find no use in hiding them anymore idk y i did b4 but here ya go

The way I did it was through triggering AI; I haven't actually found the action nodes for it yet; I believe the action nodes are:

Code: [Select]
/Global/P_Striker_A/Defense/Evade/EvadeCounter
/Global/P_Striker_A/Defense/Evade/EvadeBack

The nodes don't work but I believe they are triggered somehow, but I am yet to find out how. For now I have made a little mini-function to trigger P_Striker_A evades:

Code: [Select]
F_Evade = function()
PedSetStatsType(gPlayer, "STAT_P_BOXING_Bif")
local Ped = PedGetTargetPed(gPlayer)
  if IsButtonPressed(15,0) and PedIsValid(Ped) then
  PlayerSetControl(0)
   PedSetAITree(gPlayer,"/Global/AI", "Act/AI.act")
    PedAttack(gPlayer, Ped, 1)
     PedSetFaction(gPlayer, 5)
      PedOverrideStat(gPlayer, 12, 0)
       PedOverrideStat(gPlayer, 8, 0)
        PedOverrideStat(gPlayer, 13, 100)
         Wait(500)
          PlayerSetControl(1)
           PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
            PedMakeAmbient(gPlayer, false)
             PedLockTarget(gPlayer, -1)
              PedStop(gPlayer)
               PedSetFaction(gPlayer, 13)
 end
end

Let me give you a little breakdown of what's happening in my code:

First of all I set the player's pedstats to that of Bif's, you can also use the other P_Striker_A pedstat but this one has more health. Then I set it so the AI takes full control fo the player and evades any attack that comes at him hence the overrided stat of 100 for evade while locked on to a valid ped. This one has a FEW issues such as him strafing when not needed and executing some attacks.

Welp, there you go, hope you enjoy.

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 Trigger/Enable P_Striker_A Evades
« Reply #1 on: May 04, 2015, 05:48:22 AM »
OMG!!!!  :cheernutz:

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: How To Trigger/Enable P_Striker_A Evades
« Reply #2 on: May 04, 2015, 05:53:56 AM »
I already had something like this, I won't have to hide anything anymore since you already released this.

Bully SE P Striker A All Evades

Bully SE: P_Striker_A Full Style

Also, can you show me how you did your version of the full strafe?
« Last Edit: May 04, 2015, 05:59:57 AM by AfterLife »

deadpoolXYZ

  • Guest
Re: How To Trigger/Enable P_Striker_A Evades
« Reply #3 on: May 04, 2015, 08:10:56 AM »
Keep in mind that this method only work if you are using the preppies faction... otherwise the evade simply don't work. I wanted to add this to my mod but since you are forced to stay in the preppies faction I didn't find it worth it.
« Last Edit: May 04, 2015, 10:30:04 AM by The Dream Is Dead »

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 Trigger/Enable P_Striker_A Evades
« Reply #4 on: May 05, 2015, 02:23:06 AM »
Could you make a video?

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
Re: How To Trigger/Enable P_Striker_A Evades
« Reply #5 on: May 05, 2015, 09:29:23 PM »
Could you make a video?

I don't play/mod Bully anymore. :P

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: How To Trigger/Enable P_Striker_A Evades
« Reply #6 on: May 06, 2015, 12:09:42 AM »
He's made many in previous showroom topics of his.