yaumeister wrote: ↑12 Apr 2022 11:56
I don't suppose SCS has just renamed the tag to "urban" by any chance? The tag they used for the Crown Vic taxi is
i wish it was that easy, unfortunately i have already tried that and no that did not work.
According to the
SCS wiki the 'area_tag' does the following:
Code: Select all
Limit the road event only to traffic area with certain tag (no tag for no limitation).
The code for 'urban_area' in 'def\world\traffic_rules.sii' has not changed at all in any recent versions and is:
Code: Select all
traffic_rule_data : traffic_rule.urban_area
{
rule: "lane"
str_params[]: "urban_area"
str_params[]: "area"
}
From my understanding it is the 'urban_area' that should match up between the 2 and allow the event and traffic area to link. This is what seems to be not working.
This is the relevant line in the 'journey_events_road_event' file:
Full example from my 'journey_road_event.dwchannels' with the above line to make it only spawn in city areas:
Code: Select all
journey_events_road_event : j_re.dwchanm
{
area_tag: urban_area
max_length: 12 // [m]
min_length: 11 // [m]
layer_min_curve[]: 0.0 // [degree]
layer_max_curve[]: 5.0 // [degree]
max_shoulder_space: 1.5 // [m]
set_idx: 1
traffic_block: false
slow_down_passing: false
bridge_forbidden: true
tunnel_forbidden: true
parents[]: j_re.super_parent # Excludes raol type roads
}
If anybody would like to try investigating this i am more than happy for you to do so and if necessary use the files from my mod to test any ideas and let me know the results.