Dispatch System - V2
#1
Star 
[Image: Fealess_Dev.png]


Hello Everyone!

Because I hadn't much time I created a special update for the dispatch system as an excuse.
I included some exclusive features. I will explain the entire system below because everything changed a bit. Also some features that already existed.

I  remade a whole lot of the systems to make them a bit better.


This update is still for the job Nexus Desk Secretary. It will give you the ability to play as Dispatcher.

With the command "/dispatch" or if you press F6 you can switch into the "Dispatch mode"
Your job will then change to "Dispatcher"
If there is a dispatcher every "/request", "/hrequest", "/police", "/fireman", "/paramedic" will be sent to the dispatcher instead of shown in the radio.
The commands "/distress", "/panic" and "/backup" are still sent in the radio but are additionally shown in the dispatch menu.
For panic and distress calls a sound will be played for everyone from the Government. For all of these commands, a 10 seconds cooldown was added.

If you then press F6 again the following menu will open:


[Image: JaWqyz2.png]

You will see every emergency request and panic alert in this menu and can assign units to it.
The services that are shown:

- Police Officer
- Undercover Officer
- Police Sergeant
- SRU Unit
- SRU Sergeant
- Fire Unit
- EMS Unit


Then you are able to pick you emergency, choose the units you want to assign and one out of four codes.
The codes available are:

- Code 1
- Code 2
- Code 3
- Panic Alert

Note: The status "Panic Alert" will assign every available unit to the emergency!


When the submit button is pressed the units are notified. 
You are also able to edit emergencies after you submitted them and assign new units, remove units or change the status.

When you right-click on an emergency request you see different things:

- You see the RP name and the ID from the person who called for help.
- When the emergency has already some units assigned you can set it Code 4.
- You can delete an emergency.

If you set an emergency to Code 4 or remove it the units will receive a notification and their status will set back to available.
An emergency will also set to Code 4 if every assigned unit changed the status to something other than "Responding" or "At Scene"

With the button "Leave Dispatch-Mode" you can leave the job as a dispatcher and return to the Nexus Desk Secretary.
The dispatch mode is also disabled after a respawn.

The emergency requests are limited to 50. If there are more the oldest requests will be removed.



Unit list:

In the second tab, you find an overview of all emergency units in service.
When you right click on a unit you are able to manually set their status.

On the left, you see the number of units available. 
You are also able to reload the page. When you reload the current location and the changed status will update in the list.


[Image: 5U3koOQ.png]



Create emergencys:

In the third tab, you are able to create your own emergencies.

On the left, you can pick your units out of every available unit.
Below you can pick your preferred alert Code.

On the right side, you are able to choose the location. You will find there every location that exists on the server.
The locations are sorted alphabetically.

As the last point, you can add a description below the locations.

[Image: 9JVdom3.png]



Minimap:

In the fourth tab, you will find a map!

The map shows you EvoCity. Every unit's position will be displayed there with an icon from the current service.
Next to the unit, you will find the unit's ID.

The positions are updating every 2 seconds.

[Image: lEqoOcg.png]



Unit status:

The emergency services can open the status menu either with F6 or with "/status"

There they can choose their current status. Selectable statuses are:

- At Station
- Available
- Responding
- At Scene 
- Not Available


[Image: rWf46Nc.png]


Contents:

There is one addon you need to subscribe to in order to see the images on the map:

You can find it here: CityRP Dispatch Icons



Overview:

/dispatch - Enables the dispatch mode or opens the dispatch menu

/status- Opens the status menu to update the current status

F6 - Just a shortcut for both commands. It depends on your job which command will run.

/distress/panic/backup - Will be shown in the radio and in the dispatch menu.

/distress/panic - Play a sound for every person from the Government. 10 seconds cooldown added

/request/hrequest/police/fireman/paramedic - Will be shown in the radio if there is no dispatcher. If there is a dispatcher they will just show up in the dispatch menu. 10 seconds cooldown added.



Credits

AlphaverseMaking the update
DramaLlamaTesting
Ivan HeadshotskiTesting
CoffeeMakling the Icons
@"Arny" - Testing and Bugfixing
PolluxTesting and Bugfixing
AwestruckTesting and Bugfixing


If you find any bugs please post a bug report and feel free to either DM or tag me (zick1337) on discord.
Alphaverse
Ex - Contributor
______________________________________________________________
#2
Good job future Developer Wink
Pollux
Fearless Management
bork
__________________________________________________________________
The following 1 user Likes Pollux's post:
  • Alphaverse
#3
Great work!
The following 1 user Likes Luna's post:
  • Alphaverse
#4
noice
Community Retard
Was I annoying? REP me
[Image: tnatDq3.jpg]
#5
Calling all units, Frost is contrawhoring in the apartments
The following 1 user Likes Forgee's post:
  • Pollux
#6
Great work Alpha!
[Image: KtSNMBw.jpg]
#7
That map thing is quite delicious...
 [Image: ZOfygkU.png]
The following 1 user Likes Zulu's post:
  • Denn1s
#8
Cool Cool
#9
Excellent work bud, an interactive map is amazing.

One little suggestion would be to make the icons a lot smaller than they currently are, as they easily overlap with eachother, and there's no genuine need for them to be that big.

Keep it up!!
Regards,
 
[Image: mEVbpdN.png]
Thanks to Envy for the signature.
The following 1 user Likes Yonno's post:
  • bebosny
#10
Looks like a great job! Hope those who are active enjoy it.
 
[Image: jUcv1hb.png]
 


Forum Jump:


Users browsing this thread: 2 Guest(s)