1,784
edits
Changes
Jump to navigation
Jump to search
= Patch: 1.19 = == Recommendations ==
== How to convert map ==
== Changes ===== Traffic-related changes ======= AI vehicle model storage ====
==== AI trailer model storage ====
==== AI vehicle definition ====
==== AI trailer definition ====
==== Road look definition ====
==== Traffic lane definition ====
==== License plate definition ====
==== Country speed limit definition ====
=== Vehicle changes ======= Separate interior model ====
=== Editor changes ===
==== 3D move manipulator ====
==== Grid ====
no edit summary
<ul>
<li> Some new models utilizing the "fr" suffix or prefix are still work in progress and it is likely that they might change significantly in some next patch. For this reason it is recommended that you avoid using them in your mods at this time.
</ul>
<ul>
<li> If your mod overrides <strong>signs.sii</strong> or <strong>sign.dlc_north.sii</strong>, you need to update those files to account for us moving some signs from DLC Scandinavia to base.
</ul>
For each supported vehicle type (currently: <strong><em>car, truck, bus</em></strong>) a separate unit exists in <strong>/def/vehicle/traffic_vehicle_type.sii</strong>. These units contain paths to actual model storage for given vehicle type (e.g.<strong> /def/vehicle/traffic_storage_car.sii</strong>)
For each supported trailer type (currently: <strong><em>semi_trailer</em></strong>) a separate unit exists in <strong>/def/vehicle/traffic_trailer_type.sii</strong>. These units contain paths to actual model storage for given trailer type (e.g.<strong> /def/vehicle/traffic_storage_semi_trailer.sii</strong>)
Property <strong>attachable</strong> is now obsolete. It has been replaced by an array attribute <strong>attachable_trailer</strong>. The array contains unit names (as strings) of all trailer models which can be attached to the given vehicle.
<code>attachable_trailer[]: ""</code>
To allow future features and improvements, the type of the unit defining an AI trailer <strong>CHANGED FROM</strong> <code>trailer</code> <strong>TO</strong> <code>traffic_trailer</code>
<code>trafic_trailer : traffic.trailer.fuel_cistern</code>
The <strong>lane_count_left</strong>, <strong>lane_count_right</strong> and <strong>ai_speed_type</strong> attributes are now obsolete. They were replaced by <strong>lanes_left</strong> and <strong>lanes_right</strong> arrays. (The array items are ordered from the center of the road to the borders) This allows specifying some traffic lane attributes for each lane separately - see "<em>Traffic lane definition</em>"
Traffic lane definitions can be found in <strong>/def/world/traffic_lane.sii</strong>.
The definitions of per-country license plates were moved into separate <strong>/def/country/<country_name>/license_plates.sii</strong> file. It contains separate unit for each vehicle type (car, truck, bus). If more than one unit exists for some type, the game will use the first unit it encounters.
The definitions of per-country speed limits were moved into separate <strong>/def/country/<country_name>/speed_limits.sii</strong> file. It contains separate unit for each vehicle type (car, truck, bus). If more than one unit exists for some type, the game will use the first unit it encounters.
The cabin interior now uses separate model for rendering from external views. That model is defined using new <strong>ext_model</strong>, <strong>ext_variant</strong> and <strong>ext_look</strong> attributes of interior accessory.
<ul>
<li> <span style="background-color: transparent;">The toolbar window and editor window were combined into one.</span>
</li></ul>
<ul>
<li> <span style="background-color: transparent;">Editor contains 3D move manipulator ("gizmo").</span>
</ul>
<ul>
<li> <span style="background-color: transparent;">Editor can render grid when enabled from menu View > Grid.</span>