Removing AI trucks without trailer - is it possible?

Post Reply
User avatar
bumbumek
Posts: 2414
Joined: 02 Jun 2014 13:14
Location: Poznań, Poland

Removing AI trucks without trailer - is it possible?

#1 Post by bumbumek » 07 Jan 2018 22:25

Hi guys,

among many things, there is something which annoys me very much. AI trucks without trailer - it's just too much of them on the roads. So probably you figured out what I'm gonna ask about :mrgreen: Is it possible to remove all of them, or at least reduce them?

Spn91
Posts: 192
Joined: 13 Aug 2017 13:09
Location: Canada

Re: Removing AI trucks without trailer - is it possible?

#2 Post by Spn91 » 08 Jan 2018 01:56

My opinion is to reduce them.Make them rare,but not too much.

User avatar
Reinhard
Posts: 3128
Joined: 20 Dec 2012 16:46
Location: Nimby, District of Berlin

Re: Removing AI trucks without trailer - is it possible?

#3 Post by Reinhard » 08 Jan 2018 09:01

Add the line "spawn_trailer_count[]: 1" to "/vehicle/traffic_vehicle_type.sii", twice:

Code: Select all

traffic_vehicle_type : traffic.vehicle_type.truck
{
	spawn_trailer_count[]: 1
	tags[]: "road"

	storage_path: "/def/vehicle/traffic_storage_truck.sii"
}

traffic_vehicle_type : traffic.vehicle_type.truck_city
{
	speed_class: truck
	spawn_trailer_count[]: 1

	tags[]: "city_centre"

	storage_path: "/def/vehicle/traffic_storage_truck_city.sii"
}
As always, be aware that other mods can change the same file as well.

EDIT: The second entry (truck_city) isn't really needed right now, as of today there is only one vehicle of that kind in the base, a garbage truck without trailer. If you want that entry or not is up to you.

User avatar
bumbumek
Posts: 2414
Joined: 02 Jun 2014 13:14
Location: Poznań, Poland

Re: Removing AI trucks without trailer - is it possible?

#4 Post by bumbumek » 08 Jan 2018 12:24

Thank you dear Reinhard! :-)

Post Reply

Return to “General discussion about game”

Who is online

Users browsing this forum: No registered users and 11 guests