News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Freeroam Comand??  (Read 2596 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Freeroam Comand??
« 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...

Offline Screenracer

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Freeroam Comand??
« Reply #1 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.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Freeroam Comand??
« Reply #2 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!
« Last Edit: April 26, 2014, 08:49:28 AM by embas10 »

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Freeroam Comand??
« Reply #3 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.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Freeroam Comand??
« Reply #4 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?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Freeroam Comand??
« Reply #5 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.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Freeroam Comand??
« Reply #6 on: May 01, 2014, 11:26:26 PM »
Thanks for your help!
  :)

Offline Screenracer

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Freeroam Comand??
« Reply #7 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.
« Last Edit: May 02, 2014, 09:21:35 AM by Screenracer »

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Freeroam Comand??
« Reply #8 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...