Recommended Posts

Posted (edited)

i'm trying to learn how to code world generation, but since i didn't have any luck with the guides here (even after updating to the newer format),
i'm trying to use existing worldgen mods as a base. ( this one and this one)

my goal is to create a biome with the forge floor tiles (and possibly adding more after).

after an all nighter of bugs, i managed to make the mod not crash on start. my biome is now here, but however it's invisible. colliders works and borders shows up but the custom tile i'm trying to implement is invisible (the world generation loading screen is also weirdly long). what i understood from searching through the forum is that it might have something to do with the anim/build? i first tried to copy paste from the PvP mod and rename it (which was obviously not a solution), then i tried to use the build renamer to rename the name inside build.bin to the appropriate name. it solved the weirdly long generating screen, but when i checked, the biome was still invisible.

i'm out of solutions and i'm getting desperate, anyone would know how to fix this?
below are screenshots and the main code files.

thank you in advance!

DST mod issue2.png

DST mod issue.png

mod folder.png

DST mod issue3.png

modworldgenmain.lua

modmain.lua

modinfo.lua

tile_adder.lua

lavaafloorturf.lua

room1.lua

Edited by shield angel
details

Share this post


Link to post
Share on other sites
ksaab    33
On 11.07.2018 at 9:24 PM, shield angel said:

i'm out of solutions and i'm getting desperate, anyone would know how to fix this?

The default tile (not noise) texture for The Forge tiles isn't correct (well, it causes some С errors). Use an another tile (again, not noise) texture and it will work fine. You've asked about it in the Custom Tile Adder thread, but the forum didn't notify me. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now