Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: embas10 on April 25, 2014, 10:15:00 AM
-
is there anyone now how to modding with give a freeroam ped a command?
like this the example:
1.regulary gary using his own style, with that big guy stats. and now with lua, gary using his style with his own stats, in freeroam!!
2.normaly algie have a low health(60-80?) in free roam, and now he have a huge health when i try to change it to (5000) in freeroam
ok, that just a example ! so how to give freeroaming ped a command like: PedSetActionTree
PedSetHealth
PedSetStats
PedSetFaction
etc...
-
I think you could change his stats and health in pedstats.dat couldnt you?
As for Gary having his own style, you could use lua to make a button set the target peds fighting style to "Nemesis" which is Gary's boss style.
-
i now that! but i wanted to quickly change by lua to changing their stats or style or faction or etc..! and if i changing Russel Stats! so gary and russel have a same health,attack Frequency,block rate, and etc!
-
Well, about stats..... You will have to lock on them with the lockon in game to do that.
Or
Use a special command that overrides Ide.img completely in the game.
But I cannot reveal it as MadmaN still wants to use it for a project of some sort.
-
Well, about stats..... You will have to lock on them with the lockon in game to do that.
Or
Use a special command that overrides Ide.img completely in the game.
But I cannot reveal it as MadmaN still wants to use it for a project of some sort.
thanks for the change stats! but is there have a way to change style,faction,attitude,etc? for freeroaming ped?
-
Yes it's the command I mentioned above.
About attitude it's a different command so I'll post it when I'm on my PC.
-
Thanks for your help!
:)
-
To change faction respect use this.
PedSetTypeToTypeAttitude(Faction, Faction, Attitude)
Theres also another one to change a peds attitude to a faction.
PedSetPedToTypeAttitude(Ped ID, Faction, Attitude)
Don't ask me how to use it though. Because I have no idea, I was never able to get PedSetPedToTypeAttitude to work.
-
Well, about stats..... You will have to lock on them with the lockon in game to do that.
Or
Use a special command that overrides Ide.img completely in the game.
But I cannot reveal it as MadmaN still wants to use it for a project of some sort.
Dude, that is a prefab. It was already released, or am I reading an old comment...lol In the LUA developer they have it...