Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Reworked Panic Button
Pollux radio_button_checked
Nerd
Membership
Posts: 105
Threads: 4
Likes Given: 162
Likes Recieved: 106 in 41 posts
Joined: Dec 2016
Reputation: 8
#1
Mar 16, 2019, 08:21 PM
[Image: f65743d6e96bbbc61bbea9eedb87e227.png]
Hello everyone!

I've spent the last few days re-working the panic button to add more functionality and to fix various bugs with it. This project started off as adding simple custom locations and expanded to almost a complete re-work. The core functionality is the exact same, with an GUI menu for those who wish to tweak how the button works.


Bug Fixes

I've fixed several bugs with the panic button, the most noticeable being the locations. I've added several fallbacks to how the panic button obtains its current location. This means the panic button will always now display the correct location unless it is off the map, which it will now correctly display "Unknown Location" or the default location instead of nothing. 

[Image: t6Y6cwT.png]


Custom Locations + Local /IT Message

Support for custom locations has been added, so you can now be more specific with the location of a panic button to help whoever responds. The custom location will display alongside the real location to prevent abuse and can be set in the new menu. Pressing on a panic button will now also display a /it message which only you can see. This is just so you know you've pressed it. 

[Image: D2X9y7p.png]

[Image: 2VlYUrd.png]


New GUI Menu + Model Selection + Custom Recipients

One limitation with the panic buttons is that they've all been the same model and all always send a message to the government. After an interesting discussion with some staff, we decided allowing the owner to select who they want to send the panic message to opens up a bunch of opportunities such as private security and even mafia/gang roleplay (protection money can actually mean something now!). 

New Menu: 

[Image: bcTB9Vo.png]

Pressing Shift + E on the panic button will open up this menu

The menu allows you to easily change the custom location, model and recipients of the panic button. Only the owner or those with prop access can open this menu.

Here's a rundown of what the checkbox options do:

Send to Government Dispatch: Send panic message to the government, as it currently does
Send to Clan Radio: Send panic message to everyone in your clan
Send to Private Radio: Send panic message to everyone on the same /frequency as you

It should be noted that you can send the panic message to all three options at once if you wanted. For example, if I was a legal store owner with a private security service I could select both the Government Dispatch and Private Radio options to alert both at the same time.

Changing the model does pretty much exactly what you'd expect it to do, it also opens up the possibility of a custom panic button model being added in the future.

Current Models:

[Image: xa4gzVK.png]

If you have any suggestions, feel free to post it below or leave a suggestion.

I hope you all like the rework, it took a lot longer than expected.

Credits

@Doctor Internet - Uploads and original panic button
@"Stell90" - Original panic button
@Bambo - Design input
@"Cole_" - Design input
(This post was last modified: Mar 16, 2019, 09:15 PM by Pollux. Edited 7 times in total.)
Night radio_button_checked
Ex-SAHR
Administrator (CityRP)
Posts: 4,194
Threads: 254
Likes Given: 1998
Likes Recieved: 2026 in 803 posts
Joined: Mar 2016
Reputation: 40
#2
Mar 16, 2019, 09:00 PM
Amazing job Pollux, good job!
[Image: f3823daa38.png]
The following 1 user Likes Night's post:
  • Pollux
pufitee radio_button_checked
escaped pigeon
Membership
Posts: 1,086
Threads: 109
Likes Given: 556
Likes Recieved: 808 in 424 posts
Joined: Dec 2017
Reputation: 24
#3
Mar 16, 2019, 09:07 PM
sweet updates pollux u good
[Image: bNevqTZ.png]

[Image: fpJ7oKl.png]
The following 1 user Likes pufitee's post:
  • Pollux
Markus radio_button_checked
Roleplayin' since 2011
Contributor
Posts: 1,773
Threads: 172
Likes Given: 2010
Likes Recieved: 594 in 390 posts
Joined: Aug 2015
Reputation: 13
#4
Mar 16, 2019, 09:15 PM
@Pollux‍ is the new @"Faustin"
[Image: sigs.php?steamid=STEAM_0:1:36038228]
The following 1 user Likes Markus's post:
  • Pollux
Tom* radio_button_checked
Member
Registered User
Posts: 1,329
Threads: 139
Likes Given: 770
Likes Recieved: 889 in 480 posts
Joined: Nov 2016
Reputation: 33
#5
Mar 16, 2019, 09:25 PM
I umm cannot wait until I can use this
The following 4 users Like Tom*'s post:
  • Markus, Night, Pollux, Zaidplays
