June 08, 2023, 01:37:34 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: [Client-Side] Notice Icons  (Read 2181 times)

MrRatermat

  • Junior Member
  • **
  • Karma: 7
  • Offline Offline
  • Posts: 179
  • PLUGINS PLUGINS PLUGINS!
    • NO TRUE SCOTSMAN WOULD PLAY GG2 WITHOUT PLUGINS
[Client-Side] Notice Icons
« on: July 12, 2014, 10:21:54 am »

Notice Icons
This plugin simply adds more icons to the notices, such as spectator and autogun.

Affected notifications:
  • "Not enough Nuts 'N Bolts to build!"
  • "Cannot build this close to another building!"
  • "Autogun scrapped"
  • "Player tracking enabled!"
  • "Player tracking disabled!!"
  • Team unbalanced
  • Team balanced





New: Now compatible with cinematic spectator!

Many thanks and credits to Saniblues for pretty much redoing what I just did. (Except the code) :c1:
« Last Edit: April 14, 2018, 03:21:47 pm by MrRatermat »
Logged

cabalier

  • Mega-Weeaboo Extraordinaire
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 1968
  • water
Re: [Clientside] Notice Icons
« Reply #1 on: July 12, 2014, 11:03:33 am »

this actually looks really neat!
which notices are affected?

MrRatermat

  • Junior Member
  • **
  • Karma: 7
  • Offline Offline
  • Posts: 179
  • PLUGINS PLUGINS PLUGINS!
    • NO TRUE SCOTSMAN WOULD PLAY GG2 WITHOUT PLUGINS
Re: [Clientside] Notice Icons
« Reply #2 on: July 12, 2014, 12:19:31 pm »

Updated thread and actually added the attachment..  :z8:
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3493
  • she's never quite as dead as you think
Re: [Clientside] Notice Icons
« Reply #3 on: July 12, 2014, 12:58:49 pm »

This should be in vanilla.
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Atlus

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 511
  • Jihad me at Hello
Re: [Clientside] Notice Icons
« Reply #4 on: July 12, 2014, 06:38:01 pm »

The spectator ones appear to glitch up, cause the game to fail at drawing a sprite that doesn't exist, and crash the game.

Logged
I was Nacirema (American backwards)
America is already backwards, silly.

Saniblues

  • Onion Knight
  • Administrator
  • *****
  • Karma: -1305
  • Offline Offline
  • Posts: 12409
Re: [Clientside] Notice Icons
« Reply #5 on: July 12, 2014, 08:12:50 pm »

My only beef is the fact that the notification bar and the text are monochromatic, while the icons are colored.

I could totally dig some black and white icons, I think I'll make some later.
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  :nah:
Oh, well, you might as well pack up and stop now, because he doesn't like it
I'm bored out of my skull, Lets play a different game!
Lets take a visit down below And cast the world in flames!

Saniblues

  • Onion Knight
  • Administrator
  • *****
  • Karma: -1305
  • Offline Offline
  • Posts: 12409
Re: [Clientside] Notice Icons
« Reply #6 on: July 12, 2014, 11:30:18 pm »


