[Mod] Suffocating [1.0] [suffocating]

Post Reply
User avatar
Splizard
Member
Posts: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

[Mod] Suffocating [1.0] [suffocating]

by Splizard » Post

This is a small mod that adds suffocation whenever you are inside sand or gravel.

Minimum Minetest version: 0.4
Depends: default
License: GPLv2/later

Known bug: you can suffocate with your feet XD

Download:
http://splizard.com/minetest/mods/suffo ... ng-1.0.zip
Last edited by Splizard on Sun Sep 28, 2014 04:51, edited 2 times in total.
Games: Builda City, The Hungry Games Mods: Lifters, Snow Biomes and Gates. Also checkout my texture pack Gridtoon!

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Nice!

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

You could probably fix that by checking the decimal portion of players' position (getpos).

You could also try adding +1 to Y, since technically the player is the equiv. of two nodes high, and the stuff would be at/above his head to suffocate.

this + hunger + drowning = mortality pack?
Last edited by mauvebic on Thu Aug 02, 2012 11:25, edited 1 time in total.

User avatar
Splizard
Member
Posts: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

mauvebic wrote:You could probably fix that by checking the decimal portion of players' position (getpos).

You could also try adding +1 to Y, since technically the player is the equiv. of two nodes high, and the stuff would be at/above his head to suffocate.

this + hunger + drowning = mortality pack?
meh the mod just adds damage per second like lava so it's nice and fast.
Games: Builda City, The Hungry Games Mods: Lifters, Snow Biomes and Gates. Also checkout my texture pack Gridtoon!

User avatar
Enki
Member
Posts: 10
Joined: Thu May 08, 2014 13:08
GitHub: Enki4
IRC: Enki
In-game: Enki
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by Enki » Post

Broken download link:

"Unfortunately this file is no longer available, the service has been discontinued. For details, see: http://blog.canonical.com/2014/04/02/sh ... u-one-file"
Libre GNU/Linux distros: GNU.org Free Distros
About other distros (worth reading, especially if you're an Ubuntu user): GNU.org about Common Distros
Bruce Schneier's blog about computer security
My BOINC stats: Enki

User avatar
Splizard
Member
Posts: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by Splizard » Post

Enki wrote:Broken download link:

"Unfortunately this file is no longer available, the service has been discontinued. For details, see: http://blog.canonical.com/2014/04/02/sh ... u-one-file"
Fixed for now.
Games: Builda City, The Hungry Games Mods: Lifters, Snow Biomes and Gates. Also checkout my texture pack Gridtoon!

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by Wuzzy » Post

It’s 404 again … :-(

MykieDoesStuff
Member
Posts: 136
Joined: Sat Aug 16, 2014 02:44

Re: [Mod] Suffocating [1.0] [suffocating]

by MykieDoesStuff » Post

You should add screen blurriness. Then play some gasping air sound when you get out of the suffocation. I haven't check the mod out but these are the idea.
For fast response... send me a PM

User avatar
StarNinjas
Member
Posts: 411
Joined: Wed Mar 14, 2018 00:32
GitHub: starninjas
IRC: StarNinjas
In-game: J1
Location: Terrarca
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by StarNinjas » Post

found a bug:
if you have No-clip on and step into gravel it hurts you. I know you can't really fix that just giving you a heads up.
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by TenPlus1 » Post

This may help, suffocation was added to the features of PlayerPlus mod only when the player's head is inside a solid block: viewtopic.php?t=10090&p=153667

Note: If you are using 'noclip' it wont hurt you.
Last edited by TenPlus1 on Fri Jul 13, 2018 06:46, edited 1 time in total.

User avatar
Splizard
Member
Posts: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

Re: [Mod] Suffocating [1.0] [suffocating]

by Splizard » Post

StarNinjas wrote:found a bug:
if you have No-clip on and step into gravel it hurts you. I know you can't really fix that just giving you a heads up.
There has to be 'some' sort of penalty for using cheats xD
Games: Builda City, The Hungry Games Mods: Lifters, Snow Biomes and Gates. Also checkout my texture pack Gridtoon!

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests