As per the title says, I wish to change a civilian vehicle into a slot that can be used by a modded emergency vehicle.
Before we go any further - is it actually possible for me to do such a thing, or do I have to result to dealing with addon slots?
Now to the issue... 👍
I've put in an emergency motorcycle (using it as a paramedic vehicle), under the civilian slot of 'Ruffian' (which is also a motorcycle). I've copied all the necessary handling lines for the mod etc and put them in the correct file. I have then gone and copied the vehicles line provided with the mod, and put all those lines into the designated 'Ruffian' in the vehicles file. I have also changed the audio hash to 'policeb'. Then here I am thinking all will be fine, so I go in game and test it out. The sirens and ELS lights do work. The sound of the policeb motorcycle is working, thus not having any civilian radio. But there are 2 issues - 1. being that vehicles will not get out the of the way of my motorbike (more so stop in the middle of the road and cause you to go up their rear end but hey 🤣), is there something else I'm missing for this to actually happen? At the moment the ai is just acting like I'm a normal motorbike, and getting the odd honk of aggression... 2. being that I am not able to change liveries in the trainer. I have 2 liveries in the necessary vehicle file, yet only the first one appears in game. I have made sure to have 'FLAG_HAS_LIVERY' in the correct area as that appears to be the line needed going by some research, but that does not seem to make a difference 😞
After doing some troubleshooting myself, I have noticed that you must have 'FLAG_EMERGENCY_SERVICE' in the necessary area. I have left out 'FLAG_LAW_ENFORCEMENT' as one would presume that is only for police vehicles. I also noted that the 'Ambulance' area did not contain those words (I have although tried it in game with the LAW_ENFORCEMENT flag, but still no luck).
Hopefully that all makes sense... I'm one of those few people who read over what they typed several times before clicking that post button 😉
P.S. On a little side note - is there a way to stop this particular vehicle from spawning in game? I'm saying this as in a number of areas, I'm seeing quite a few spawn on the side of the road. When in reality, there are not that many in real life 🤣...any help would be massively appreciated!