tModLoader

tModLoader

Advanced World Generation
Dash Dec 3, 2023 @ 7:17am
How do you mod the terraria UI and make the world bigger? (Question on the modding/coding side)
I am somewhat ashamed of asking this and might get flamed, but you only live once I guess. So basically I want to make a content mod, but it requires the world to be bigger than terraria currently allows. And since I want to have everything in one, I thought that maybe adding a bigger world option in the world creation UI would be my best choice. Thing is, I am a beginner and have heard, that messing with the terraria UI is very hard and only experts give a shot at it. I do know some coding and have made some other smaller mods that I decided not to publish, but now I want to commit and make a bigger one. So I thought that maybe asking a professional, I could find help or some tips. Some questions I have are> Where can I find the code for the world creation UI? Is it in the same place, where all the other classic terraria files are, that can be remade (asking, cuz I have remade some in-game objects before, like mainly blocks, tools and gave a shot at npc behaviour, seemed to work, but I just kinda left it be)? How do I code the new size choice into the creation UI? How do I code the world to be bigger? Any info and tips are very very welcome. Thank you in advance <3