zztong
Hunter
There is/was a request on Reddit to related to POIs that got placed alongside of roads. Not like a Wilderness POI that gets its own dirt road, but something like a gas station, convenience store, and maybe a couple of houses. It would be like one of those small exits off of an interstate. A bedroom community, of sorts. Very small. I theorized, maybe a 1-Tile settlement based on the CountryTown district with a trader-less Gateway?
I tried the config (found below) and didn't get the expected results. I got a lot more CountryTowns that were full sized. I assume my configuration has an error, though I haven't been able to spot it. Or, remote chance, perhaps there's an RWG quirk/bug? (Perhaps RWG ignores min/max tiles set to "1"?)
Or, maybe this is better as a Pimp Dream feature request? Maybe the notion of a single Tile, similar to a Gateway Tile, but where a road is assumed to go through it. A "Straight" version and a "Corner" version, I guess. Maybe there could be "T" and "Intersection" versions if RWG could handle joining together major roads.
Here's what I tried (Gateway + 1 Tile) ... that ultimately failed ... this would be in a modlet's rwgmixer.xml file:
I tried the config (found below) and didn't get the expected results. I got a lot more CountryTowns that were full sized. I assume my configuration has an error, though I haven't been able to spot it. Or, remote chance, perhaps there's an RWG quirk/bug? (Perhaps RWG ignores min/max tiles set to "1"?)
Or, maybe this is better as a Pimp Dream feature request? Maybe the notion of a single Tile, similar to a Gateway Tile, but where a road is assumed to go through it. A "Straight" version and a "Corner" version, I guess. Maybe there could be "T" and "Intersection" versions if RWG could handle joining together major roads.
Here's what I tried (Gateway + 1 Tile) ... that ultimately failed ... this would be in a modlet's rwgmixer.xml file:
Code:
[COLOR=#ebe7e3] [/COLOR][COLOR=#ebe7e3]<!-- **************************************************************
Convenience Stop Test
****************************************************************-->[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#ebe7e3]<!-- Make a new kind of settlement -->[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<insertAfter[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/township[@name='oldwest']"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<township[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"convstores"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"spawn_trader"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"false"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</township>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</insertAfter>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#ebe7e3]<!-- Let the CountryTown district be part of the new settlement -->[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<set[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/district[@name='countrytown']/property[@name='district_required_township']/@value"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]countrytown,convstores[/COLOR][COLOR=#e8bd89]</set>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#ebe7e3]<!-- Plug the new settlement into world generation -->[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<insertAfter[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/world[name='tiny']/property[@class='oldwest']"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]class[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"convstores"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"few"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"default"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"many"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"3"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"mintiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"maxtiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</property>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</insertAfter>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<insertAfter[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/world[name='small']/property[@class='oldwest']"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]class[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"convstores"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"few"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"default"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"many"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"3"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"mintiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"maxtiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</property>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</insertAfter>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<insertAfter[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/world[name='medium']/property[@class='oldwest']"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]class[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"convstores"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"few"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"default"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"many"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"3"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"mintiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"maxtiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</property>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</insertAfter>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<insertAfter[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/rwgmixer/world[name='large']/property[@class='oldwest']"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]class[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"convstores"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"few"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"default"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"2"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"many"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"3"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"mintiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]<property[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]name[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"maxtiles"[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]value[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"1"[/COLOR][COLOR=#e8bd89]/>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</property>[/COLOR][COLOR=#ebe7e3]
[/COLOR][COLOR=#e8bd89]</insertAfter>[/COLOR]