unorthodox-paradox / omsi_2_csb_ai_enhancements

AI enhancements for CSB vehicles
1 stars 0 forks source link

Generify script base #34

Open unorthodox-paradox opened 5 years ago

unorthodox-paradox commented 5 years ago

Have all supported vehicles share the same script base. Handle vehicle-specific functionality via different const- / .cti-files or adapter macros a la UCHill. This would dramatically lessen the effort required to integrate with new vehicles, in terms of script adjustment, and also considerably improve maintainability. Nevertheless, the initial investment is very high, and presupposes, among other things, that we become intimately familiar with components such as those of the engine and transmission, that by far exceed both our knowledge and the project's scope. Furthermore, the inevitable implicit cost of reducing script work at the expense of .bus- / model-config work should not be underestimated.