After fishing around Dayz code I've found the cfgtowngenerator, which is what rocket used to fill chernarus with junk.
IMPORTANT: for map porters this is a ton of unneeded code, I'd recommend straight up removing all the chernarus & Utes town generator code. Seriously it's a few thousand objects glancing at it.
Anyway the location is Dayz ===> class CfgTownGenerator. He then uses sub class' as the towns.
A snippet from the top is:
I've only just found this code and I'll be trying to decode it after I fix up a few things. Does anyone know of any guides for class CfgTownGenerator??? If not, I'll eventually update this thread with what I learn.
IMPORTANT: for map porters this is a ton of unneeded code, I'd recommend straight up removing all the chernarus & Utes town generator code. Seriously it's a few thousand objects glancing at it.
Anyway the location is Dayz ===> class CfgTownGenerator. He then uses sub class' as the towns.
A snippet from the top is:
class CfgTownGenerator {
class SouthernAirport {
position[] = {4899.9, 2391.19};
size = 400;
class Object0 {
type = "UralWreck";
position[] = {4865.14, 2394.81, 0};
direction = 69;
onFire = 0.138681;
};
I've only just found this code and I'll be trying to decode it after I fix up a few things. Does anyone know of any guides for class CfgTownGenerator??? If not, I'll eventually update this thread with what I learn.