# XXXXXXXXXXXXXXXXXXX london_taxi - london XXXXXXXXXXXXXXXXXXX

traffic_vehicle : traffic.london_taxi.london
{
	accessories[]: .london_taxi.london.chassis
	accessories[]: .london_taxi.london.fwheel
	accessories[]: .london_taxi.london.rwheel

	max_speed: 145
	engine_power: 101
	vehicle_mass: 1975

	sound_move[]: "/sound/traffic/car_diesel_2.soundref"

	spawn_ratio: 0.5
	
	allow_parked: true

	tags[]: urban
	tags[]: taxi
	tags[]: context

	spawn_condition[]: .traffic.london_taxi.london.spawn.condition
	spawn_condition[]: .traffic.london_taxi.london.spawn.condition2

@include "drivers_generic.sui"
}

traffic_spawn_condition: .traffic.london_taxi.london.spawn.condition
{
	# spawn only inside urban areas
	type: area
	str_param[]: "urban"
}

traffic_spawn_condition: .traffic.london_taxi.london.spawn.condition2
{
	# don't spawn inside company areas
	type: city
	str_param[]: "london"
	str_param[]: "croydon"
}

vehicle_accessory: .london_taxi.london.chassis
{
	data_path: "/def/vehicle/ai/london_taxi_tx4/london_taxi.sii"
}

vehicle_wheel_accessory: .london_taxi.london.fwheel
{
	offset: 0
	data_path: "/def/vehicle/ai_wheel/front_16in_steel_london.sii"
}

vehicle_wheel_accessory: .london_taxi.london.rwheel
{
	offset: 0
	data_path: "/def/vehicle/ai_wheel/rear_16in_steel_london.sii"
}

# XXXXXXXXXXXXXXXXXXX london_taxi - baku XXXXXXXXXXXXXXXXXXX

traffic_vehicle : traffic.london_taxi.baku
{
	accessories[]: .london_taxi.baku.chassis
	accessories[]: .london_taxi.baku.fwheel
	accessories[]: .london_taxi.baku.rwheel

	max_speed: 145
	engine_power: 101
	vehicle_mass: 1975

	sound_move[]: "/sound/traffic/car_normal_3.soundref"

	spawn_ratio: 0.5

	allow_parked: true

	tags[]: urban
	tags[]: taxi
	tags[]: context

	spawn_condition[]: .traffic.london_taxi.baku.spawn.condition
	spawn_condition[]: .traffic.london_taxi.baku.spawn.condition2

@include "drivers_generic.sui"
}

traffic_spawn_condition: .traffic.london_taxi.baku.spawn.condition
{
	# spawn only inside urban areas
	type: area
	str_param[]: "urban"
}

traffic_spawn_condition: .traffic.london_taxi.baku.spawn.condition2
{
	# don't spawn inside company areas
	type: city
	str_param[]: "baku"
}

vehicle_accessory: .london_taxi.baku.chassis
{
	data_path: "/def/vehicle/ai/london_taxi_tx4/baku_taxi.sii"
}

vehicle_wheel_accessory: .london_taxi.baku.fwheel
{
	offset: 0
	data_path: "/def/vehicle/ai_wheel/front_16in_steel_london.sii"
}

vehicle_wheel_accessory: .london_taxi.baku.rwheel
{
	offset: 0
	data_path: "/def/vehicle/ai_wheel/rear_16in_steel_london.sii"
}
