[Script] News Helicopter script like GTA SA
Is it possible to make a script which makes my Weazel News Frogger (https://www.gta5-mods.com/vehicles/weazel-news-frogger-add-on - pending approval) cruising around the player when he is chased by the police, like it did in GTA SA
@B-Milan you could try adding it to the dispatch meta or one of the meta files. I believe if you did that, then you couldn't lose the cops while in view of the chopper. I also don't think that you have to have snipers on the helicopter. I believe that that is configurable in the dispatch meta. In other words, I don't think that you need a script.
@nathanjamesddg151 oh, okay, thanks where can I find the dispatch.meta in the game files?
@B-Milan it is here: C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\mods\update\update.rpf\common\data\dispatch.meta
@nathanjamesddg151 thanks for the help!
@B-Milan no problem. I always thought a news chopper would be necessary to make it more real. You should add the necessary lines in a readme so that I could copy & paste the lines into my modified dispatch.meta.
@nathanjamesddg151 I tried my best but I couldn't make it spawn do you know anyone who is good in things like this, so I can ask him?
@B-Milan No I don't, maybe @FoxtrotDelta?
@B-Milan ask @Dilapidated, perhaps he can help out
@SkylineGTRFreak Oh yeah, that might work. Is there a news chopper in RDE 3.0? If not, it would certainly make sense to add one.
@SkylineGTRFreak thanks, I'ill ask him
@nathanjamesddg151 I don't think so, because as of now there wasn't any news chopper around. It should be possible to add one flying alongside the police choppers, but don't quote me on that.
@SkylineGTRFreak said in [Script] News Helicopter script like GTA SA:
...It should be possible to add one flying alongside the police choppers, but don't quote me on that.
First, sorry for quoting you on that, second, I'm pretty sure (like 99% sure) that you can add a vehicle to the dispatch meta. I've seen it done before. But what I'm not sure about is if you can change the ped model using the vehicle.
@nathanjamesddg151 sorry no idea.
@nathanjamesddg151 that's what I am wondering as well. Also stop SWATs from spawning in it and/or rappeling
@nathanjamesddg151 said in [Script] News Helicopter script like GTA SA:
I'm pretty sure (like 99% sure) that you can add a vehicle to the dispatch meta.
You can be 100% sure because it can be done, I've added plenty of add-on police cars to the dispatch.meta, and they spawn whenever I get a wanted level. As for helicopters, it can be done too, I've added the Savage to dispatch.meta, and it spawns as well. Adding a news helicopter will work, but it'll be treated as a police aircraft.
In dispatch.meta you can assign a specific driver/npc for a vehicle too, as far as I can remember.
@Akila_Reigns I know, and I think that it being treated like a police helicopter is good. You may be able to escape from the cops, but not the 6 o'clock news. So it is just a matter of being able to change the ped model and remove the sharpshooters/fast ropers.
Creating a variation of the Maverick or the Frogger is good IMO.I didn't read the first post, LOL.
@nathanjamesddg151 Is it possible to remove NPCs having guns? I'm way from my PC, I can't check.
Definitely possible through dispatch.meta.
You can set the helicopter model, the amount of peds inside the helicopter and the model of the peds.
So yeah, giving the helicopter the value "1" would result in having it occupied with one pilot only so you won't have NOOSE agents shooting from the sides.
I'll give it a try the next days - if not today.
Does anyone know a ped model that would fit in as a pilot?
Tried the last hour to get it to work, but whatever I did, it either resulted in a game crash or the chopper simply didn't spawn.
First thing I tried:
Setting up a new spawn group for the chopper occupied with one ped,
dispatch type was PoliceHelicopter, similar to the Polmav
Game crashed on loading screen.
Same as before, but the dispatch type I set now was SwatHelicopter, similar to the Annihilator
(Applies at least to my Police Force mod and most other dispatch.meta mods, not sure if the Annihilator also responds with vanilla dispatch.meta...)
Game crashes after a few minutes of playing, <i>probably</i> while the game tried to spawn the Weazel Frogger, but that's just my guess...
Similar to my 1st try, but now occupied with three peds
(That's default wanted level 3 polmav spawning)
No crash, but the chopper didn't spawn nevertheless.
I don't know what else to try
While using dispatch.meta to do this may work it'd be much better to do this via script. I've talked with @B-Milan about it and wouldn't mind to lend a hand if I get some free time soon. May be a bit though as I have a quite a bit on my plate at the moment.