//Semafor zaporowy, jednokomorowy.
//Autorzy: Kudłacz, ZiomalCl

origin (p2) (p3) (p4)
rotate 0 (p5) 0
// model:
node 1000 0 (p1) model 0 0 0 0 sem/glowice/S1Ic_dd.t3d tabl/(p6) Lights 1 endmodel            //glowica 
node 200 0 none model 0 0 0 0 sem/slupy/S2Iml.t3d sem/slupy.dds endmodel       //slup
node 100 0 none model 0 0 0 0 sem/drabinki/D2I.t3d sem/slupy.dds endmodel
node 700 100 none lines 100 50 20 100.0                                                //linia zeby byl maszt widoczny z daleka
0.0 0.0 0.0	0.0 4.0 0.0 
endline
rotate 0 0 0
endorigin

// ZDARZENA ZASADNICZE
event (p1)_changedir putvalues 1.0 none (p2) (p3) (p4) Change_direction 0 0 endevent
event (p1)_sem_info putvalues 1.0 none (p2) (p3) (p4) SetVelocity 0 20 endevent




// uszkodzony semafor - nieoswietlony:
event (p1)_uszk lights 0.0 (p1) 0 endevent

event (p1)_s1 lights 0.0 (p1) 1 endevent