<osm-script>
<union>
<query type="way">
<bbox-query s="35.33" n="35.91" w="139.45" e="140.20"/>
<has-kv k="highway" modv="" v="motorway"/>
<has-kv k="name" modv="not" v="関越自動車道"/>
<has-kv k="name" modv="not" v="常磐自動車道"/>
<has-kv k="name" modv="not" v="東北自動車道"/>
<has-kv k="name" modv="not" v="中央自動車道"/>
<has-kv k="name" modv="not" v="千葉東金道路"/>
<has-kv k="name" modv="not" v="首都圏中央連絡自動車道"/>
<has-kv k="name" modv="not" v="圏央道"/>
</query>
<query type="way">
<bbox-query s="35.33" n="35.91" w="139.45" e="140.20"/>
<has-kv k="highway" modv="" v="motorway_link"/>
<has-kv k="name" modv="not" v="関越自動車道"/>
<has-kv k="name" modv="not" v="常磐自動車道"/>
<has-kv k="name" modv="not" v="東北自動車道"/>
<has-kv k="name" modv="not" v="中央自動車道"/>
<has-kv k="name" modv="not" v="千葉東金道路"/>
<has-kv k="name" modv="not" v="首都圏中央連絡自動車道"/>
<has-kv k="name" modv="not" v="圏央道"/>
</query>
</union>
<union>
<item/>
<recurse type="down"/>
</union>
<print/>
</osm-script>
関越自動車道とか、常磐自動車道は結果から抜きたかったので、modv="not"で除外しているが、どうしてもゴミが残ってしまう。[TRACK_shuto_revival_project_beta]
AI_FLOOD_PUSH_SPEED=80
AI_FLOOD_PUSH_FORCE=100000
AI_FLOOD_Y_OFFSET=-0.35
AI_FLOOD_SPAWN_DISTANCE=600, 600
AI_FLOOD_SPAWN_RANGE=300, 300
AI_FLOOD_SPAWN_DESPAWN=1600, 1200
AI_FLOOD_MIN_DISTANCE_TO_AI=150
AI_FLOOD_SPAWN_DESPAWNの値で、混み具合を調整できる。大きくすると交通量が減って、減らすと増える。ライバル車が24台の時の設定。; 1:Haneda - K1:Yokohane - K3:Kariba
[MAXSPEED_0]
START=0.000001
END=0.090400
VALUE=160
; Bayshore(Eastbound)
[MAXSPEED_1]
START=0.090400
END=0.174400
VALUE=180
; 9:Fukagawa(Northbound)
[MAXSPEED_2]
START=0.174400
END=0.190778
VALUE=160
; C1(Inner)
[MAXSPEED_3]
START=0.190778
END=0.237022
VALUE=110
; 9:Fukagawa(Southbound)
[MAXSPEED_4]
START=0.237022
END=0.253400
VALUE=160
; Bayshore(Westbound)
[MAXSPEED_5]
START=0.253400
END=0.336500
VALUE=180
; K3:Kariba - K1:Yokohane - 1:Haneda
[MAXSPEED_6]
START=0.336500
END=0.426899
VALUE=160
; C1(Outer) - 1:Haneda
[MAXSPEED_7]
START=0.336500
END=0.500000
VALUE=110
; ------
; 1:Haneda - K1:Yokohane - K3:Kariba
[MAXSPEED_8]
START=0.500000
END=0.590400
VALUE=150
; Bayshore(Eastbound)
[MAXSPEED_9]
START=0.590400
END=0.675000
VALUE=160
; 9:Fukagawa(Northbound)
[MAXSPEED_10]
START=0.675000
END=0.691378
VALUE=160
; C1(Inner)
[MAXSPEED_11]
START=0.691378
END=0.737122
VALUE=100
; 9:Fukagawa(Southbound)
[MAXSPEED_12]
START=0.737122
END=0.753500
VALUE=160
; Bayshore(Westbound)
[MAXSPEED_13]
START=0.753500
END=0.836700
VALUE=160
; K3:Kariba - K1:Yokohane - 1:Haneda
[MAXSPEED_14]
START=0.836700
END=0.927099
VALUE=150
; C1(Outer) - 1:Haneda
[MAXSPEED_15]
START=0.927099
END=0.999999
VALUE=100
[HINT_0]
START=0
END=1
VALUE=0.6
[HINT_1]
START=0.072
END=0.074
VALUE=0.5
全区間にわたって速度制限を指定してやる。STARTとENDの値は、AI Line Helperを使って調べた。一週目分だけ(0-0.500000)までを調べれば、二週目は計算で算出できる。[TRACK_shuto_revival_project_beta]
AI_FLOOD_PUSH_FORCE=100000
AI_FLOOD_PUSH_SPEED=80
AI_FLOOD_Y_OFFSET=-0.35
AI_FLOOD_SPAWN_DISTANCE=600, 300
AI_FLOOD_SPAWN_RANGE=300, 150
AI_FLOOD_SPAWN_DESPAWN=1200, 600
AI_FLOOD_MIN_DISTANCE_TO_AI=100
AI_FLOOD_SPAWN_MIN_DISTANCE_TO_PLAYER=300, 300
[LIGHT_SERIES_1]
DESCRIPTION=Street Lights
ACTIVE=1
MATERIALS=mat_lamp101_head, mat_lamp102_head, mat_lamp801_head, lamp2, lamp3, lamp4, lamp5, mat_lamp201_head, mat_lamp301_head
DIRECTION=0, -1, 0
OFFSET=0, 0, 0
RANGE=35
SPOT=140
SPOT_SHARPNESS=0.3
RANGE_GRADIENT_OFFSET=0.65
CLUSTER_THRESHOLD=4
FADE_AT=650
COLOR=255, 173, 65, 0.006
SINGLE_FREQUENCY=0.7
DIFFUSE_CONCENTRATION=0.15
CONDITION=SUN_SMOOTH
SPECULAR_MULT=1.0
という定義がある。[CONDITION_1]
NAME=SUN_SMOOTH
INPUT=SUN
LUT=(|0=0|88=0|88=1|180=1)
LAG=0.96
とある。
LUT=(|0=1|10=1|10=0|78=0|78=1|180=1)
としたら、期待している動作になった。