tAPI [WIP][Released]Terramineral - All about world generation

Boffin

Brain of Cthulhu
Terramineral
Current version: 0.2
POLLS:
What to work on next?

This mod feeds off of your ideas! Help make this mod better by posting your ideas in this thread! Here's the best way to do it:
- An image of your idea (if it's world generation related, building it in game and taking a screenshot of it would be great!)
- A description

Terramineral is a mod I've wanted to make for a while. I've always loved exploring the world of Terraria and seeing new things. I've always wanted mining to be an interesting thing, so I decided to start making a mod called "Gretarria". Didn't go so well. Then I began production on another mod called "Miner's Delight". After about 18 ores were made, I got bored and realised that it was not interesting, just mining ores. So, I made terramineral. I decided to just make 5 ores, and maybe more in the future. Then, I made my first structure. The Mineshaft. It worked surpisingly well, so I decided to make the World Hole. It went really well. Then, I made the idea for the Dweller Citadel. It worked really well, and the beginnings of my mod were ready for release. That is the origin of a mod I hope to become very large and expansive!

Now to the features:

- 5 different ores (Eosphorite, Goethite, Jouravskite, Erythrite and Rhodium)
- For all excluding rhodium, there are respective pickaxes, swords and hamaxes for each ore.
- Ore establisher, crafted with dirt and wood, spawns these ores in your world (will lag a bit)
- Peace moon, a chance to have no monsters in the night. Other than bunnies.
- Two staffs:
+- Rhodium Staff: Projectiles split into four directions once destroyed.
+- Anti-gravity Staff: Makes enemies fly off into space for about 3 seconds.
- Maze statue
- Added lots of mod options, so you can choose what you want to generate in your world (helpful if something keeps crashing)
- Maze stone, doesn't do anything yet, but keep these if you find them! :p
- 4 new aspects of world gen:

jfgYmWZ.png
aSOtQPq.png
uZFY6Bu.png
yIPDmHu.png

God this took a while. Hope you like this one!

Credits:
Re-logic - Making Terraria
tAPI Team - Making tAPI
@Sin Costan - Making the awesome projectile for the rhodium staff (and for just being awesome)
@gmod - The awesome sprite for the maze crawler (and for just being awesome)
Everyone who's given me ideas - Self explanatory

Sorry if I missed you off of the credits, just message me if I did. I hate people not giving proper credit :p

Copy this into your signature / elsewhere! :D
Large:
Code:
[URL=http://forums.terraria.org/index.php?threads/wip-released-terramineral-all-about-world-generation.17213/][IMG]http://i.imgur.com/AEsZdBY.png[/IMG][/URL]
Small:
Code:
[URL=http://forums.terraria.org/index.php?threads/wip-released-terramineral-all-about-world-generation.17213/][IMG]http://i.imgur.com/0Zd98tT.png[/IMG][/URL]

Here's what it looks like:
0Zd98tT.png

Version 0.2!
[Download]
 
Last edited:
CHANGELOG 0.2:

- Added lots of mod options, so you can choose which things you want to generate. You can also pick the colour of the maze you want to generate here. If you don't know how to access mod options, enable Terramineral, reload your mods, then click Terramineral and a yellow text on the left should say "Mod Options". Click that to change the settings.
- Added THE MAZE
Maze has lots of interesting features, is completely random, has sort of random loot (each chest of 5 has a specific purpose, one for maze stone, one for statue, etc.) and has random books and cobwebs and the occasional skeleton. It will spawn as the last thing in the world and takes about a second. The logic behind it is mad. Read the code if you want :)
- Added the new NPC for the maze, the "Maze Crawler". Thank you GMod for the awesome sprite, though I did make it darker for contrast reasons! Don't hurt me!!! :p
 
Last edited:
Terramineral
Current version: 0.1
Welcome to the main thread for terramineral!
This mod feeds off of your ideas! Help make this mod better by posting your ideas in this thread! Here's the best way to do it:
- An image of your idea (if it's world generation related, building it in game and taking a screenshot of it would be great!)
- A description

Terramineral is a mod that is based off of world generation. There are currently around 15 items in the mod, mainly due to the 5 ores in the game. These ores are similar to copper, iron, silver and gold, but always spawn in the world. There is an item which allows you to spawn ores in your world, crafted with dirt and wood, but this is supposed to be an item you can make if you want to get the ores in your existing world (if you want to ruin your caves, then go ahead. I can't find a very good way of monitoring it. So, I recommend using it once and then leaving it.) The ores are called Erythrite, Jouravskite, Eosphorite, Goethite and the ultra rare Rhodium. If you think Rhodium is too rare, let me know.

Now to the features:
- 5 different ores
- For all excluding rhodium, there are respective pickaxes, swords and hamaxes for each ore. The top tier is Jouravskite, which is stronger than a deathbringer pickaxe
- Ore establisher, crafted with dirt and wood, spawns these ores in your world (will lag a bit)
- Peace moon, a chance to have no monsters in the night. Other than bunnies.
- Two staves:
- Rhodium Staff: Projectiles split into four directions once destroyed.
- Anti-gravity Staff: Makes enemies fly off into space for about 3 seconds.
- 3 new aspects of world gen:

jfgYmWZ.png

There's usually about 2 on a small world, so maybe 3 on medium and 4 on large!
NNYbEYX.png
uZFY6Bu.png

Download Link 0.1:
[Download to support!] [Direct Download]
Wow That was some awesome world stuff and ore , nice mod
 
Just wanted to ask your opinions on the new stuff for the dweller citadel. I decided to create a storage building, with lots of loot! It's not necessarily good loot, and not all of the chests contain stuff, but about 6 to 7 do (as stated in preview below). There are also platforms, which extend across until they hit a block.

I'm trying to make some more unique types of buildings, with the hope of extending it over across a hundred+ blocks. I aim to make at least 3 unique ones, and have a random amount of buildings between 5 and 8!

Here is the new stuff I've made:
l8wJFrM.png
 
Just wanted to ask your opinions on the new stuff for the dweller citadel. I decided to create a storage building, with lots of loot! It's not necessarily good loot, and not all of the chests contain stuff, but about 6 to 7 do (as stated in preview below). There are also platforms, which extend across until they hit a block.

I'm trying to make some more unique types of buildings, with the hope of extending it over across a hundred+ blocks. I aim to make at least 3 unique ones, and have a random amount of buildings between 5 and 8!

Here is the new stuff I've made:
l8wJFrM.png

This mod looks really amazing with the generation code! One question... can you teach me how to generate ore/buildings?
 
How do I make it spawn after a certain boss has been defeated?

Create a public static void for the generation of the building (good habit to do that anyway), and when the boss is killed (PostNPCLoot I think), call the building or ore etc. function. :)
 
Last edited:
Holy cow dude. Really really nice!
Just will take the time to ask this here... does anyone know how to code a dirt tile?

I really like this! Hope it grows big some day!
 
Holy cow dude. Really really nice!
Just will take the time to ask this here... does anyone know how to code a dirt tile?

I really like this! Hope it grows big some day!

coding a dirt tile is like almost any other tile. If you're asking about making grass spreadable onto it, I don't think I can help you. Unless you made a texture for each type, and then checked if any of these grass blocks are in the vacinity, and if a rng decides to, replace the block with grass. Pain, but maybe doable! :D
 
Alright, who voted on the poll but never gave me their new idea? Hmm? Was it you?! HMMMMMMM!?!

Anyway, The new version for terramineral may be out soon! I have now got 3 unique buildings in the dweller citadel, which now, for you, may look like this:
aSOtQPq.png

There are two new potions: The Anti-Gravity potion (different to the gravitation potion, as it inflicts the AntiGrav buff on your enemies when you hit them, and has a 1/10 chance to do so when you hit them) and the Friendly potion (1/30 chance to, make the enemy not able to damage you when you hit them). Are there any more last minute features you'd like to see? PLEASE LET ME KNOW NOW!

Thanks!
- ZeGamingBoffin
 
New version's out, but it's not worthy of a 0.2. The problem with mods like this is that you have to constantly generate worlds, so I wanted to ask you guys. SHOULD I MAKE AN ITEM THAT SPAWNS ALL OF THE TERRAMINERAL WORLD GEN ASPECTS? This would allow you to generate them in your current world. I would have to stress that these things COULD destroy your buildings! Thanks again guys, enjoy the new version!

-niffoBgnimaGehT
 
New version's out, but it's not worthy of a 0.2. The problem with mods like this is that you have to constantly generate worlds, so I wanted to ask you guys. SHOULD I MAKE AN ITEM THAT SPAWNS ALL OF THE TERRAMINERAL WORLD GEN ASPECTS? This would allow you to generate them in your current world. I would have to stress that these things COULD destroy your buildings! Thanks again guys, enjoy the new version!

-niffoBgnimaGehT
I think that would be useful, as for them possibly destroying buildings, people don't HAVE to use the item.
 
This mod is amazing !
I have a few questions about the Dweller Citadel. Do you need to write code for each block to generate in such pattern, or do you make a template of the building and then write the code for it to generate ?
 
Back
Top Bottom