September 18, 2025, 05:01:24 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: [1]

Author Topic: Re-Generated: Change generator health and shield (regeneration)!  (Read 2730 times)

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds

What is this?
This is a plugin that drastically changes the Generator unit in the Generator Gamemode
  • Health based on a linear formula per player
  • Shield based on a linear formula per player
  • Configurable health regeneration (configurable percentage of max health it is allowed regenerate to max and its rate)
  • Configurable shield regeneration (rate)

server sent = "re-generated" & force download
If you are a server host, you can download regen_preload beforehand in the attachment, it will paste several lines under the name [Re-Generated Plugin] in your ini and can configure all values the plugin uses!

Tested with 2-3 friends, two which had the plugin and one that didn't; should work.


please give server sent very please
« Last Edit: June 15, 2014, 08:54:01 am by darthmule »
Logged

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #1 on: June 09, 2014, 03:25:28 pm »

Interesting, I guess. This would need to be server-sent to sync with client though, otherwise it will cause some problems.
Also I would like to point out that this:
Quote
// genStartHP: The static value in the formula, default is 2400 but in this case set to 1250 to account for scaling.
is wrong; the default is actually 2100.

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #2 on: June 09, 2014, 03:30:49 pm »

Interesting, I guess. This would need to be server-sent to sync with client though, otherwise it will cause some problems.
Also I would like to point out that this:
Quote
// genStartHP: The static value in the formula, default is 2400 but in this case set to 1250 to account for scaling.
is wrong; the default is actually 2100.

As testing concluded so far I did not see this problem occur yet.
and I noticed that mistake, however, I will just keep it as it is for now until I add something new.
Logged

Skeletonwitch

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 380
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #3 on: June 09, 2014, 05:36:11 pm »

I want this.  Please update when it is added to server-sent plugin list!
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4864
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #4 on: June 09, 2014, 07:11:06 pm »

if you do decide to make it serversent, make sure the client does some checks so the server dosnt send bogus data to the clients and cause a crash
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #5 on: June 10, 2014, 05:25:44 am »

if you do decide to make it serversent, make sure the client does some checks so the server dosnt send bogus data to the clients and cause a crash

I think the checks included with the Generator object in the first place are well enough.
Logged

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #6 on: June 10, 2014, 07:41:31 am »

I want this.  Please update when it is added to server-sent plugin list!

server-sent version will include a lot more stuff and will be required to be downloaded to other players.
Logged

Skeletonwitch

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 380
Re: Re-Generated: Edit generator maximum health & more! (wip)
« Reply #7 on: June 10, 2014, 12:57:42 pm »

I want this.  Please update when it is added to server-sent plugin list!

server-sent version will include a lot more stuff and will be required to be downloaded to other players.
Yep, players don't mind (I host itemserver, they have to download server sent plugins anyways).
Logged

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds
Re: Re-Generated: Change generator health and shield (regeneration)!
« Reply #8 on: June 10, 2014, 02:42:49 pm »

done
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4864
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Re-Generated: Change generator health and shield (regeneration)!
« Reply #9 on: June 10, 2014, 03:45:50 pm »

i was talking about adding some if(is_real(var)) checks to it so the host cant set generator health to something like "potato"
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

not panda

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
  • not pandaturds
Re: Re-Generated: Change generator health and shield (regeneration)!
« Reply #10 on: June 10, 2014, 03:51:23 pm »

i was talking about adding some if(is_real(var)) checks to it so the host cant set generator health to something like "potato"

its there
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4864
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Re-Generated: Change generator health and shield (regeneration)!
« Reply #11 on: June 10, 2014, 03:54:21 pm »

i was talking about adding some if(is_real(var)) checks to it so the host cant set generator health to something like "potato"

its there
i see, alright then

edit: btw did you pm this to ajf yet?
« Last Edit: June 10, 2014, 03:56:37 pm by arctic »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack
Pages: [1]
 

Page created in 0.029 seconds with 32 queries.