Roadside POIs (Pimp Dream Version)

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:

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]
 
Maybe a way to do it, would be to make a prefab slightly smaller in size to the housing_development_01 or one of those countrytown_business poi's. Then link it that way?

 
Maybe a way to do it, would be to make a prefab slightly smaller in size to the housing_development_01 or one of those countrytown_business poi's. Then link it that way?


I'm not sure I understand how the size of the prefab would influence RWG's placement of a POI in this case.

With the World Editor, I assume folks can make a map with POIs in this position already, if that's what you mean.

 
Yeah the latter.  Because I don't know if when the game places POI's if it has like a minimum size needed to be met before decided it should be placed there.  

 
Last edited by a moderator:
I've longed for roadside POIs ever since A20s new tile system came out. I shake my head everytime I run across a pass n gas that's at the end of a ridiculously long dirt road in the middle of nowhere. Makes absolutely no sense why it wouldn't be right on the highway.

 
Last edited by a moderator:
Seems like they should be able to code the RWG with a new "wilderness roadside" tag for prefabs that would cause those specific POI's to spawn next to - and oriented with - your major roads.  Or - alternatively - have a different kind of 'driveway' part that would tell the RWG that this prefab would be spawned alongside roads.

 
Last edited by a moderator:
Back
Top