[Game] Lavaland -- A flat lava mapgen

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

[Game] Lavaland -- A flat lava mapgen

by jas » Thu Aug 01, 2019 19:32

This has probably been done before, but I've started one myself with the intention of added more stuff from Minetest Game.

The code is at http://github.com/jastevenson303/lavaland

Image

Explanation: When player dies in lava, that lava node is replaced with a water source node, and lava cooling occurs.

Image
Image
Attachments
screenshot_20190812_081402.png
(41.86 KiB) Not downloaded yet
screenshot_20190801_075150.png
(222.81 KiB) Not downloaded yet
Last edited by jas on Mon Aug 12, 2019 12:19, edited 3 times in total.
201902221552
 

User avatar
Krock
Developer
 
Posts: 4346
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Game] Lavaland -- A flat lava mapgen

by Krock » Fri Aug 02, 2019 08:12

So the floor is lava now? Adding some random platforms would be funny in PvP to let players fall down into the lava.
>> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Fri Aug 02, 2019 10:35

That is a good idea. I've not done much with mapgen stuff before, so it'd be a good learning opportunity. Thanks!
201902221552
 

Chem871
Member
 
Posts: 930
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Dwaba_Kukai

Re: [Game] Lavaland -- A flat lava mapgen

by Chem871 » Sat Aug 03, 2019 16:25

This is like unternull, but with lava instead of water. Makes falling off your platform more risky :)
What is SCP-055 again? I forgot.
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Wed Aug 07, 2019 06:22

I played on The Sea is My Life server once or twice, I didn't get it but, was that Unternull? Yeah I still haven't gotten to making automatic platforms, or anything with mapgen. I've just been using lava cooling and buckets for land, but I'd like to get into schematics/mapgen stuff.
201902221552
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Thu Aug 08, 2019 15:03

Here's a screenshot:
Image

Does anyone know if it's possible to have floating dungeons generate above y=0 in singlenode?
201902221552
 

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

Re: [Game] Lavaland -- A flat lava mapgen

by paramat » Sun Aug 11, 2019 17:12

> possible to have floating dungeons generate above y=0 in singlenode?

Only possible with an engine change. Dungeons don't actually generate anywhere in singlenode.
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Mon Aug 12, 2019 05:23

Thank you paramat. Some other simulation or emulation of dungeons would be the next best thing, probably.

You commented that I shouldn't have commented out the calc_lighting stuff -- I don't even know what it all does. I didn't do that - yet - because it doesn't seem to make a difference to the visuals of the landscape.

One last thing: You'd commented about lava being light_source 15, but it's minetest.light_max - 1, so 14?

Image

Image

It is slow and seems overly intensive -- I'd chalked it up to my lava sounds ABM.
Attachments
screenshot_20190814_012627.png
(522.98 KiB) Not downloaded yet
screenshot_20190812_012421.png
(260.76 KiB) Not downloaded yet
screenshot_20190812_012437.png
(282.38 KiB) Not downloaded yet
Last edited by jas on Wed Aug 14, 2019 05:28, edited 1 time in total.
201902221552
 

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

Re: [Game] Lavaland -- A flat lava mapgen

by paramat » Tue Aug 13, 2019 17:41

> I didn't do that - yet - because it doesn't seem to make a difference to the visuals of the landscape.

In the issue i wrote that it probably won't make a visual difference, however the light levels of nodes will be wrong, which will cause problems for you later.

> You'd commented about lava being light_source 15, but it's minetest.light_max - 1, so 14?

I can't see where i wrote that in the issue.
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas
 

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

Re: [Game] Lavaland -- A flat lava mapgen

by paramat » Sat Aug 17, 2019 23:14

That looks fine.
You can simply use 'vm:calc_lighting()', no need to enter the minpos and maxpos, in fact it's better not to because if those are left out the correct volume is always used by default.
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Tue Aug 27, 2019 12:31

Can somebody help me? I've got boats that detach after a few seconds, but still receive input from the player. I don't know when it broke, but it's obviously not present in MTG. There are two boats, a mese and wood one, and I tried removing this version of boats for the stock one, and the problem persisted. I tried reverting /sit and /lay, and I tried without sprint/stamina enabled (sprint(player) commented in player/init.lua on_joinplayer), but still the problem remains.

I'm thoroughly confused, so if anyone can offer any insights, advice or assistance here, I would be very grateful and appreciative! Thanks.

Edit: Fixed. Had to do with adding XP while detached. I return if attached on XP add, now, but will try and figure out how to fix that so you still get XP when attached to objects. Thanks for reading.

