Open OHSHIET opened 3 years ago
A fake arrested/busted screen might be a good addition to this, I'll look at doing this in the next day or two.
This can be considered a WIP now -> https://github.com/kolyaventuri/ChaosModV/blob/kv-effect-busted/ChaosMod/Effects/db/Player/PlayerBusted.cpp
Still some quirks to work out but it's gettin' there!
Randomly chooses one of the effects Chaos Mod already has: +2 stars, 5 stars or whatever, so the player would think it is a real wanted level. The player sees it just as an already existing effect which adds wanted level (randomly chosen name), for Twitch integration chat would see the real name of the effect. I don't know if it should be lasting, but at some point the effect name should change so the player would know the wanted level was fake. If it's lasting, the lasting bar doesn't show for player because it'd obvious - usual wanted level effects aren't lasting. When the effect ends, the fake wanted level disappears and the effect name changes for the player. If it's not lasting, the name changes when the player loses the cops.
You actually have 3 options here:
This should also work with missions, when some missions can't progress when you have the cops. The possible solution here is to apply the cops and then just modify their behaviour, I think. I was thinking of "faking" the cops without actually adding a wanted level at first, but seems like it'd be a problem for missions - you'd have to fake everything else connected to this, which is kinda difficult.
Also there might be problems with "native" wanted level in missions, wanted level in one of the switches to Trevor and everything like that. That depends on how you decide to code it and what option you pick. Maybe you'll come up with something else.