Main Menu

Revive Script

Started by TwoBad, August 03, 2015, 02:13:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TwoBad

As you guys know i modded the revive script to take account of the Medic role.  If he has a MediKit he no longer requires a First Aid kit to get people up.

However, one thing which we have noticed over the last few weeks is this doesn't get the down player back to full health, it just gets him up and he then needs a First Aid kit to get back to full health.

I think this is a little silly and have identified the piece of code responsible, i assume none of you would disagree that when a Medic with a MediKit gets a player up he should be at 100% health?

If so i'll make the change.
The Battle of Damnation Alley, 25th January 2015
\'You are hereby awarded the Military Cross, posthumously, for an act of exemplary gallantry during active operations against the enemy on land.\'
[SIGPIC][/SIGPIC]

OldBloke

Quote from: TwoBad;401980... i assume none of you would disagree that when a Medic with a MediKit gets a player up he should be at 100% health?

Seems very sensible and is acceptable to me.
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

BrotherTobious

Gets my vote mate !!!
"It's hard, but not as hard as Arma!!!" Tutonic
"Over the centuries, mankind has tried many ways of combating the forces of evil... prayer, fasting, good works and so on. Up until Doom, no one seemed to have thought about the double-barrel shotgun. Eat leaden death, demon.." Terry Pratchett

TwoBad

Ok, i've played around with the code so that


  • If a Medic with a MediKit gets a player up they will be at full health.
  • If a play is picked up with a First Aid Kit their health will be at two thirds.

We can easily adjust that if required.
The Battle of Damnation Alley, 25th January 2015
\'You are hereby awarded the Military Cross, posthumously, for an act of exemplary gallantry during active operations against the enemy on land.\'
[SIGPIC][/SIGPIC]

BrotherTobious

I am so impressed with your mad script skills mate

Sent from my Nexus 5
"It's hard, but not as hard as Arma!!!" Tutonic
"Over the centuries, mankind has tried many ways of combating the forces of evil... prayer, fasting, good works and so on. Up until Doom, no one seemed to have thought about the double-barrel shotgun. Eat leaden death, demon.." Terry Pratchett

Tutonic

Excellent work TwoBad. Give yourself a Gold Starâ,,¢, redeemable with Ninja at the LAN for special prizes.
Hero of the Battle Of Chalkeia
"Don\'t worry, none of this blood is mine"



TwoBad

Before you guys get too carried away let's make sure it works in anger first, i've only tested so far on my LAN.  I'll get something on our server later.

As for special prizes from Ninja, i already have the pleasure of his driving on the way up. (And just in case he's listening) which of course is always to a very high standard leaving me fully relaxed to enjoy the festivities.
The Battle of Damnation Alley, 25th January 2015
\'You are hereby awarded the Military Cross, posthumously, for an act of exemplary gallantry during active operations against the enemy on land.\'
[SIGPIC][/SIGPIC]

Tutonic

Ahhh, this is a different type of reward.

Let's just say it involves two pints of Bovril, a rubber chicken and a length of garden hose and just leave it at that.

Sent from my OnePlus One using Tapatalk
Hero of the Battle Of Chalkeia
"Don\'t worry, none of this blood is mine"



BrotherTobious

I am surprised you haven't repressed that memory tut

Sent from my Nexus 5
"It's hard, but not as hard as Arma!!!" Tutonic
"Over the centuries, mankind has tried many ways of combating the forces of evil... prayer, fasting, good works and so on. Up until Doom, no one seemed to have thought about the double-barrel shotgun. Eat leaden death, demon.." Terry Pratchett