Guide to mapping: Difference between revisions

Jump to navigation Jump to search
577 bytes added ,  23:53, 6 January 2015
m
Dwidth+dheight info
imported>Oranges
m (Some more details)
imported>Oranges
m (Dwidth+dheight info)
Line 276: Line 276:


==Shuttles==
==Shuttles==
   12:20 <%tkdrg> basically there's 3 types of shuttle dock
   12:20 <%tkdrg> basically there's 3 types of shuttle dock
   12:21 <%tkdrg> stationary, transit and mobile
   12:21 <%tkdrg> stationary, transit and mobile
Line 299: Line 298:
   12:29 <%tkdrg> so /obj/docking_port/mobile/emergency
   12:29 <%tkdrg> so /obj/docking_port/mobile/emergency
   12:29 <%tkdrg> it's important to remember to use stuff like /obj/docking_port/mobile/emergency and the cargo one whose path i forget
   12:29 <%tkdrg> it's important to remember to use stuff like /obj/docking_port/mobile/emergency and the cargo one whose path i forget
 
===Dwidth and Dheight in more depth===
  12:48 <%tkdrg> oranges: dwidth/dheight is the offset of the docking_port obj from the (0,0) bounding box corner
  12:49 < quiltyquilty> is 0,0 the bottom left corner?
  12:49 <%tkdrg> not always
  12:49 <%tkdrg> on dir = 1 it is
  12:49 <%tkdrg> on dir 2 it's the upper right corner
  <Editor> and so on for each direction
  12:49 < oranges> so dwidth and dheight identify where the bounding box starts relative to the docking port obj
  12:49 < oranges> width and height determine the actual width and height of the bounding box


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

Navigation menu