Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: SWEGTA on September 03, 2012, 01:36:52 PM

Title: Disable cops and prefects completely?
Post by: SWEGTA on September 03, 2012, 01:36:52 PM
The Zombie Mod is going GREAT now!
I have got ALL townsfolk to attack Jimmy on sight.
They now 100 % Hate everyone except for themselfs.
Title: Re: Disable cops and prefects completely?
Post by: Walter20210 on September 03, 2012, 04:43:17 PM
awesome.
i think a possible way to disable all polices and prefects is in ide
but the cops in is car i think is via lua
Title: Re: Disable cops and prefects completely?
Post by: SWEGTA on September 03, 2012, 04:51:30 PM
Hmm
Could you disable them through the arcade machine then?
Title: Re: Disable cops and prefects completely?
Post by: MikerBarba on September 03, 2012, 05:34:43 PM
try changing their faction.........
Title: Re: Disable cops and prefects completely?
Post by: Walter20210 on September 03, 2012, 11:25:17 PM
Hmm
Could you disable them through the arcade machine then?
i think is possible. but i dont now how bully lua files work :/
Title: Re: Disable cops and prefects completely?
Post by: Red Blaster on September 04, 2012, 12:46:36 AM
Just disable them from free roam.
Title: Re: Disable cops and prefects completely?
Post by: xXxNarumi on September 04, 2012, 02:01:23 AM
I can't remember how I disabled my cops (included the cop cars.)
But now when I try disabling all the cops by changing their faction, have meter red on town game crashes due to no cop car driver.
Title: Re: Disable cops and prefects completely?
Post by: Red Blaster on September 04, 2012, 04:21:38 AM
I believe that's because factions are tied to a flag for driving cars.
Title: Re: Disable cops and prefects completely?
Post by: xXxNarumi on September 04, 2012, 05:06:51 AM
I believe that's because factions are tied to a flag for driving cars.

The cop truck has a mind of its own to spawn.
So when you hit someone a cop truck spawns then the police spawns in it at the same time.
So if the cop car / truck has no driver its gonna crash the game making it incompatible to find any cops
Title: Re: Disable cops and prefects completely?
Post by: Evolution on September 04, 2012, 06:02:07 AM
 For Prefects it's very easy.

What you have to with Prefects is do now is replace the 01 00 00 00 with FF FF FF FF.
Title: Re: Disable cops and prefects completely?
Post by: SWEGTA on September 04, 2012, 09:22:55 AM
I know, but the damn cop car keeps spawning :/
Title: Re: Disable cops and prefects completely?
Post by: MadmaN on September 22, 2012, 04:59:25 PM
there is two complete ways to do it via LUA which I am very close to finally releasing some of the scripts along with the custom compiler and the first magazine issue that goes with it.

You simply put in the LUA script either or both of the following:

AreaDisableAllPatrolPaths()
DisablePunishmentSystem = TRUE

and that effectively disables all punishments and removes all cops and prefects from the game. This also removes the orderlies from the asylum too.

This method also will not glitch up the rest of the game since on any mission where said authority figures have to be present in some form whether it be a mission or a cutscene...this set of values is overridden by those scripts and so forth.
Title: Re: Disable cops and prefects completely?
Post by: deadpoolXYZ on September 22, 2012, 05:43:02 PM
there is two complete ways to do it via LUA which I am very close to finally releasing some of the scripts along with the custom compiler and the first magazine issue that goes with it.

You simply put in the LUA script either or both of the following:

AreaDisableAllPatrolPaths()
DisablePunishmentSystem = TRUE

and that effectively disables all punishments and removes all cops and prefects from the game. This also removes the orderlies from the asylum too.

This method also will not glitch up the rest of the game since on any mission where said authority figures have to be present in some form whether it be a mission or a cutscene...this set of values is overridden by those scripts and so forth.

Does that fixes the bug where if you get a red bar alert and try to get into a door it pushes you away?
Title: Re: Disable cops and prefects completely?
Post by: Red Blaster on September 23, 2012, 01:10:38 AM
^ You don't even get a trouble meter, so it's not even an issue.
Title: Re: Disable cops and prefects completely?
Post by: Unknownsoldier on June 09, 2014, 05:58:05 PM
Reverse engineer the freeroam method..lol Just put FF FF FF FF where the 01 00 00 00 would go when u enable them in freeroam
Title: Re: Disable cops and prefects completely?
Post by: SWEGTA on June 10, 2014, 03:55:57 PM
Nice bump, Unknown.
Wanna bring back more dead threads for YEARS ago?

Anyway, no that's not correct either.
A police car will spawn anyway if Jimmy gets into trouble.
Title: Re: Disable cops and prefects completely?
Post by: Unknownsoldier on June 11, 2014, 09:05:13 PM
Nice bump, Unknown.
Wanna bring back more dead threads for YEARS ago?

Anyway, no that's not correct either.
A police car will spawn anyway if Jimmy gets into trouble.
lol...yeah, ive been bored so i just reply to 3 year old threads...

that's how I disable authorities and it works except for 1 cop. everybody else(authority) is GONE
Title: Re: Disable cops and prefects completely?
Post by: c00ld0c26 on June 15, 2014, 01:15:55 AM
Delete their spawn via IDE and edit the authority script.

Or
Disable punishment system.
Title: Re: Disable cops and prefects completely?
Post by: Mick3Mouse on June 28, 2014, 02:21:55 PM
This might be a bump. 

but just repeat

PedSetTroublePoints(0).

and the cop car will spawn but it will not chase  you.