[Script] No Water Death

8 replies [Last post]
Lyberta
Lyberta's picture
User offline. Last seen 3 years 30 weeks ago. Offline
Joined: 2016-09-10
Posts: 177

I like to use horribly overpowered guns and this means most hogs fly for a long time and drown. So I decided to disable this and make them take all the damage they deserve.

This script makes hogs respawn if they drown and still have health left. They keep the health they had before drowning so if 100 hp hog took 45 damage and drowned, he will respawn with 55 hp.

Download

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

FaTony allegedly wrote:

I like to use horribly overpowered guns and this means most hogs fly for a long time and drown. So I decided to disable this and make them take all the damage they deserve.

This script makes hogs respawn if they drown and still have health left. They keep the health they had before drowning so if 100 hp hog took 45 damage and drowned, he will respawn with 55 hp.

Download


FKING NICE IDEA !!! Big Grin
This can be a walkthrough to defeat Highlander's Domination in online,,,

Hope you can update and make it more fantastic Fun Script next up,,,

MAKE THIS MORE POWERFUL FOR MORE BIGGER GAMEPLAY !!! DEFEAT HIGHLANDERS !!! (i assure you can make this like what i say)

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

sheepluva
sheepluva's picture
User offline. Last seen 5 hours 55 min ago. Offline
Joined: 2009-07-18
Posts: 562

Nice idea.
Some questions:

  • Does this work in both inf. attack mode and normal?
  • What happens if a hog falls into water with no damage taken for various reasons? (jump, invul, portal gun, water rise, etc.)

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

Lyberta
Lyberta's picture
User offline. Last seen 3 years 30 weeks ago. Offline
Joined: 2016-09-10
Posts: 177

sheepluva allegedly wrote:

Nice idea.
Some questions:
  • Does this work in both inf. attack mode and normal?
  • What happens if a hog falls into water with no damage taken for various reasons? (jump, invul, portal gun, water rise, etc.)

  • Yes.
  • He will respawn with the health he had at the start of the turn.

sheepluva
sheepluva's picture
User offline. Last seen 5 hours 55 min ago. Offline
Joined: 2009-07-18
Posts: 562

FaTony allegedly wrote:

  • He will respawn with the health he had at the start of the turn.

Ok thanks. And what happens if there is no land to respawn on left? (sudden death water raised to top). Or is SuddenDeath unavailable in this mode?

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

i see this like the "Al Respawn" Options

If no land is available for spawning,,, it will be a DRAW
I not yet download or testing your his scripts but i see this like my experience testing the game until nothing left to standing on,,, DRAW will be occur (i hope this right in his scripts)

|{

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

Lyberta
Lyberta's picture
User offline. Last seen 3 years 30 weeks ago. Offline
Joined: 2016-09-10
Posts: 177

Yes, draw.

EDIT: Updated the script. Now it properly handles medkits and vampirism.

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

Make it can handle my Chaotic Force too XD

EDIT : My force is the Dark Side !!!

Come to the Dark Side,,, we have cookies .v (disclaimer)

|{

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

Lyberta
Lyberta's picture
User offline. Last seen 3 years 30 weeks ago. Offline
Joined: 2016-09-10
Posts: 177

I've made a new thread for my scripts. The discussion will continue there.

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]