Hi Everybody,
A have almost finished my first and only mod which replaces the selected locomotive/wagon in every train on the selected lines to a selected locomotive/wagon.
However i have some problem with some features:
- can not get the amount of money the player has to warn him/her if there are not enough
- can not get the value of the old locomotive/wagon, so i do not calculate it before hand, the replace do it anyway
- if you select a large amount of trains, then the replace lasts for several secs, while the game hangs, i may include a progress bar.
- the replace leaves a second step for the player, it replaces the models, you can see it on the list or the 3d models of the trains, but the price is not correct, yet.. The player has to modify all the trains involved in the replace and press the modify button. No other action necessery, the parts of the trains are correct, just need to press the button. Fortunately you can do this in one step: select all the train, and modify them together, and press the button only once. After this second step, the price of the replace will be correct. I can not do this programatically.
I can live with these, but if anybody could help me with them it would be better.
Please help me.
thx,
Dex