Page 1 of 1

Question about traffic lights (semaphores)

Posted: 29 Jun 2016 13:09
by Xaos
Hello, I'm new on editing ETS2 and i want to know how to add semaphore?
When I put on the road the light are white :?
Someone, can help me ? :D

Re: Question about traffic lights (semaphores)

Posted: 31 Jul 2016 06:34
by Jakov1522
Xaos wrote:Hello, I'm new on editing ETS2 and i want to know how to add semaphore?
When I put on the road the light are white :?
Someone, can help me ? :D
Its easy,just click on red node of prefab (with item properties ON )Check use semaphores,and,u are done! ;)

Re: Question about traffic lights (semaphores)

Posted: 09 Aug 2016 20:41
by EG0611
I have a more deep question. How I can change the signal type?

Re: Question about traffic lights (semaphores)

Posted: 09 Aug 2016 21:38
by MandelSoft
What type do you mean? Country or setup?

Re: Question about traffic lights (semaphores)

Posted: 09 Aug 2016 21:49
by EG0611
MandelSoft wrote:What type do you mean? Country or setup?
Both. As you can see https://i.hizliresim.com/6mRZ1k.png when I activate semaphore, I only see this type of signal.

Re: Question about traffic lights (semaphores)

Posted: 09 Aug 2016 22:52
by MandelSoft
That's the default signal model. Traffic lights are directly assigned to countries, so if the prefab nodes are assigned to i.e. Germany, it will get German signals, if available. If not, it will keep on using the default signals. The signal models are defined in "/def/world/semaphore_model.sii". The item name is structured in such a way that you have the item type first, then the signal type and then the country code it is used for. Example, this is the definition for Slovenia (slo):

Code: Select all

tr_semaphore_model : tr_sem_mdl.city.slo {

	name: "city-slo"
	
	model_desc: "/model/traffic_light/slovenia/city_slo.pmd"
	model_coll: "/model/traffic_light/slovenia/city_slo.pmc"

	dynamic: false
}

tr_semaphore_model : tr_sem_mdl.single.slo {

	name: "single-slo"
	
	model_desc: "/model/traffic_light/slovenia/single_slo.pmd"
	model_coll: "/model/traffic_light/slovenia/single_slo.pmc"

	dynamic: false
}
So you need to model those, but this can be a bit tricky if you don't know how the traffic light lamp overlays work. They use some very specific UV system, so stick to that.

If you want to change the setup itself, you have to change the prefab, which is a whole lot more complicated and I'm not going to explain it, since it requires you to know how to model in ZModeler first...

Re: Question about traffic lights (semaphores)

Posted: 10 Aug 2016 05:05
by EG0611
O.O

Thanks Mandelsoft and yes this is a bit hardcore to me. I will just go back mapping.

Thank you anyway :)

Re: Question about traffic lights (semaphores)

Posted: 04 Jun 2018 18:19
by EG0611
More than 2 years ago. This topic saved me while I was working on my own South Bulgaria-Turkey project. Now, 2 years later it again saved me on a completely different project. Thank you Mandelsoft and Promods :) and thank you SCS for not changing its file structure :P

Re: Question about traffic lights (semaphores)

Posted: 11 Nov 2018 11:37
by ONL1NE
Hello, how can i add semaphores on the road? Thanks.

Re: Question about traffic lights (semaphores)

Posted: 12 Nov 2018 06:43
by EG0611
You cannot add semaphores to the roads. You can only add them to the prefabs.