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


Show Posts

* Messages | Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mhdt

Pages: 1 2 3 [4] 5
46
Modding Questions/Help / Action Node help
« on: September 03, 2021, 09:30:36 PM »
Why does the action node "/Global/BoxingPlayer/Attacks/Specials/KOPunch/HeavyAttacks/KnockOutCharge" not work, and this node is correct in Node 3000 or BoxingPlayer.cat,does i need ImportScripts or PedSetFightingSystem?

47
Modding Questions/Help / Re: Where is the error in these scripts!!
« on: September 03, 2021, 09:20:55 PM »
It seems that Untitled has the source code of this function

48
Modding Questions/Help / Re: Where is the error in these scripts!!
« on: September 02, 2021, 05:02:57 AM »
You meaning you wanna Kick out the driver?

49
Modding Questions/Help / Re: Where is the error in these scripts!!
« on: September 01, 2021, 08:50:51 AM »
Because this is an iterator, if Ped is not in a vehicle in the table, it will return another Vehicle ID, so it should be
Code: [Select]
if not PedIsInAnyVehicle(NPC)

50
Bully Modding / Re: I need help
« on: August 21, 2021, 05:56:10 PM »
you should put it in the loop

51
Modding Questions/Help / Re: Modifying Hitboxes
« on: August 09, 2021, 09:33:59 PM »
add
Code: [Select]
or (PedIsValid(PedGetTargetPed()) and (PedIsPlaying(PedGetTargetPed(), "/Global/P_Striker_B/Offense/Short/NonCombatActions/Taunts",true) or PedIsInCombat(PedGetTargetPed())))

52
Modding Questions/Help / Re: Modifying Hitboxes
« on: August 08, 2021, 04:39:50 AM »
Just add "PedMePlaying(gplayer,"Default_KEY") and not PedMePlaying(gplayer, "Block")"
ps: I don’t make sure that the Block player owns the node, I only know that this Block is genuine for Ped.

53
Modding Questions/Help / Re: Modifying Hitboxes
« on: August 01, 2021, 06:02:03 AM »
If not, you can change the pedcleanhitrecord command to PedSetActionNode(PedGetTargetPed(ped),"/Global","Act/Globals.act")

55
Modding Questions/Help / Re: Modifying Hitboxes
« on: July 29, 2021, 08:27:07 PM »
If allowed disable hitbox, you can clear the hit distance after being hit by Preppy at a certain distance so that Preppy  through you, but I don’t know the exact distance, so you have to test this number yourself.  (NUMBER)
Code: [Select]

  for NPC,ped in {PedFindInAreaXYZ(0, 0, 0, 99999)} do      
if PedIsValid(PedGetTargetPed(ped)) and (PedIsPlaying(ped"/Global/P_Striker_B/Offense/Short/Strikes/HeavyAttacks/Hook2", true) or PedIsPlaying(gplayer,"/Global/P_Striker_B/Offense/Short/Grapples/HeavyAttacks/Catch_Throw",true)) and DistanceBetweenPeds2D(PedGetTargetPed(ped), ped) >= NUMBER and PedIsHit(PedGetTargetPed(ped),true) then
      PedClearHitRecord(PedGetTargetPed(ped))

56
Modding Questions/Help / Re: Modifying Hitboxes
« on: July 28, 2021, 07:32:05 AM »
It's only can change HitTree ,for example,J_Striker_a second punch it's hard to hit PED with PLAYER Model ,then you can change the first punch so that the second punch can hit the PED
Code: [Select]

    for NPC,ped in {PedFindInAreaXYZ(0, 0, 0, 99999)} do
  if PedIsPlaying(gplayer, "/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks", true) and not PedIsPlaying(gplayer, "/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks", true) and PedGetWhoHitMeLast(ped) == gPlayer then
  if PedIsPlaying(ped, "/Global/HitTree/Standing/Melee/Generic/Straight/HEADJAB", true) then
PedSetActionNode(ped, "/Global/HitTree/Standing/Melee/Unique/SACKED/Front", "act/anim/HitTree.act")
  PedSetHealth(ped, PedGetHealth(ped) + 10 * PedGetDamageGivenMultiplier(gPlayer, 2))
  Wait(0)
  SoundStopCurrentSpeechEvent(ped)
  end
  end
end

57
Modding Questions/Help / Re: Judge multiple variables
« on: July 27, 2021, 04:31:22 AM »
It looks like
Code: [Select]
a ~= 3 or c ~= 3

58
Modding Questions/Help / Judge multiple variables
« on: July 22, 2021, 11:29:35 PM »
Code: [Select]
if a ~= 1 and b ~= 2 and c ~= 3 thenI always write like this, but it is very troublesome. Is there an easier way?

59
Modding Questions/Help / Re: Hit Stop mod
« on: July 15, 2021, 11:43:02 PM »
不知道,我看到某个任务lua中有这个我就按照它这样放了上去

60
Modding Questions/Help / Re: Hit Stop mod
« on: July 15, 2021, 06:25:50 PM »
好吧,并不只识别近战伤害

Pages: 1 2 3 [4] 5