Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: embas10 on April 25, 2014, 10:15:00 AM

Title: Freeroam Comand??
Post 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...
Title: Re: Freeroam Comand??
Post by: Screenracer on April 26, 2014, 08:16:49 AM
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.
Title: Re: Freeroam Comand??
Post by: embas10 on April 26, 2014, 08:44:35 AM
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!
Title: Re: Freeroam Comand??
Post by: c00ld0c26 on April 26, 2014, 11:08:21 AM
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.
Title: Re: Freeroam Comand??
Post by: embas10 on May 01, 2014, 02:39:43 AM
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?
Title: Re: Freeroam Comand??
Post by: c00ld0c26 on May 01, 2014, 09:26:09 AM
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.
Title: Re: Freeroam Comand??
Post by: embas10 on May 01, 2014, 11:26:26 PM
Thanks for your help!
  :)
Title: Re: Freeroam Comand??
Post by: Screenracer on May 02, 2014, 09:19:10 AM
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.
Title: Re: Freeroam Comand??
Post by: Unknownsoldier on June 10, 2014, 07:47:19 PM
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...