gta-chaos-mod / ChaosModV

Chaos Mod for Grand Theft Auto V
https://gta5-mods.com/scripts/chaos-mod-v-beta
GNU General Public License v3.0
256 stars 97 forks source link

[Suggestion] Effect: Fake Wanted Level #151

Open OHSHIET opened 3 years ago

OHSHIET commented 3 years ago

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:

  1. Cop cars, helicopters don't spawn. They aren't seen on the map, there are no cops. The most boring option, because the fun part here is that the player would be trying to avoid the cops while there are no cops chasing the player.
  2. Cop cars, helicopters don't spawn, but they're seen on the map like "fake cops". The player would be trying to avoid the cops, but it'd be pretty easy to understand at some point the wanted level was fake.
  3. Cop cars, helicopters spawn, they're seen on the map, but they aren't actually aggressive towards the player. They're searching for the player, however it works as if the player had a permanent gray arrow, so players who aren't watching the map could see the cops and it'd more difficult to understand the wanted level is fake.

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.

ProfessorBiddle commented 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.

kolyaventuri commented 3 years ago

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!