Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making Space exploration Worth It.
#9
Frank_Stein Wrote:I don't really know how Byond handles maps and shit.

A map file is basically a big text doc. Example from cogmap2:


Code:
"aAG" = (/obj/window/supernorn,/turf/simulated/floor/plating,/area/station/crew_quarters/cafeteria)
"aAH" = (/obj/window/supernorn,/turf/simulated/floor/plating,/area/station/crew_quarters/fitness)
"aAI" = (/obj/window/supernorn,/obj/securearea{desc = "Boxing ring and fitness equipment."; icon_state = "gym"; layer = 30; name = "Barkley Ballin' Gym"; pixel_y = -2; tag = "icon-bio"},/turf/simulated/floor/plating,/area/station/crew_quarters/fitness)
"aAJ" = (/obj/machinery/door/tempfiredoor,/obj/machinery/door/airlock/pyro/glass{name = "Fitness Room"},/obj/disposalpipe/segment{desc = "An underfloor mail pipe."; name = "mail pipe"},/turf/simulated/floor{tag = "icon-wooden-2"; icon_state = "wooden-2"},/area/station/crew_quarters/fitness)

aAG, aAH, aAI, aAJ are coordinates on a grid, =(/stuff) are contents of those coordinates. Some of the tags seem kinda wonky, I should probably read more about them but it usually doesn't seem to matter outside of stuff that calls locate(). Maybe. I guess.

(mail pipes probably should have been a child object instead of a varedit of disposals years ago)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)