Guide to mapping: Difference between revisions

1,414 bytes added ,  23:27, 6 January 2015
Add super rough guide to shuttle mapping
imported>TheWiznard
m (fixed a symbol error)
imported>Oranges
(Add super rough guide to shuttle mapping)
Line 274: Line 274:


To fix this problem you need to close dream maker (save the project first, obviously). Open your map (.dmm) file in a text editor, such as notepad or notepad++. Search (ctrl+f) through the file for step_x and step_y and remove any reference to it. Once no more step_x or step_y -es are found in the file, save it and open it in dream maker once again. Compile the code and movement should work fine once more. Go to [[Community|the development IRC]] if you need more help.
To fix this problem you need to close dream maker (save the project first, obviously). Open your map (.dmm) file in a text editor, such as notepad or notepad++. Search (ctrl+f) through the file for step_x and step_y and remove any reference to it. Once no more step_x or step_y -es are found in the file, save it and open it in dream maker once again. Compile the code and movement should work fine once more. Go to [[Community|the development IRC]] if you need more help.
==Shuttles==
  12:20 <%tkdrg> basically there's 3 types of shuttle dock
  12:21 <%tkdrg> stationary, transit and mobile
  12:21 <%tkdrg> stationary == places where the shuttle can dock
  12:21 <%tkdrg> transit == transit
  12:21 <%tkdrg> mobile == the place with the actual shuttle
  12:21 <%tkdrg> so you'd have a transit dock in the transit area
  12:21 <%tkdrg> 2 stationary docks, one in centcomm and the other one in the station
  12:21 <%tkdrg> and 1 mobile dock, in centcomm for most shuttles (apart from mining)
  12:22 <%tkdrg> these are selected by ID eg id = "cargo_away" id = "cargo_transit"
  12:22 <%tkdrg> basically you need to create those docks
  12:22 <%tkdrg> and set their bounding boxes
  12:22 <%tkdrg> the bounding boxes can be set with varediting on the docks
  12:23 <%tkdrg> you need to varedit height, width, dheight and dwidth
  12:23 <%tkdrg> these are offset by the dir so do keep that in mind, eg if dir == 2 then width goes from EAST to WEST
  12:23 <%tkdrg> if dir == 4 then width goes from NORTH to SOUTH and dwidth/dheight are offsets from the lower-left corner of the plane switched to the dock's dir
  12:24 <%tkdrg> so basically you just need to set those 5 vars and done
  12:24 <%tkdrg> also create shuttle plating under the engine and turn all existing plating to shuttle plating
  12:24 <%tkdrg> the new shuttle controller will only move shuttle tiles


[[Category:Guides]] [[Category:Game Resources]]
[[Category:Guides]] [[Category:Game Resources]]
{{Contribution guides}}
{{Contribution guides}}
Anonymous user