Difference between revisions of "Area 51/Mapping script"

From Mudlet
Jump to navigation Jump to search
(moving unimplemented area exit names to area 51 subpage)
 
(Hint on status of Mapping script)
 
Line 8: Line 8:
  
 
[[User:Atari2600tim|Atari2600tim]] ([[User talk:Atari2600tim|talk]]) 14:00, 6 October 2022 (UTC)
 
[[User:Atari2600tim|Atari2600tim]] ([[User talk:Atari2600tim|talk]]) 14:00, 6 October 2022 (UTC)
 +
 +
Meanwhile [[Mapping_script]] was merged into [[Manual:Mapper]] so kindly continue there eventually. --[[User:Kebap|Kebap]] ([[User talk:Kebap|talk]])
  
 
=Draw area exit names=
 
=Draw area exit names=

Latest revision as of 21:01, 1 February 2023

This was on Mapping_script and currently the PR for it is not accepted.

4347 - PR accidentally accepted on wrong branch

5456 - PR to add it to development branch

Might need to change this if it gets reworked into the mapper script, or uses new functions instead of room user data. Either way, this isn't currently implemented even on the public test build.

Atari2600tim (talk) 14:00, 6 October 2022 (UTC)

Meanwhile Mapping_script was merged into Manual:Mapper so kindly continue there eventually. --Kebap (talk)

Draw area exit names

When a room connect to another area's room, draw the exit area name on the line end.

  • To not show area names in a room
-- don't show exit:
setRoomUserData(roomid, "room.ui_dontShowAreaExitName", "yes")
  • To move normal exit name a little bit
-- move normal exit a little bit
setRoomUserData(roomid, "room.ui_areaExitNameOffset.south", "20")
setRoomUserData(roomid, "room.ui_areaExitNameOffset.south", "20 20")
  • To move special exit a little bit
-- move special exit a little bit
setRoomUserData(roomid, "room.ui_areaExitNameOffset.northdown", "20")
setRoomUserData(roomid, "room.ui_areaExitNameOffset.northup", "20 20")