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 ... 5
2
Script Modding / Re: DaBOSS's LUA Reference
« on: June 11, 2022, 05:15:45 PM »
Only AE:
PlayerInBoxingRing(true) enable boxing minigame hud,false is disabled

3
Bully Modding / J_Melee,Crazy_Basic and J_Mascot 0 damage fix
« on: June 02, 2022, 11:41:49 PM »
Code: [Select]
local isHitedPed = {}
main = function()
while not SystemIsReady() or AreaIsLoading() do
Wait(0)
end
while true do
for i,ped in {PedFindInAreaXYZ(0, 0, 0, 99999)} do
if (HitIsPlaying(ped,"/Global/J_Mascot/Offense/Medium/Strikes/LightAttacks/WindMill_R/WindMill_L") or HitIsPlaying(ped,"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R/WindMill_L")) and PedGetNodeTime(ped) >= 0.12 and not PedMePlaying(PedGetWhoHitMeLast(ped)"SwingPunch_R",true)and not PedIsBlocking(ped)and not PedIsPlaying(ped,"/Global/HitTree/Standing/Melee/Generic/Left/HEADHOOK",true)then
PedApplyDamage(ped,15 * PedGetDamageGivenMultiplier(ped, 2))
isHitedPed[ped] = true
end
if HitIsPlaying(ped,"/Global/J_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyRight") and not PedIsBlocking(ped)and not PedIsPlaying(ped,"/Global/HitTree/Standing/Melee/Generic/Straight/HEAVYSTRAIGHT2",true)then
PedApplyDamage(ped,30 * PedGetDamageGivenMultiplier(ped, 2))
isHitedPed[ped] = true
end
end
for ped,v in pairs(isHitedPed)do
if (PedGetNodeTime(PedGetWhoHitMeLast(ped)) <= 0.1 and not PedIsPlaying(PedGetWhoHitMeLast(ped),"/Global/J_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyRight/HeavyRight_LAND",true)) or not PedIsValid(PedGetWhoHitMeLast(ped)) or PedGetHealth(ped) <= 0 then
isHitedPed[ped] = nil
end
end
Wait(0)
end
end
function PedIsBlocking(ped)
if not PedMePlaying(ped,"Block",true)or not PedMePlaying(ped,"0_BLOCK_0",true)then
return false
end
return true
end
function HitIsPlaying(ped,node)
return PedGetHealth(ped) > 0 and PedIsHit(ped,2,200) and PedIsValid(PedGetWhoHitMeLast(ped)) and PedIsPlaying(PedGetWhoHitMeLast(ped),node,true) and not PedMePlaying(ped,"Cars",true)and isHitedPed[ped] == nil
end

4
Other methods
IsButtonHeld(ButtonID,ControllerlD)--Only in AE
GetStickValue(ButtonID,ControllerID) > 0

5
Ultimate Selector V2 not only include StimeCycle.lur,but also include "actnodes.lur betaanimation.lur loadallanim.lur"

6
Modding Questions/Help / Re: Car Jacking
« on: March 14, 2022, 12:34:07 AM »
你是否用过IsButtonBeingPressed(9,0)?

7
Requests / who have derpy script addon
« on: March 05, 2022, 09:13:19 PM »
title

8
Script Modding / Re: LUA Action Nodes
« on: February 26, 2022, 05:01:46 PM »
Mascot Kick Node
Code: [Select]
/Global/J_Mascot/Offense/Short/Heavy/Stunners/Sack/SackFreq/GutKick_R

9
Bully Modding / Re: P_Striker_A EvadeBack for Player
« on: February 25, 2022, 05:58:22 PM »
i like Nemesis evadeback to get evadecounter

10
Bully Modding / P_Striker_A EvadeBack for Player
« on: February 25, 2022, 05:33:28 AM »
it work sucks in fact
Code: [Select]
PlayerSetControl(0)
PlayerLockButtonInputsExcept(true)
PedSetActionTree(gplayer,"/global/p_striker_a","act/p_striker_a.act")
PedSetTaskNode(gplayer,"evadeback","AI.act")
Wait(0)
PedSetAITree(gplayer, "/Global/PlayerAI", "Act/PlayerAI.act")
PlayerSetControl(1)
local lastWeapon = PedGetWeapon(gplayer)
while PedMePlaying(gplayer,"evadeback",true) do
PedSetWeapon(gplayer,lastWeapon)
Wait(0)
end
PedSetActionTree(gplayer, "/global/player","act/player.act")
Wait(0)
PlayerLockButtonInputsExcept(false)

11
Modding Questions/Help / Re: What is _G ?
« on: January 25, 2022, 06:37:05 AM »
_ G is the location where the global variable is stored

12
Modding Questions/Help / Re: Bike tricks Attack
« on: January 22, 2022, 05:34:17 AM »
杂乱无章

13
Modding Questions/Help / Re: Bike tricks Attack
« on: January 21, 2022, 08:15:07 PM »
从我的直觉来看你的节点是错的

14
Script Modding / Re: LUA Action Nodes
« on: January 15, 2022, 08:29:19 PM »
Secret of Nemesis
Code: [Select]
/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch1/Release
/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2/Release
/Global/Nemesis/Offense/Medium/Strikes/LightAttacks/OverHandR/HeavyAttacks/Knee/Release

15
Modding Questions/Help / Re: How to fix control peds mod issues?
« on: January 15, 2022, 08:21:44 PM »
some action tree for players will be BUG, like J_mascot

Pages: [1] 2 3 ... 5