[SOLVED] generating dungeons water vacuum

User avatar
AiTechEye
Member
 
Posts: 744
Joined: Fri May 29, 2015 21:14
Location: Unknown
GitHub: AiTechEye

[SOLVED] generating dungeons water vacuum

by AiTechEye » Wed Jan 13, 2016 08:44

Solved!

Water: i made a ice ore inside the water (replacing 99% of them and abm to replace the last)
Dungeons: replacing cobble textures with stone (looks more like caves)
Vacuum: players that is outside a fake air have to use a spacesuit or will be damaged
Last edited by AiTechEye on Sun Jan 17, 2016 08:52, edited 4 times in total.
 

User avatar
Don
Member
 
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: generate vaccum instand of air?

by Don » Wed Jan 13, 2016 13:52

You would have to do if player is in air then set breath. This would be like drowning.
http://dev.minetest.net/Player

Either that or you could do damage per second which effects the health instead of the breath.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
AiTechEye
Member
 
Posts: 744
Joined: Fri May 29, 2015 21:14
Location: Unknown
GitHub: AiTechEye

Re: generate vaccum instand of air?

by AiTechEye » Wed Jan 13, 2016 16:57

accept it, i made a spacesuit, players without it in the hotbar will lost 8 hp at time.
 

User avatar
paramat
Developer
 
Posts: 3443
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: generating dungeons & water?

by paramat » Sat Jan 16, 2016 07:11

Set the mapgen parameter 'water_level' to -31000 and disable the dungeons mapgen flag.
 

User avatar
AiTechEye
Member
 
Posts: 744
Joined: Fri May 29, 2015 21:14
Location: Unknown
GitHub: AiTechEye

Re: generating dungeons & water? solved!

by AiTechEye » Sun Jan 17, 2016 07:53

solved!
i made a ice ore inside the water (replacing 99% of them and abm to replace the last) and replacing the cobble in Dungeons with stones (looks more like caves)
 


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 1 guest