Pierre
I am continuing my experimenting with your towers and manager rules and have a question I'm not able to solve. Within the Tower Manager there is an option "set tower path assignment" to ai only. I only see this option when trainz (and tower manager) is running. Is there a way to make "ai only" the default while editing/creating a session?
Thanks
Harold
Hi Harold.
Each tower (either standard IT or EIT) has an option flag for path auto assignment which can either be set to none, ai only, external only, ai then external, or external then ai. This flag drives how the tower will search a path when a train approaches a signal (at 0.5 km from it) : ai designating the internal N3V routine for ai auto path assignment, external designating an external listener rule like Mission Code Management.
The EIT Manager enables to set ou change this flag both under surveyor or in driver mode, but you should take care that external components listeners like MissionCode Manager may need some specific value for this flag and will enforce its value. So you may have set this value under surveyor using the IT Manager, but you may have another value while in driver mode due to some scripted components enforcing the value they need to work.
For me this value is more an option available for scripted listeners rules (or other scripted components) than an option for the end user. It is available in EIT Manager but I have only use it to look at its setting and check the listeners rules have set the correct value. I have never set a specific value under surveyor.
For your information the default value is ai then external, which means that auto path searching is first done using the internal N3V module (that finds path only for DriveTo/NavigateTo driver commands or similar - do not work for autopilot or autodrive driver command) and if no path has been down by external listener rules in the order they are listed in the session rules.
Hope this helps.
Pierre.