This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
vehicles [2020/12/23 10:21] – justin | vehicles [2020/12/23 11:15] – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
(Steps for setting up a vehicle) | (Steps for setting up a vehicle) | ||
- Decide what terrain types the vehicle will be traversing - can it move anywhere characters can normally, restricted to certain types (ships restricted to water), or prohibited from certain types (land vehicle prohibited from water). | - Decide what terrain types the vehicle will be traversing - can it move anywhere characters can normally, restricted to certain types (ships restricted to water), or prohibited from certain types (land vehicle prohibited from water). | ||
+ | |||
- If one of latter two, assign terrain types in the Voxel Editor to appropriate tiles | - If one of latter two, assign terrain types in the Voxel Editor to appropriate tiles | ||
+ | |||
- Create an object model for the vehicle - animations used are " | - Create an object model for the vehicle - animations used are " | ||
+ | |||
- Add object to the map and enable the " | - Add object to the map and enable the " | ||
(Table of vehicle properties: speed, terrain types, and disembark script) | (Table of vehicle properties: speed, terrain types, and disembark script) | ||
+ | |||
+ | - Note that all tiles must have navigation connected, even between land and water tiles, for example. The game will take care of determining whether or not a character or vehicle can move between terrain types. | ||
- In-game, player can interact to enter the vehicle. Ctrl-Left Click or Ctrl + Arrow Key on a valid adjacent tile will cause the player to disembark from the vehicle onto that tile. | - In-game, player can interact to enter the vehicle. Ctrl-Left Click or Ctrl + Arrow Key on a valid adjacent tile will cause the player to disembark from the vehicle onto that tile. | ||
+ | |||
+ | Known Issues: | ||
+ | |||
+ | - Changing maps while the player is in a vehicle | ||
~~NOTOC~~ | ~~NOTOC~~ |