User Tools

Site Tools


vehicles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
vehicles [2021/02/05 12:44] justinvehicles [2021/02/05 13:35] justin
Line 33: Line 33:
 {{:assign_vehicle_terrain_type.gif?nolink|}} {{:assign_vehicle_terrain_type.gif?nolink|}}
  
-Note that all tiles must have navigation connected with a walkable path type, 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. Because of navigation paths now being between land and water, you'll need to make sure to set the terrain types for characters to prohibit them from entering “water” tiles.+Note that all [[tile|tiles]] must have [[navigation_and_interaction|navigation]] connected with a walkable path type, even between land and water tiles as in the ship example. The game will take care of determining whether or not a [[character]] or vehicle can move between [[terrain types]].
  
 {{:vehicle_nav_paths_01.png?nolink|}} {{:vehicle_nav_paths_01.png?nolink|}}
  
-If you want a vehicle to be able to interact with characters and objects on adjacent tiles but not allow the player to exit onto those tiles, you can use the "Interact Only" path type. In the example setup below, the player will be able to disembark from the ship while along the ocean shore, but not while travelling down the river since the paths are now "Interact Only" (i.e. the orange lines). However, they will still be able to interact with objects and characters along the riverfor example if a character is standing on the river's edge.+Because of [[navigation_and_interaction|navigation]] paths now being connected between land and water, however, you'll need to make sure to set the [[terrain types]] for your [[character|characters]] to prohibit them from entering the water [[tile|tiles]]. 
 + 
 +{{:assign_character_terrain_type.gif?nolink|}} 
 + 
 +If you want a vehicle to be able to interact with [[character|characters]] and [[object|objects]] on adjacent [[tile|tiles]] but not allow the player to exit onto those [[tile|tiles]], you can use the "Interact Only" path type. In the example setup below, the player will be able to disembark from the ship while along the ocean shore, but not while travelling down the river since the paths are now "Interact Only" (i.e. the orange lines). However, they'll still be able to interact with [[character|characters]] and [[object|objects]] along the river (for exampleif a [[character]] is standing on the river's edge).
  
 {{:vehicle_nav_paths_02.png?nolink|}} {{:vehicle_nav_paths_02.png?nolink|}}
  
 =====Using Vehicles===== =====Using Vehicles=====
- +In-game, the player can enter vehicle by interacting with it as they would normally interact with a scripted [[object]], i.e. left-clicking with the mouse or pressing Space while facing it from an adjacent [[tile]]. Ctrl + Left-Clicking on a valid adjacent [[tile]] with the mouse or pressing Ctrl + Arrow Key while facing 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.+
  
 {{:vehicle_movement.gif?nolink|}} {{:vehicle_movement.gif?nolink|}}
vehicles.txt · Last modified: 2023/01/07 14:47 by justin