Emergency vehicle not spawning
Posted: February 26th, 2021, 5:12 pm
While trying to learn and practice my skills in the editor I encounter this error message as I am trying to spawn police, firetruck and medical AI vehicles:
This is how I defined the vehicle in the folder def
This is how I defined the country
This is how I defined the vehicle in the folder def
Code: Select all
#################################################
########### police
#################################################
country_traffic_info : .country.info.traffic.galon_p
{
object: traffic.galon_p
spawn_ratio: 1.00
}
country_traffic_info : .country.info.traffic.duster.ro_customs
{
object: traffic.duster.ro_customs
spawn_ratio: 1.00
}
########## ambulance
country_traffic_info : .country.info.traffic.crafter_d
{
object: traffic.crafter.d
spawn_ratio: 1.0
}
########## Fire Departement
country_traffic_info : .country.info.traffic.fd_de
{
object: traffic.dagger.de
spawn_ratio: 1.0
}
Code: Select all
country_data : country.data.countryone
{
country_id: 251
name: "CountryOne"
name_localized: "@@countryone@@"
country_code: "CO"
pos: (-55, 25, -1100)
fuel_price: 0.25
lights_mandatory: true
driving_tired_offence: true
time_zone: 180 # +3 hours in minutes
time_zone_name: "@@tz_eest@@"
mass_limit_per_axle_count[]: 19000 # 2-axle vehicle
mass_limit_per_axle_count[]: 26000
mass_limit_per_axle_count[]: 38000
mass_limit_per_axle_count[]: 40000 # 44t containers
}