Author Topic: [XP] Poison/Regen Overtime  (Read 7313 times)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
[XP] Poison/Regen Overtime
« on: March 31, 2010, 06:28:22 AM »
Poison/Regen Overtime
Authors: game_guy
Version: 1.0
Type: Damage Control
Key Term: Environment Add-on

Introduction

Instead of taking poison damage or getting healed by regen every few steps, you now take it over a certain amount of time.

Features

  • Heal over time
  • Take damage over time
  • Customizable time limit (can be changed in game)

Screenshots

N/A

Demo

N/A

Script

(click to show/hide)

Instructions

In the script. Place under Scene_Debug and Above Blizzard's scripts.

Compatibility

Not tested with SDK.
Tested and works with Blizz-Abs. (In case people are wondering)

This does not add Regen to the default battle system or any custom battle system for that matter. However this does work for Blizz-Abs. Also the timed damage will not work in the default battle system. This is meant to be for on the map.

Credits and Thanks

  • game_guy ~ For making it
  • Fantasist ~ For suggesting it

Author's Notes

Enjoy! :D
In case anyone's wondering, shdwlink did making something called Hot/Dot (Healing over Time/Damage over Time) However I looked through the script and I think his is different from where mine it heals/damages you over x amount of seconds.
« Last Edit: April 03, 2010, 02:56:14 PM by Hellfire's G_G »

Offline Jek

  • Ethereal Devastator
  • ****
  • Posts: 258
  • LV: 11
  • Gender: Male
    • View Profile
Re: [XP] Poison/Regen Overtime
« Reply #1 on: March 31, 2010, 06:48:35 AM »
Awesome stuff!
(first)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Poison/Regen Overtime
« Reply #2 on: March 31, 2010, 11:14:27 PM »
Awesome stuff!
(first)

Haha thanks

Offline Kett Shee

  • Badass
  • Astral Trancist
  • *****
  • Posts: 579
  • LV: 23
  • Gender: Male
  • Stay Zen.
    • View Profile
Re: [XP] Poison/Regen Overtime
« Reply #3 on: April 01, 2010, 12:08:31 AM »
Damn, Jek beat me to it. :V
I love my games with a freshly baked Regen effect.
You're all daft cunts. I love you. <3

Offline Spaceman McConaughey

  • Legit Poo Poo Man
  • Lexima Warrior
  • *******
  • Posts: 2002
  • LV: 46
  • Gender: Male
  • muh murph
    • View Profile
    • Titties, titties, and more titties!
Re: [XP] Poison/Regen Overtime
« Reply #4 on: April 01, 2010, 02:15:58 AM »
Haha, very nice, Ronnie. ;)

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Poison/Regen Overtime
« Reply #5 on: April 03, 2010, 06:57:42 AM »
hey erhm, "initialize" is spelled wrong in Game_system...
maybe yu wants to fix it?
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Poison/Regen Overtime
« Reply #6 on: April 03, 2010, 07:02:46 AM »
hey erhm, "initialize" is spelled wrong in Game_system...
maybe yu wants to fix it?

No its not.

Offline Jragyn

  • Ethereal Devastator
  • ****
  • Posts: 311
  • LV: 20
  • Gender: Male
  • A prodigy... maybe? Hoo hah.
    • View Profile
    • facenbooken.
Re: [XP] Poison/Regen Overtime
« Reply #7 on: April 03, 2010, 10:56:48 AM »
Quote
class Game_System
  attr_accessor :time_wait
  alias gg_system_init_lat_pro initialize
  def intitialize  <------- I think this isn't quite right.
    @time_wait = PROver::TimeWait
    gg_system_init_lat_pro
  end
end

...?
This can't be right, cuz it popped an error when I threw it in my script editor :P
Once fixed, though, it worked as was expected.
« Last Edit: April 03, 2010, 10:58:12 AM by jragyn00 »
A bright light can either illuminate or blind, but how will you know which until you open your eyes?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Poison/Regen Overtime
« Reply #8 on: April 03, 2010, 02:57:33 PM »
Quote
class Game_System
  attr_accessor :time_wait
  alias gg_system_init_lat_pro initialize
  def intitialize  <------- I think this isn't quite right.
    @time_wait = PROver::TimeWait
    gg_system_init_lat_pro
  end
end

...?
This can't be right, cuz it popped an error when I threw it in my script editor :P
Once fixed, though, it worked as was expected.

Well I dont know how a typo got in there. I tested the script before I released it. Oh well. Thanks for noticing. At the first few glances I didn't see the first t there.

Ralphness

  • Guest
Re: [XP] Poison/Regen Overtime
« Reply #9 on: April 30, 2010, 03:27:58 AM »
this is a very nice scipt in my opinion i have been looking for one of these in a while now,
Thanks game_guy