Taylor radio_button_checked
"You are not torturing people in your office"
Contributor
Posts: 3,097
Threads: 177
Likes Given: 2648
Likes Recieved: 2002 in 1220 posts
Joined: Aug 2015
Reputation: 40
#6
Mar 16, 2019, 09:42 PM
(Mar 16, 2019, 09:15 PM)Markus Wrote: @Pollux‍ is the new @"Faustin"

Okay okay, so you see that guy with the purple name "Faustie", yeah? Now you see that guy with the blue name "Faustin"... you still with me?

NOT THE SAME FUCKING THING

OT: Good work
[Image: 800px-PWRR_Tiger.svg.png]
Have I helped you out? Leave a rep!
The following 3 users Like Taylor's post:
  • Faustie, Markus, Pollux
Jeff Ford radio_button_checked
crazy but funny notwithstanding
Membership
Posts: 648
Threads: 44
Likes Given: 387
Likes Recieved: 366 in 254 posts
Joined: Nov 2017
Reputation: 4
#7
Mar 16, 2019, 10:09 PM
Wow Pollux. You've been working hard.

No lifer.

Ahahaahahahaah.
Just kidding. I am a No Lifer. Help.

Anyways, good work, love it!
"You know, if you don't want to run again, I respect that. But if you don't run because you think it's gonna be too hard or you think you're gonna lose, well, God, Jed, I don't even want to know you." - The West Wing

"I'm fully prepared to live with the consequences of my actions. What I couldn't live with were the consequences of my inactions." - Madam Secretary

Characters

Jeff W. Ford | President of the Federal Republic of Rockford.
Adam Walker | General-Secretary of the Communist Party of Rockford.
Gen. John Wentworth | General of the Army, the Armed Forces of Rockford.
The following 1 user Likes Jeff Ford's post:
  • Pollux
Eddie
Guest
 
#8
Mar 16, 2019, 10:10 PM
Good to see this introduced. 

Keep the updates coming... Its nice to see Contributors getting involved with updates more often!
The following 1 user Likes Eddie's post:
  • Pollux
Jen Away
Stell
Core Staff
Posts: 1,310
Threads: 89
Likes Given: 966
Likes Recieved: 648 in 369 posts
Joined: Apr 2016
Reputation: 11
User is currently away.
#9
Mar 16, 2019, 11:03 PM
Thanks for fixing my shitty code. Surprised you could read it but then again it wouldn't surprise me if you just started from scratch.

It's looking great
The following 1 user Likes Jen's post:
  • Pollux
Night radio_button_checked
Ex-SAHR
Administrator (CityRP)
Posts: 4,194
Threads: 254
Likes Given: 1998
Likes Recieved: 2026 in 803 posts
Joined: Mar 2016
Reputation: 40
#10
Mar 16, 2019, 11:21 PM
(Mar 16, 2019, 09:42 PM)Faustin Wrote:
(Mar 16, 2019, 09:15 PM)Markus Wrote: @Pollux‍ is the new @"Faustin"

Okay okay, so you see that guy with the purple name "Faustie", yeah? Now you see that guy with the blue name "Faustin"... you still with me?

NOT THE SAME FUCKING THING

OT: Good work

[Image: giphy.gif]
[Image: f3823daa38.png]
The following 4 users Like Night's post:
  • Jen, Markus, Pollux, Welker
Ishnifan radio_button_checked
aka vd236
Membership
Posts: 383
Threads: 38
Likes Given: 181
Likes Recieved: 148 in 117 posts
Joined: Sep 2018
Reputation: 3
#11
Mar 16, 2019, 11:28 PM
(Mar 16, 2019, 09:25 PM)Tom_ Wrote: I umm cannot wait until I can use this

you better
Hardcore alcoholic, or alcocore hardholic.
Maybe holiccore hardalco?
[Image: xx4jdGN.gif]
The following 1 user Likes Ishnifan's post:
  • Pollux
Wesley Lawrence radio_button_checked
Veteran
Veteran Member
Posts: 1,171
Threads: 37
Likes Given: 1303
Likes Recieved: 1063 in 602 posts
Joined: Jun 2016
Reputation: 25
#12
Mar 17, 2019, 05:09 PM
Nice, this'll definitely get rid of the confusion around locations!

[Image: 5H73Ev1.gif]
The following 1 user Likes Wesley Lawrence's post:
  • Pollux




Users browsing this thread: