• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Streettile maxdensity?

EvilPolygons

Active member
How exactly is this streettile property evaluated and used? I've searched the forums but found no real info on how RWG uses it.

What does the maxdensity number actually mean? What's the number range? What's the default number if maxdensity isn't specified in rwgmixer.xml?

Any info at all would be appreciated!

 
The maxdensity is as upper bound for the total number of triangles for POIs on the Tile. IIRC, you multiply the number by something like 10,000 or 100,000 to get the maximum number of triangles allowed on the Tile. You can find the triangles count for a POI in the POIs' XML file and it is computed by the Prefab Editor when you save. Mods with Custom Blocks don't always support accurate triangle counts.

This exists for performance reasons. If you go crazy with the Downtown district and pack it full of massive detailed POIs then some players get noticeable lag when turning/panning their camera. In the case of the Downtoan district, TFP added lots of lower-triangle filler POIs to try to get that under control. These days, the district where I run into a constraining maxdensity has been the Commercial district.

Stalltionsden knows a lot about this as the CompoPack has so many POIs in it that he's had to make custom settlements, which had those same issues.

 
The maxdensity is as upper bound for the total number of triangles for POIs on the Tile. IIRC, you multiply the number by something like 10,000 or 100,000 to get the maximum number of triangles allowed on the Tile. You can find the triangles count for a POI in the POIs' XML file and it is computed by the Prefab Editor when you save. Mods with Custom Blocks don't always support accurate triangle counts.


Okay, thanks for the info. Where is this stuff even posted? I couldn't find it anywhere.

 
Back
Top