tAPI WorldGen Plus ~ Why stop at a world when you can have a multiverse?

Discussion in 'Released' started by zetaPRIME, Nov 11, 2014.

  1. zetaPRIME

    zetaPRIME Terrarian

    Finally, after more than a month of waiting for r11 to be public, and almost as long not getting around to doing much beyond idle planning (<.<), I'm finally ready to introduce:

    ~ WorldGen Plus for tAPI ~

    Veterans of the Terraria modding scene may remember this project from back in the days of tConfig; it offered a choice between multiple completely different world types, as well as additional customization and various small tweaks to the standard generation. Unfortunately, to my knowlege nobody ever really made a generator (or even a decorator) back then, so its potential was somewhat wasted at the time. This time around, however, both using the mod and developing for it are significantly streamlined over its tConfig iterations.

    Features:
    - Multiple generators for different world types; modders can easily add their own
    - Custom world sizes; from small to large and anywhere in between (but can be overridden by the generator for extra control)
    - Settings pane for generators to offer further customization
    - Generators can require the selected character to unlock them before use
    - World type is saved with the world, and gets hooks to offer unique gameplay for each type; one could, for example, make a gamemode world generator that applies its own specific rules

    Screenshots:
    ss+(2014-11-11+at+01.00.41).png
    ss+(2014-11-11+at+01.01.14).png

    And finally, download: WorldGen Plus 1.0.1 (goo.gl link for click analytics)

    ~ 1.0.1 ~
    No longer nullrefs on load when there are mods loaded with no assembly
    Reloading mods without restarting no longer causes the create-world menu to derp out

    ~ 1.0.0 ~
    Initial release

    Developer info coming soon; meanwhile, take a peek at the source code, it shouldn't be too hard to figure out!
     
    Last edited: Nov 11, 2014
  2. Coolgum15

    Coolgum15 Spazmatism

    This looks fantabulous!
    But, What do you mean by this --> "Generators can require the selected character to unlock them before use"
     
  3. zetaPRIME

    zetaPRIME Terrarian

    WGP 1.0.1 released; a couple bugfixes, changelog in OP!

    For example, if you have a world type that you want a player to have to unlock by doing some process ingame, you can override IsUnlocked and make it so that its list entry is grayed out and unavailable unless the character you've selected has met certain criteria. This allows for having progression through multiple world types.
     
  4. Sky "Ducky"

    Sky "Ducky" Terrarian

    I cant download, link broken, or attatchment not found
     
  5. Coolgum15

    Coolgum15 Spazmatism

    That's pretty cool! I look forward to trying this out eventually :p
     
  6. zetaPRIME

    zetaPRIME Terrarian

    Post editor apparently doesn't like changing links in place; fixed.
     
  7. Sky "Ducky"

    Sky "Ducky" Terrarian

    Thank you!
     
  8. zetaPRIME

    zetaPRIME Terrarian

    Hmm. It's been awfully quiet around here...

    Anyway, I'm planning on making a generator minipack of gamemode and miscellaneous worldtypes. Any suggestions?
     
    Klokinator likes this.
  9. WavingCookie

    WavingCookie Steampunker

    A mod that makes you unlock generations ?
    This. is. the. best. idea. about. world. gen. ever.
     
  10. Macbuk

    Macbuk Plantera

    If you could make it so that we can set the ores that would spawn, it would be awesome! Great mod overall, I hope you'll add more things to it. :D
     
  11. NegaNote

    NegaNote Terrarian

    How do you access the settings pane to customize the generator? No matter whether I pick "normal", "Flat", or "Void", I can't click the "no generator settings" button as it is grayed out, and I don't know what else to do other than to make a normal world without customization.
     
  12. zetaPRIME

    zetaPRIME Terrarian

    There's no customization implemented yet; that'll come in a future release. The functionality is all there for custom generators, though!
     
  13. iDuck

    iDuck Golem

    Ooh, sweet! I'm gonna get this!
     
  14. Terra M Welch

    Terra M Welch The Destroyer

    I kinda wish this mod let you choose between corruption and crimson, I am sick of having to go through tons of worlds trying to get crimson.
     
  15. Betailas

    Betailas Terrarian

    How to change the world seed?
     
  16. zetaPRIME

    zetaPRIME Terrarian

    Updates with actual options for normal worldgen coming eventually... I've been away for somewhat of a while >.>
     
    Ersatz likes this.
  17. Midnight_Sparkle

    Midnight_Sparkle Terrarian

    Pritty cool idea actually but yeah options like ore vain size, what ores apper and stuff like that would really be awesome
     
  18. CinamonPizza

    CinamonPizza Golem

    One thing I would fix is if you could geat molded ores to spawn... I can never find any with this mod o.e
     
  19. Ghaleon

    Ghaleon Terrarian

    One thing that needs to be considered:

    This mod currently wrecks other mods that attempt to add in their own WorldGen ores. I had this mod running for a while when I first came back. And found out that in the Thorium Mod, which adds new ore types during WorldGen, those ores were not added, because this WorldGen runs differently.

    So, to use this mod, at present, would mean giving up on other mods that alter WorldGen in some way. Unless the mod developers work out something with this mod, in order for their generation to be included with what WorldGen Plus does.

    Although, now that I think about it, that might not work. If there was one generator to enable the Thorium Mod gen-stuff, and one generator to enable worldgen stuff from a different mod, you would be unable to use both. It could cause a lot of conflicts.

    Maybe there needs to be some kind of compatibility options, for any mods that add WorldGen, so if you use this mod to generate your worlds, it will tie in with the others.

    At the moment, I'm somewhat conflicted on this one. I like the idea of having options, but if I'm unable to get the WorldGen from other mods, I will probably favor those instead of this one. I'm not sure really what kind of fix would be best.

    After all, if the Thorium Mod has a world generator built into this, so their ore is generated, and then I had to create a generator to make the Periodic Elements mod I'm working on generate all of it's stuff, you couldn't use both at the same time. So you'd have to start picking and choosing which mods you had.

    I'm new to the scripting stuff. In theory, to me at least, the best way to fix it would be to have the generators chosen here, and then to have another script tied in, to run with ANY generator that is chosen, no matter who has added it. To run checks or something, such as "If Thorium Mod is enabled, run it's ore generation.", then "If X mod is enabled, run it's world generation."

    Or maybe it's too complicated, but if that were the case, people would have to decide whether they want customized worlds, or the ability to use their favorite mods. Which can be a difficult decision.
     
    Kefke, aceper and CinamonPizza like this.
  20. MiraiMai

    MiraiMai Terrarian

    I'm going to assume that it was an oversight on his part, although it could have been on purpose. I can understand wanting to prevent possible incompatibilities, though he should be adding non-tAPI WorldGenTask's to his default generator, at least.