General Notification
Ratman's Playertracking Camera, with and without an Enabled/Disabled border
My Playertracking Camera
Team Imbalance and Balance, respectively (WHICH APPARENTLY DOESN'T USE THE REGULAR NOTIFICATION SYSTEM)
Sentries, with and without the disabled icon
Nuts, for when you're lacking


Hope you don't mind, I'm cheating a little bit by making it a little bit bigger. The small work area is absolutely dreadful, I just couldn't manage while working within that tiny margin.

EDIT:







So what's the verdict, guys and gals?
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  :nah:
Oh, well, you might as well pack up and stop now, because he doesn't like it
I'm bored out of my skull, Lets play a different game!
Lets take a visit down below And cast the world in flames!

cabalier

  • Mega-Weeaboo Extraordinaire
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 1968
  • water
Re: [Clientside] Notice Icons
« Reply #7 on: July 13, 2014, 12:12:34 am »

general notification looks fine
I prefer your playertracking camera to raterm8s, and I like your first ones more than your second ones (so the ones with the "white" film reels on top instead of the "black" ones)
Team imbalance and balance is conceptually cool and I like it
autogun is fine
I don't like nuts and bolts as much because just by looking at that image I can't really tell that the image refers to nuts and bolts, whereas for every other image I know what it is by looking at it
I don't really know how to change it though
like I said before this project is really neat and should be implemented :c1:

ZaSpai

  • Ray Bann's Minion
  • *
  • Karma: 14
  • Offline Offline
  • Posts: 2239
  • "Eeh?! We're just allies!"
Re: [Clientside] Notice Icons
« Reply #8 on: July 13, 2014, 12:16:57 am »

N+B alert could be a bolt with an exclamation

liking your first camera as cab said

How about "can't build sentry here because it's too close to another"?
Logged
Right behind you when you most expect it | classicwell master race

MrRatermat

  • Junior Member
  • **
  • Karma: 7
  • Offline Offline
  • Posts: 179
  • PLUGINS PLUGINS PLUGINS!
    • NO TRUE SCOTSMAN WOULD PLAY GG2 WITHOUT PLUGINS
Re: [Clientside] Notice Icons
« Reply #9 on: July 13, 2014, 10:21:56 am »


General Notification
Ratman's Playertracking Camera, with and without an Enabled/Disabled border
My Playertracking Camera
Team Imbalance and Balance, respectively (WHICH APPARENTLY DOESN'T USE THE REGULAR NOTIFICATION SYSTEM)
Sentries, with and without the disabled icon
Nuts, for when you're lacking


Hope you don't mind, I'm cheating a little bit by making it a little bit bigger. The small work area is absolutely dreadful, I just couldn't manage while working within that tiny margin.

So what's the verdict, guys and gals?

I love it.
« Last Edit: July 13, 2014, 10:47:46 am by MrRatermat »
Logged

MrRatermat

  • Junior Member
  • **
  • Karma: 7
  • Offline Offline
  • Posts: 179
  • PLUGINS PLUGINS PLUGINS!
    • NO TRUE SCOTSMAN WOULD PLAY GG2 WITHOUT PLUGINS
Re: [Clientside] Notice Icons
« Reply #10 on: July 13, 2014, 10:51:44 am »

Updated and plagiarised Saniblue's sprites.

Without permission.
« Last Edit: July 13, 2014, 10:52:02 am by MrRatermat »
Logged

Saniblues

  • Onion Knight
  • Administrator
  • *****
  • Karma: -1305
  • Offline Offline
  • Posts: 12409
Re: [Clientside] Notice Icons
« Reply #11 on: July 13, 2014, 02:49:59 pm »

Also, a note: The Nuts&Bolts icon in the screenshot is different than the one in the image ( ). I just didn't feel the need to fix it, the one in the screenshot is one pixel too low.
« Last Edit: July 13, 2014, 02:50:27 pm by Saniblues »
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  :nah:
Oh, well, you might as well pack up and stop now, because he doesn't like it
I'm bored out of my skull, Lets play a different game!
Lets take a visit down below And cast the world in flames!

MrRatermat

  • Junior Member
  • **
  • Karma: 7
  • Offline Offline
  • Posts: 179
  • PLUGINS PLUGINS PLUGINS!
    • NO TRUE SCOTSMAN WOULD PLAY GG2 WITHOUT PLUGINS
Re: [Clientside] Notice Icons
« Reply #12 on: April 14, 2018, 01:13:37 pm »

Update: Now compatible with GG 2.9. The plugin is now works with my cinematic spectate plugin, and thus shows respective icons for when the cinematic mode is activated or deactivated. I also cleaned up a bunch of code and removed a few obsolete icons.

edit: it took me almost 4 years to respond to what saniblues said in the post above. i also fixed that too.
« Last Edit: April 14, 2018, 01:20:00 pm by MrRatermat »
Logged
Pages: [1]
 

Page created in 0.052 seconds with 36 queries.