New biomes?

Started by OtioseNexus, July 17, 2016, 06:16:26 PM

Previous topic - Next topic

OtioseNexus

So I posted this request thread but had no takers. So I've decided to try and mod this (in an attempt to fustrate myself).

Are there any mods that add new biomes in world gen that I can look at or any hints and tips? With the wiki down at the moment, taking the modding tuts with it, I'm pretty much gona have to wing it from there.

1000101

Start by looking in the biome defs and Assembly-CSharp.dll for the world generation code.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

OtioseNexus

Well after perusing the .dll file to work out how terrain is generated looks like theres several hard coded sections related to the biomes. I'd rather not mess with that. I'd like for world gen to do some kind of second pass or something, possibly add in a new layer of generation. Something similar to rainfall that defines how urdan like an area is.

Problem is that this would mean adding in whole sections of code in multiple places it seems, for example the WorldRenderer theres several sections you'd need to edit/add to display the new world gen layer. Even working from the existing code copy pasting in this is probably much more then my meager skills could handle, I'm likely to come undone the first bug I hit..

An alternative is to use the already existing building generation and ramp up the amount of structures it generates but that's not likely to give the level of control I'm looking for. This also would add increased numbers of structures all map locations, something I'd like to avoid if I can.

I do remember theres a mod that adds in random structure generation that allows you to blueprint things for it to generate. I could use this as a dependancy and build structures for that, though I don't know if I can increase the amount generated which would be needed for the right look and feel. But beyond that creating new structures etc should be easy enough. This would still have the problem of affecting all landing locations.

Dunno if I'll be able to handle this as I'd like without help. I'll explore the last option for now and see where that takes me.. I should at least be able to produce assets that could be later used with a world gen as I'd like.

RawCode

search for entry point of routine and hook entire routine

OtioseNexus

Quote from: RawCode on July 18, 2016, 07:03:46 PM
search for entry point of routine and hook entire routine
Yep.... that made no sense.

I am not a coder. I know enough to know I know nothing.

RawCode

work to change it, read books, read source.

you will never learn something without ever trying.

OtioseNexus

Thats rather assumptive and unfair, case and point I was entirely ignorant of how to look at the assemblies before I started this.

I just don't believe it worth my time to try learning coding far beyond my current capability. I'd rather focus on my art, my burning passion.

1000101

I wouldn't say it's assumptive of unfair to respond to "I am not a coder. I know enough to know I know nothing." with "work to change it."

But it all comes down to how much you want to do with programming and how far you want to progress.  If it's not something that you want to spend a lot of effort on, that is perfectly fair and valid, but that doesn't invalidate what RawCode said on how to improve.

Try not to apply tone to a forum comment, written language cannot carry tone and it's tone that determines whether the comment it innocent or dickish.

In any event, it will take some skill with programming to do what you suggested due to the way the game has been written.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

skullywag

Adding biomes has been impossible via conventional methods since forever. I havent looked this alpha to see if that has changed or if CCL could help here. But deffo impossible in A13 modding without CCL.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?