Courseplay / ChallengeMode_FS22

Challenge Mode for Farming Simulator 22
GNU General Public License v3.0
1 stars 3 forks source link

Add attribute to vehicle to mark as startVehicle #6

Closed tn4799 closed 1 year ago

tn4799 commented 1 year ago

If a vehicle is marked as a startVehicle it will not count towards the goal. The attribute can be set via a button in the Garage that is shown if you are logged in as a admin of CM (this button still needs to be implemented).

Here is an example on how to mark a vehicle as a starting vehicle: <vehicle filename="data/vehicles/train/locomotive01/locomotive01.xml" id="1" isAbsolute="true" age="21.000000" price="164000.000000" farmId="0" propertyState="0" operatingTime="344450.656250" selectedObjectIndex="5" subSelectedObjectIndex="1" isStartVehicle="true">

tn4799 commented 1 year ago

Button and everything else is now implemented.

Only the translation maybe needs a better text

Tensuko commented 1 year ago

UI LUA Error appeared. No synchronisation of start vehicle (localy it counts). log.txt