city-generation/Game/Assets/Data/Config/roadgen.xml

23 lines
1.1 KiB
XML
Raw Normal View History

2015-06-03 20:54:22 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RoadGeneratorConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DefaultSegmentLength>24</DefaultSegmentLength>
<HighwaySegmentLength>60</HighwaySegmentLength>
<DefaultBranchProbability>0.2</DefaultBranchProbability>
<DefaultBranchPopulationTreshold>0.12</DefaultBranchPopulationTreshold>
<HighwayBranchProbability>0.01</HighwayBranchProbability>
<HighwayBranchPopulationTreshold>0.4</HighwayBranchPopulationTreshold>
<HighwayBranchDelay>3</HighwayBranchDelay>
<SteepnessLimit>10</SteepnessLimit>
<SlopeLimit>0.448798954</SlopeLimit>
<RoadSegmentAngleLimit>0.7853982</RoadSegmentAngleLimit>
<MinNodeDistance>12</MinNodeDistance>
<RoadSnapDistance>19</RoadSnapDistance>
<MaximumRandomStraightAngle>45</MaximumRandomStraightAngle>
<MaximumBranchAngleVariation>12</MaximumBranchAngleVariation>
<MaximumIntersectingRoads>5</MaximumIntersectingRoads>
2015-06-10 11:43:57 +00:00
<SidewalkWidth>1</SidewalkWidth>
<LaneWidth>1.3</LaneWidth>
2015-06-03 20:54:22 +00:00
<RaiseOffset>0.8</RaiseOffset>
<SidewalkHeight>0.1</SidewalkHeight>
2015-06-10 11:43:57 +00:00
<SideCoverHeight>0.4</SideCoverHeight>
2015-06-03 20:54:22 +00:00
</RoadGeneratorConfig>