Edit2: Still seems to be detaching sometimes, not as much -- back to the drawing board.
Edit2a: Another improvement to boats may have made a difference. https://github.com/jastevenson303/Laval ... 116a00a4eb
Edit9: Now I am simply attaching the driver to the boat every single step. Grr.
Attachments
screenshot_20190912_064700.png
(279.36 KiB) Not downloaded yet
screenshot_20190912_063914.png
(235.78 KiB) Not downloaded yet
201902221552
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Fri Sep 13, 2019 12:34

A few updates: Fences/walls tweaked. Packed ice added; fixed gold coin reverse craft; fixed placed written book's dug item not including book's description; fixed up stats a bit (hopefully hunger bug is gone), added inventory to placed bones.

I see one other server is running this game. That's cool! I haven't checked it out, yet, however. Thanks!
201902221552
 

skiphoppy
Member
 
Posts: 26
Joined: Sat Jun 10, 2017 01:50

Re: [Game] Lavaland -- A flat lava mapgen

by skiphoppy » Sat Sep 14, 2019 02:58

jas wrote:I see one other server is running this game. That's cool! I haven't checked it out, yet, however. Thanks!


No, thank YOU! This game is amazing!!!
 

skiphoppy
Member
 
Posts: 26
Joined: Sat Jun 10, 2017 01:50
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Sat Sep 14, 2019 10:08

Alright! Glad you like it, dig the screenshot. I often think about turning stone near water into cobble, making grass appear more easily.

I modified/added some sounds, still a lot of them are missing or need adjusting. Autopickup bug fixed when player has full inventory. Puncher now receives one damage point if target wields a warpstone. The wielder of the warpstone is still immune to punches.

I adjusted levitation, on recommendation of reandh3, making it stiffer. It's subject to further adjustment. skiphoppy, I noticed you're running 5.0.1 minetestserver, which is missing some features used in this game, like levitation.
201902221552
 

skiphoppy
Member
 
Posts: 26
Joined: Sat Jun 10, 2017 01:50

Re: [Game] Lavaland -- A flat lava mapgen

by skiphoppy » Mon Sep 16, 2019 13:10

I really love the game mechanic where minerals appear as lava cools. That needs to get reused in some other games, I think!

And I also really love the need to break down stone in various ways to get what you need: stone near water to break down into mossy cobblestone and then dirt; stone to break down into gravel and then sand when you need to make glass, etc. It makes for a fascinating world where every piece of terrain has a history. It may be prehistory for someone who wasn't on the server from the beginning, but that makes it feel like Star Wars, where giant projects are sitting around completed by previous generations and looking at them makes you speculate how they got there.
 

skiphoppy
Member
 
Posts: 26
Joined: Sat Jun 10, 2017 01:50

Re: [Game] Lavaland -- A flat lava mapgen

by skiphoppy » Mon Sep 16, 2019 13:11

I've noticed a lot of griefers who want to show up and do pvp and then disappear. I disabled pvp on my server - it might be nice to have protection disable pvp in the protected area.

They also seem to enjoy digging the obsidian out from underneath players to make them fall into lava. But that becomes a motivation to use more protection.
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Tue Sep 17, 2019 12:27

Some very good points, skiphoppy! Also I agree about the "history" of the map, where it would seem everything was manually put there.

I intend to add a "chance" value to the mineral generation via lava cooling. Meant to from the beginning - LOL - and it would probably take about as much time as typing this, but still haven't gotten to it yet. I had a mental TODO list that was quite long, but I seem to have misplaced it these last few days.

I had been working sporadically on an autocrafter, that no one asked for. Not a machine, unfortunately, but a formspec to easily select a craftable item, intended for mobile phones. I don't know where that will take me ultimately, but so far it's resulting in a bit of downtime from the game/server.

I had asked before about possibility adding a toggle to claimed areas, such that you may set your area(s) to disable PvP. Instead, I've been considering an emerald warpstone that when placed would disable PvP for an area. I've also considered giving new players a warpstone to wield, and/or at least removing the sword.

This game is really very unbalanced.
201902221552
 

User avatar
jas
Member
 
Posts: 418
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Game] Lavaland -- A flat lava mapgen

by jas » Tue Sep 17, 2019 12:32

skiphoppy wrote:They also seem to enjoy digging the obsidian out from underneath players to make them fall into lava. But that becomes a motivation to use more protection.


This is funny, I didn't suspect this would happen. Some method of immunity from lava would help, like special boots that when equipped make you walk on lava. (I don't know how, but it's interesting to think about.) It would be great of course if the protection lag didn't allow the player to fall at all, of course. And there are solutions out there for moving or even damaging players that dig protection. Very interesting problem. :) Thanks for the comments!
201902221552
 


Return to WIP Games



Who is online

Users browsing this forum: No registered users and 19 guests