My Map.Lua (I have since commented out the chocomap code for now)
Code: Select all
---- Costume Fixes ----
Player.setCostume(CHARACTER_MARIO,"Accurate-SMW-Mario",true)
Player.setCostume(CHARACTER_LUIGI,"Accurate-SMW-Luigi",true)
Player.setCostume(CHARACTER_TOAD,"Accurate-SMW-Toad",true)
Player.setCostume(CHARACTER_WARIO,"SMW-Wario",true)
---- Map Fixes ----
local playerManager = require ("playermanager")
playerManager.overworldCharacters = {CHARACTER_MARIO, CHARACTER_LUIGI, CHARACTER_TOAD, CHARACTER_WARIO}
local travL = require ("travL")
travL.showArrows = false --this is disabled until camlock and travL compatibility is fixed--
local wandR = require ("wandR")
wandR.speed = 5
local mapBorder = require ("lunalua/map/mapBorder")
local map_trans_index = require("lunalua/map/map_trans_index")
---- Experimental Tweaks ----
--local handycam = require("handycam") handycam[1].zoom = 1.25
local pausemenu13 = require ("lunalua/gameplay/pausemenu13")
local jukebox_master = require ("lunalua/map/jukebox_master")
---- Camlock ----
local camlock_master = require("lunalua/map/camlock_master")
--local chocoMap = require ("lunalua/map/chocomap")
--local zones = {
--{-512, 2432, 960, 728, 1.0},--mint island--
--{-3072, 1952, 1408, 1216, 1.0},--lake shroomperior (hub world 1)--
--{2208, 2400, 1056, 1152, 1.0},--DK Island--
--{-2304, 576, 1200, 864, 1.0},--shipbreaker slough--
--{2240, 448, 1600, 1216, 1.0},--relic ravine--
--{-1056, 320, 960, 1216, 1.0},--cursed cryptlands--
--{68, 1280, 960, 892, 1.0},--wario's island--
--{64, -832, 1920, 1312, 1.0},--lost world--
--{-1568, 2432, 1024, 832, 1.0},--Chthonic Crossroads (hub world 2)--
--{-608, 3872, 992, 416, 1.0},--Mushroom Metropolis--
--{-3104, 3552, 1504, 4768, 1.0},--Dreamtartica--
--}
My camlock code, which I have moved to a separate file but has remained otherwise unaltered
Code: Select all
local camLock = require("camLock")
camLock.addZone(-512, 2432, 960, 728, 1.0)--mint island
camLock.addZone(-3072, 1952, 1408, 1216, 1.0)--lake shroomperior (hub world 1)
camLock.addZone(2208, 2400, 1056, 1152, 1.0)--DK Island
camLock.addZone(-2304, 576, 1200, 864, 1.0)--shipbreaker slough
camLock.addZone(2240, 448, 1600, 1216, 1.0)--relic ravine
camLock.addZone(-1056, 320, 960, 1216, 1.0)--cursed cryptlands
camLock.addZone(68, 1280, 960, 892, 1.0) --wario's island
camLock.addZone(64, -832, 1920, 1312, 1.0) --lost world
camLock.addZone(-1568, 2432, 1024, 832, 1.0) --Chthonic Crossroads (hub world 2)
camLock.addZone(-672, 3744, 1120, 608, 6.0) --Mushroom Metropolis