-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I'd like a way to register new on-duty station locations, causing a police station blip to show up there and prompting the user to press E to go on duty. This would allow people who use map mods to go on-duty at custom stations they've added. Now that YMT and YMAP files can be modified, it's possible to actually alter the map directly through OpenIV - for example, I've converted the unused heliport near the marina into a coast guard station for Coastal Callouts and would like to register it as a police station where users can go on duty.
Suggested API call: void CreatePoliceStation(string StationName, string DepartmentName, Vector3 OnDutyPromptLocation, float OnDutyPromptRadius, Camera ZoomOutCam)
- StationName and DepartmentName would be shown as the text when you go on-duty (as existing stations already do)
- OnDutyPromptLocation would be the position the player needs to stand at to trigger the "Press E to go on duty" prompt, and would also be the position of the blip.
- OnDutyPromptRadius would be the distance from the location the player must be within.
- ZoomOutCam would be the camera for the zoom out that happens when you go on duty, just before the screen fades into character selection. Not sure how this works internally, maybe make it a Vector3 or something instead. Some way to choose where the camera goes to when you go on duty.
It would also be nice to register jail dropoff points, although with Arrest Manager being widely used perhaps that's not as important these days.