Search found 12 matches

by PsudoSage
Fri Apr 25, 2014 6:03 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

Ive been a bit busy with work for a while, but I am coming up with a fairly nice little system for worldgen. Im actually writing a wrapper/API for modded worldgen. So far I have it so you can simply state a rarity value and then a set of peaks can be generated based on the rarity so it should be sim...
by PsudoSage
Sat Apr 05, 2014 6:51 pm
Forum: Not a bug
Topic: [0.9.3] Graphics loading glitch with modded resources
Replies: 2
Views: 1681

Re: [0.9.3] Graphics loading glitch with modded resources

ok, tyvm, ill look into that
by PsudoSage
Sun Mar 30, 2014 1:45 am
Forum: Not a bug
Topic: [0.9.3] Graphics loading glitch with modded resources
Replies: 2
Views: 1681

[0.9.3] Graphics loading glitch with modded resources

Im making a resource generation mod, I have found a weird glitch with one of my graphics files. The ore is gemstones, and the graphics file was originally called gemstone-ore.png, but when the game loads the ore is invisible (It shows as blue on minimap). If I change the graphics filename to gemston...
by PsudoSage
Sun Mar 23, 2014 9:48 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

Still talking about noise layers, is it possible to state layers that might not exist (like dytech's gems or sand)? If so, what is the actual effect if that layer is not used (because that mod might not be installed), and how to get around the problem if there is one? I mean that if we can take com...
by PsudoSage
Sun Mar 23, 2014 6:15 am
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

If you release it, ill take a look and we can work something out for compatibility to my new metallurgy system ;) Sounds good. I'll do that. I have managed to make dual ore generation work.. kinda. I made a galena style deposit with silver and lead combined. I'm gonna try some noise layer tricks to...
by PsudoSage
Sun Mar 23, 2014 1:23 am
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

I'm going to follow the base mods coding standards as much as possible in terms of naming things. I have had a quick look at fmod and dytechs names and so far the stuff I have set up is already compatible, the only issue I see is a slight change in my gem names so no probs. Looks like it will be pre...
by PsudoSage
Sun Mar 23, 2014 12:34 am
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

If they have the same name across different mods are they automatically compatible (Like minecrafts ore dictionary) or will compatibility need to be added by each mod through an interface? I was thinking of making a resource pack mod that contains just resources and associated items then using that ...
by PsudoSage
Sat Mar 22, 2014 7:15 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

I think that is a possibility, you could either make an ore use the same noise layer as the biters, or have another noise layer thats just influenced by the biter noise layer like the opposite of the 'iron avoid' peak above. Just with increased influence instead of reduced.
by PsudoSage
Sat Mar 22, 2014 6:23 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

I found some other useful tags that may be used for rare ore generation too inside the biter spawner peaks: influence = 0.5, noise_layer = "enemy-base", noise_octaves_difference = -1.8, noise_persistence = 0.5, tier_from_start_optimal = 20, -- These 3 properties are used to keep enemy base...
by PsudoSage
Sat Mar 22, 2014 6:19 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

Thanks for the help guys, I have been having a tinker with this all night. I think I have loosely figured it out, I cant stress loosely enough though. It seems the peaks are all combined to create one final result, which is not what I thought at first. The first peak that's completely random seems t...
by PsudoSage
Thu Mar 20, 2014 7:01 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Re: Noise & Peaks Guide?

Looks like I'll just have to have a stab in the dark with some trial and error. Maybe I'll write a little test mod and post it up with a load of commented code on my findings.
by PsudoSage
Wed Mar 19, 2014 7:24 pm
Forum: Modding help
Topic: Noise & Peaks Guide?
Replies: 27
Views: 9667

Noise & Peaks Guide?

Hi, i would like to get into making a mod for factorio and was wondering if anyone could give an explanation of how the ore generation code works. I have been looking at the code for a few mods to see if I can make sense of it but I don't quite get what all the variables are doing to affect the gene...

Go to advanced search