You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael Neises edited this page Oct 15, 2024
·
1 revision
There are a variety of ways your vehicle will manifest in the PDA and other menus.
Overview
ModVehicle has the fields
publicvirtualstringDescription=> "A vehicle";publicvirtualstringEncyclopediaEntry=>"This is a vehicle you can build at the Mobile Vehicle Bay. It can be controlled either directly or with a Drone Station.";publicvirtualSpriteEncyclopediaImage=>null;publicvirtualTechTypeUnlockedWith=> TechType.Constructor;publicvirtualstringUnlockedMessage=> "New vehicle blueprint acquired";
Description will appear in the Mobile Vehicle Bay.
EncyclopediaEntry and EncyclopediaImage will appear in the Databank.
UnlockedWith controls what needs unlocked in order to unlock your vehicle. In this example, the vehicle will be unlocked when the Mobile Vehicle Bay is unlocked. If you want to define fragments, you should use TechType.Fragment here.
UnlockedMessage appears when the vehicle is unlocked.