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
Last revisionBoth sides next revision
vehicles [2021/02/05 12:54] justinvehicles [2021/02/05 13:36] justin
Line 33: Line 33:
 {{:assign_vehicle_terrain_type.gif?nolink|}} {{:assign_vehicle_terrain_type.gif?nolink|}}
  
-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]]. Because of navigation paths now being 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]].+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|}}
 +
 +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 example, if a [[character]] is standing on the river's edge). 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 example, if a [[character]] is standing on the river's edge).
Line 42: Line 46:
  
 =====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 in the direction of 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