June 08, 2023, 02:40:37 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: Server-sent Hats  (Read 2872 times)

SevereHazard

  • Full Member
  • ***
  • Karma: 9
  • Offline Offline
  • Posts: 318
  • fuck this game
Server-sent Hats
« on: October 18, 2016, 07:32:25 pm »

Thanks Woodneck, and the item creators. I nearly used all the hats you guys created for this.  I didn't do much work since this plugin was originally from Vindicator. I changed a bit of the coding (seriously I did nothing, thank YB, and ajf).

This is a hats plugin. To use it, do the following,
ServerPluginList=hats
ServerPluginsRequired=0

There may be problems with those who have haxxies, hehe xd, deal with it.
« Last Edit: October 19, 2016, 07:53:21 pm by SevereHazard »
Logged

[FR]YB

  • 2013 Haxxy Award Winner
  • *
  • Karma: 28
  • Offline Offline
  • Posts: 642
  • There are 11 people playing holy sh
Re: Server-sent Hats
« Reply #1 on: October 19, 2016, 05:30:56 am »

Quote from: Plugins Page
[Author:] SevereHazard and Vindicator
Nice

this plugin was originally from Vindicator. I changed a bit of the coding
Oh...

ServerPluginsRequired=1
No, it's not required. There's no networking involved, so it shouldn't break anything if a client doesn't download the plugin.
Also, you can download the plugin from the plugins page, unzip it and dump it into your Plugins folder, and it will work. You might want to rename plugin.gml to something like hats.gml however.

Edit: it works

Edit2: I attached a collage so you can see how it looks, you probably will need to fix the offset and size for most of the sprites, and also maybe figure out something to fix the vertical offset due to the walking animation, and the ledge animation (see bottom middle blu heavy :x24: on second screenshot)
« Last Edit: October 19, 2016, 07:15:51 am by [FR]YB »
Logged

SevereHazard

  • Full Member
  • ***
  • Karma: 9
  • Offline Offline
  • Posts: 318
  • fuck this game
Re: Server-sent Hats
« Reply #2 on: October 19, 2016, 05:58:52 pm »

Yea, it works client side also. But wait, what do you mean you don't have to download it. The hat sprites wouldn't load if you skip the download (or am I wrong).
« Last Edit: October 19, 2016, 06:02:51 pm by SevereHazard »
Logged

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: Server-sent Hats
« Reply #3 on: October 19, 2016, 07:12:56 pm »

ServerPluginsRequired=1 forces all clients to have to download the plugin to join th server, instead of giving them the option to connect without the plugin.

Foodls

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 102
  • The Happeist Day
Re: Server-sent Hats
« Reply #4 on: October 20, 2016, 07:12:10 am »

Nice work SevereHazard  :z6:
Logged

Wintertime

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 67
Re: Server-sent Hats
« Reply #5 on: October 21, 2016, 06:44:20 pm »


Well,isn't this perplexing.
Logged

TheJester

  • New Member
  • *
  • Karma: 3
  • Offline Offline
  • Posts: 19
  • bte is drug free and that's the way to be
Re: Server-sent Hats
« Reply #6 on: July 02, 2018, 03:00:44 am »

I'm using this plugin on my server and the players are loving it however some of the hats don't look right.
Logged

Kevin Kuntz

  • Heroic Member
  • ****
  • Karma: -58
  • Offline Offline
  • Posts: 712
  • panda took the kids
    • Rav And Kill Bill
Re: Server-sent Hats
« Reply #7 on: July 02, 2018, 03:18:45 am »

It's broken
Logged
I PEAKED
I PEAKED

Heapons

  • Junior Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 128
  • Just a guy wandering on the internet.
Re: Server-sent Hats
« Reply #8 on: July 02, 2018, 04:40:39 am »

It's basically GG2I's items backpack icons but resized.
Logged

SevereHazard

  • Full Member
  • ***
  • Karma: 9
  • Offline Offline
  • Posts: 318
  • fuck this game
Re: Server-sent Hats
« Reply #9 on: July 02, 2018, 10:42:01 pm »

Feel free to fix it cause im not in the mood
Pages: [1]
 

Page created in 0.051 seconds with 37 queries.