• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

Making a character to never drown as an abbility?

Status
Not open for further replies.
That is. I want to make a fish characther wad and I wanted to know if there is some way to make a characther to not to drown in water, like fishes does. Maybe by soc's? any help will be higly apreciated.
 
You'll want to change UNDERWATERTICS in your SOC. This number is represented by tics, where 35 tics equal one second.
 
so you can set it to 999999999999999999999999999999999999999 (ect...) and your character will never drown
 
Actually, Flame, it can, if you wait that long. Not that you will, though... I believe 0 nullifies it.
 
I tought 0 made water a instant death......

Anyway, make a lump in a wad called MAINCFG. In that lump you've gotta type:
UNDERWATERTICS = 9999999999

You can stay under for like forever. Unless you like to be underwater for 16 hours or something.........
 
More like 285714285 seconds.
..
..
Okay, nobody's going to be underwater for THAT long, but it's a better idea to just make it 0.
 
In that case a few wads should be updated if they havn't been already. The metal characters shouldn't drown.
 
I tought it didn't apply to all characters if you putted this in the OBJCTFG lump. (The lump where you make a character able to use in 1P.)
 
Shuffle said:
More like 285714285 seconds.

285714285/60/60/24/7=472.41118551587301587301587301587 weeks

That's over 9 years!
No-one will stay underwater in the game that long.
You would have to leave the game on unpaused for years before they drowned.

Flame_the_hedgehog said:
so you can set it to 999999999999999999999999999999999999999 (ect...) and your character will never drown

999999999999999999999999999999999999999/35/60/60/24/28/13/1000=908483051340194197.33705447991161 milleniums (I think) (according to my calculator)
Is this older than Earth?
 
Not really: I'm assuming it's a 32-bit integer and know that it's signed since it parses -1 so the maximum value is (2^31)-1=2147483647
 
Those are all big numbers, but, maybe, if you turn on Devmode, and enter the water, it wont look pretty.
 
Draykon said:
Put this in a SOC

MAINCFG CATEGORY
UNDERWATERTICS = -1

That will make drowning a physical impossibility. Hurray for -1 nullification!

does the -1 nullification work with other Game tic's? like... staying invincible forever? or having the speed shoes forever?
 
Wait, is there a way to make characters already in the game never drown? I would like to do this with Hyper Sonic because he was immune to drowning in Sonic 3 & Knuckles. Well at least I dont remember getting the 5 second warning after being underwater for about 5 minutes.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top