Community Forum


Forum Overview >> Scripting

Created04.01.2019 16:00

Andrei Sprinseana (xsenio) 04.01.2019 16:00
Greetings, it is a pity that the developers have removed such scripts as - StationCrane and Train.

Bilbo Beutlin (BBeutlin) 04.01.2019 16:38
Why do you think these are removed?
The LUA docs aren't complete yet, still in work.
Trains are present on current maps. StationCranes should also work as usual.

Jos Kuijpers - GIANTS Software 04.01.2019 18:22
These two classes do not exist anymore.A train now is a RailroadVehicle (subclass of Vehicle), with a whole bunch of specs (including splineVehicle)
StationCrane is also a vehicle, placed by a placeable, which is enterable and cylindered

Andrei Sprinseana (xsenio) 04.01.2019 22:59
Then what placeableType to register stationCrane to load with the map?

Bilbo Beutlin (BBeutlin) 04.01.2019 23:27
See data\placeables\crane\crane.xml and data\vehicles\lizard\crane\crane.xml

Andrei Sprinseana (xsenio) 05.01.2019 09:52
Thanks Bilbo, made as usual vehicle with a registration in vehicles.xml and it all worked. Thanks again!

Note: Log in to post. Create a new account here.