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
1
some random fights function be triggered by .idb in Ide.img

2
Bully Modding / Re: Game Documentation: Save Data in Lua
« on: July 23, 2022, 10:33:05 PM »
15 Is The setup passed(?)

3
Bully Modding / Re: Game Documentation: Save Data in Lua
« on: July 23, 2022, 10:19:34 PM »
cool,love you man.

4
Bully Modding / About unofficial Chinese version
« on: July 05, 2022, 05:57:45 PM »
Everyone want to editing .XML,but no one know China localization group has achieved this goal three years ago and they even realized PC localization by editing exe files

6
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

7
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

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

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

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

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

12
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

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

14
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)

15
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

Pages: [1] 2 3 ... 5