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 - Yunyv

Pages: [1]
1
Modding Questions/Help / Re: Boss_Darby Action Nodes Concern
« on: January 15, 2024, 06:58:36 AM »
(machine translation)
This function may be helpful to you,I found this function in a mod made by mh_dt/mhdt ,I didn't make it.
Code: [Select]
forceActionNode = function(gplayer,node,tree)
local playing
local attempts = 0
repeat
PedSetActionNode(gplayer,"/Global","Act/Globals.act")
PedSetActionNode(gplayer,node,tree)
playing = (PedIsPlaying(gplayer,node,false) or PedIsPlaying(gplayer,node,true)) and PedGetNodeTime(gplayer) == 0
attempts = attempts + 1
until playing or attempts == 100
return playing,attempts
end
How to use:example:
Code: [Select]
forceActionNode(gplayer,"/Global/BOSS_Darby/Defense/Evade/EvadeLeft/HeavyAttacks/EvadeRightPunch","act/anim/BOSS_Darby.act")I found this function in a mod made by mh_dt/mhdt ,I didn't make it.
I've tested it, and it works fine with targets.

2
Modding Questions/Help / Re: How to change Miss Peters style?
« on: January 14, 2024, 04:47:19 AM »
(machine translation)
You can change her style in ide.img, change TE_Female_a to Authority  change F_Girls to F_Adult change Straf_Female to Straf_Female Just like Edna(I tested it)
Or use lua's SetupPedObject function(I haven't tested it)
But these animations still don't fit on her...

3
(Machine Translations)
There may be  errors.    I haven't tested it
If you want to use lua
Use the function SetupPedObject to change their style
such as
Code: [Select]
SetupPedObject(154, "DO_Henry_Assylum", "DO_Henry_Assylum", 0, "Large", "DROPOUT", "STAT_DO_STRIKER_A", "F_Douts", "DO_Striker", "DO_StrikeCombo", "Straf_Dout", -1, "/Global/Crazy_Basic", "Act/Crazy_Basic.act", "/Global/AI", "Act/AI/AI.act", "N_Henry")--for Henryif you want to use ide.img
Change their style to Crazy_Basic


4
Script Modding / Re: LUA Action Nodes
« on: January 05, 2024, 09:26:34 PM »
mount Reversal(no 6 hits)
Code: [Select]
"/Global/Actions/Grapples/GrappleReversals/MountReversals/GuardPunchReversal/GIVE","Act/Globals/GlobalActions.act"mount push off
Code: [Select]
"/Global/Actions/Grapples/GrappleReversals/MountReversals/Pushoff/Give","Act/Globals.act"mount on
Code: [Select]
"/Global/Actions/Grapples/Mount/MountIdle/Give", "Globals/Wrestling1.act"charge ground kick
Code: [Select]
"/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick/GroundKickCharged","act/anim/Player.act"  ground kick
Code: [Select]
"/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick/GroundKick","act/anim/Player.act"

5
Script Modding / Re: LUA Action Nodes
« on: December 24, 2023, 04:24:15 AM »
player grab attempt
Code: [Select]
"/Global/Player/Attacks/Grapples/Grapples/GrappleAttempt/GrappleAttempt", "Act/Anim/Player.act"player takedown
Code: [Select]
"/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Player/TakeDown","Act/Globals.act"Gary rooftop grab Reversal
Code: [Select]
"/Global/Nemesis/Special/RAILING_GRAB/6B_Hold/Hold_Cycle/EscapeParametric/Escape/Rcv", "Act/Anim/Nemesis.act"

6
Script Modding / Re: LUA Action Nodes
« on: December 08, 2023, 09:04:40 PM »
Player Running Takedown
Code: [Select]
"/Global/Player/Attacks/Grapples/Grapples/RunningTakedown/RunningTakedown","act/anim/Player.act" Grab Attempt
Code: [Select]
"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act"
"/Global/npc(ex:J_Grappler_A)/offense/Short/Grapples/GrappleAttempt","Act/Globals.act" or "act/anim/npc(ex:J_Grappler_A).act"
Player  Heavy Punches
Code: [Select]
"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/HeavyAttacks"
"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/HeavyAttacks"
"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/HeavyAttacks"
"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/HeavyAttacks"
"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/HeavyAttacks", "act/anim/Player.act"

7
Script Modding / Re: LUA Action Nodes
« on: November 30, 2023, 09:04:18 AM »
Adult running grab
Code: [Select]
   "/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect/unarmed/Attacks/Adult","act/anim/CV_Male_A.act" orderly sedate
Code: [Select]
"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/OrderlyGrapple/GrappleAttempt/GrappleSuccess/Hold", "Act/Anim/LE_Orderly_A.act"
"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/OrderlyGrapple/GrappleAttempt/GrappleSuccess/Held", "Act/Anim/LE_Orderly_A.act" --be Sedated

Pages: [1]