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.

Topics - mhdt

Pages: [1]
1
Bully Modding / Cross punch without PedSetFaction(nope)
« on: October 10, 2021, 08:16:42 AM »
stupid idea
Code: [Select]
elseif PedIsValid(PedGetGrappleTargetPed(gplayer)) and PedIsPlaying(gplayer,"/Global/Actions/Grapples/Front/Grapples/Hold_Idle",true) and PedMePlaying(gplayer,"GIVE",true) and IsButtonPressed(15,0) then
local LastGrapplePed = PedGetGrappleTargetPed(gplayer)
local PLX,PLY,PLZ = PedGetPosXYZ(gplayer)
local currentSpeed = GameGetPedStat(LastGrapplePed,20)
local currentHealth = PedGetHealth(gplayer)
PedSetGrappleTarget(PedGetGrappleTargetPed(gplayer),-1)
PedSetGrappleTarget(gplayer, -1)
copyJimmy = PedCreateXYZ(0,PLX,PLY,PLZ)
PedSetHealth(copyJimmy,currentHealth)
GameSetPedStat(copyJimmy,20,currentSpeed)
PedSetGrappleTarget(LastGrapplePed,copyJimmy)
PedSetGrappleTarget(copyJimmy, LastGrapplePed)
PedSetFaction(copyJimmy,2)
CameraFollowPed(copyJimmy)
PedSetActionNode(copyJimmy,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitA", "Globals/Nemesis.act")
PedAttack(copyJimmy,LastGrapplePed)
PedSetHitTree(gplayer,"/Global/HitTree/Standing/Melee/Generic/Float/Axehandle/Front","act/anim/hittree.act")
PedSetGrappleTarget(gplayer,copyJimmy)
Wait(100)
elseif PedIsValid(copyJimmy) and not PedMePlaying(copyJimmy,"HitA",true) then
local PLX,PLY,PLZ = PedGetPosXYZ(copyJimmy)
local currentHealth = PedGetHealth(copyJimmy)
CameraReturnToPlayer()
PlayerSetPosSimple(PLX,PLY,PLZ)
PedDelete(copyJimmy)
PedSetHealth(gplayer,currentHealth)
if PedGetHealth(gplayer) <= 0 then
PedApplyDamage(gplayer,999)
end
function PedSetHitTree(ped,HitTreeNode,HitTreeAct,GrappleHitTreeNode)
if PedGetHealth(ped) > 0 then
PedPlayHitReaction(ped)
PedSetActionNode(ped,HitTreeNode,HitTreeAct)
if PedIsValid(PedGetGrappleTargetPed(ped)) then
PedPlayHitReaction(PedGetGrappleTargetPed(ped))
PedSetActionNode(PedGetGrappleTargetPed(ped),GrappleHitTreeNode,HitTreeAct)
end
end
end

2
Bully Modding / Bully Anniversary Edition Custom Text
« on: October 04, 2021, 03:04:57 AM »
Looks like not only math can custom text.

3
Modding Questions/Help / PedIsHit problem
« on: October 03, 2021, 08:14:30 PM »
PedIsHit is not valid for people who have been by GrappleTarget

4
Bully Modding / Some Bullshit of Russell Barserk Grapple
« on: October 02, 2021, 06:10:05 AM »
Code: [Select]
PedSetActionNode(gplayer,"BarserkGrapple_RunCyc","act/anim/boss_russell.act") Barserk Grapple With Chase
PedSetActionNode(gplayer,"BarserkGrappleMoves","act/anim/boss_russell.act")  Powerbomb or Boston Grab
PedSetActionNode(gplayer,"BostonCrabFinish","act/anim/boss_russell") Boston grab finish
PedSetActionNode(gplayer,"BostonCrabCyc","act/anim/boss_russell.act") Boston grab Leg

5
Bully Modding / Some fighting sound of SoundPlay2D
« on: September 29, 2021, 09:02:57 AM »
Code: [Select]
SoundPlay2D("Groin_Kick") -- girl kick nut scream
SoundPlay2D("Groin_Hit") -- Body kick OOF

6
Script Modding / Front HarssKick
« on: September 28, 2021, 09:19:56 AM »
i find a way to trigger trip any time but it work sucks while lock on PC,and it sucker than deadpoolxyz HarassKick.
Code: [Select]
  CameraAllowChange(false)
  PedLockTarget(gplayer,gplayer)
    PedSetActionNode(gPlayer, "trip","b_striker_a.act")
        PedLockTarget(gplayer,-1)
          CameraAllowChange(true)
sorry for my english

7
Modding Questions/Help / IsButtonPressed on Anniversary Edition???
« on: September 24, 2021, 08:22:51 AM »
IsButtonPressed on anniversary edition work like IsButtonBeingPressed,so what should i do to have the true IsButtonPressed like PC?I tried to use the brute force of "variables", but it takes 75 lines, which is a waste of time.

8
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?

9
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?

10
Modding Questions/Help / about bike_gen
« on: April 24, 2021, 06:23:20 PM »
i tried to use isbuttonpressd in bike_gen,but it doesn't work,how does it work like StimeCycle?

11
Modding Questions/Help / about population
« on: March 05, 2021, 09:56:40 PM »
where is the place name in population.dat?i can't find.

Pages: [1]