Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: barca769 on July 23, 2015, 02:56:20 PM
-
I do not know why action is not working node . when I wanted to use this action
can anybody help me ? I hope anyone can help me :neen: :neen:
the action nodes is : "/Global/P_Striker_A/Defense/Evade/EvadeBack","act/anim/P_Striker_A.act"
-
I alway's put a capital A in anim and A in act, once I left them un-capitalized and my action node didn't work.
I doubt thats the issue, but I don't think evades work yet.
-
Action nodes aren't case sensitive. How did you set the node?
-
The action node doesn't work because the path is incomplete. After EvadeBack/EvadeCounter there are 1 or 2 folders left to get the complete version.
Also the AI change trick doesn't make it work so don't even bother.
-
sorry everyone . I do not write this code but I took it out of the topic in this link:http://www.bully-board.com/index.php?topic=22045.0
So how writing the correct node or can you write the correct node ? because I did not really understand write node
hope you can help me :-X :-X
-
That code is isn't complete yet but Josh active it somehow (some kind of codes mix each other) my internet friend (AfterLife) send me this code two months ago
elseif IsButtonBeingPressed(10, 0) and not ai then
PlayerSetControl(1)
PedSetAITree(gPlayer, "/global/ai", "Act/ai.act")
PedMakeAmbient(gPlayer, true)
PedWander(gPlayer, true)
PedSetFaction(gPlayer, 5)
PedSetStatsType(gPlayer, "STAT_P_STRIKER_A")
PedOverrideStat(gPlayer, 13, 10)
ai = true
elseif IsButtonBeingReleased(10, 0) then
PlayerSetControl(1)
PedSetAITree(gPlayer, "/global/playerai", "act/playerai.act")
PedMakeAmbient(gPlayer, false)
PedWander(gPlayer, false)
ai = false
end
UpdateTextQueue()
Wait(0)
end
end
I didn't try it yet and i accidently deleted my Bully folder ... :\
-
That code is isn't complete yet but Josh active it somehow (some kind of codes mix each other) my internet friend (AfterLife) send me this code two months ago elseif IsButtonBeingPressed(10, 0) and not ai then
PlayerSetControl(1)
PedSetAITree(gPlayer, "/global/ai", "Act/ai.act")
PedMakeAmbient(gPlayer, true)
PedWander(gPlayer, true)
PedSetFaction(gPlayer, 5)
PedSetStatsType(gPlayer, "STAT_P_STRIKER_A")
PedOverrideStat(gPlayer, 13, 10)
ai = true
elseif IsButtonBeingReleased(10, 0) then
PlayerSetControl(1)
PedSetAITree(gPlayer, "/global/playerai", "act/playerai.act")
PedMakeAmbient(gPlayer, false)
PedWander(gPlayer, false)
ai = false
end
UpdateTextQueue()
Wait(0)
end
end
I didn't try it yet and i accidently deleted my Bully folder ... :\
Lol, thats the old code. I got the actual strafe and evades now.
-
So the node I gift is wrong or isn't completely? If isn't complete please write the correct node please and if wrong you can ignore this topic or comment
-
Well... AfterLife, I have one questions. How to trigger EvadeCounter and EvadeBack with changing AI?. Please read and reply quick
-
He won't be able to reply until the end of the month.
-
I alway's put a capital A in anim and A in act, once I left them un-capitalized and my action node didn't work.
I doubt thats the issue, but I don't think evades work yet.
Nodes are not case sensitive. I've done that a lot. Try this:
PedSetActionNode(gPlayer, "/global/p_striker_a/default_key/executenodes/locomotionoverride/combat/combatbasic", "act/anim/p_striker_a.act")
That works.