world map arrows render problem
Posted: Wed Sep 04, 2024 6:37 am
by Retro
so, for some reason, the arrows in the world map render below the path tiles. I do not know what caused this.
My Map.lua
Code: Select all
require("travl")
local wandR = require ("wandR")
wandR.speed = 5
require("xpath")
require("chocomap")

Re: world map arrows render problem
Posted: Wed Sep 04, 2024 10:12 am
by deice
this is caused by chocomap rendering the paths at a higher priority
for a good example of how you can fix this i think the conquest uses xmap, travl and wandr, so you can look at its custom implementations (iirc "xtravl" and "xwandr") to check (should be a pretty simple fix of changing a single number to make the arrows render higher up)
alternatively you could go into chocomap.lua and change PATH_PRIORITY and LEVEL_PRIORITY to be lower, but this might cause other issues depending on the circumstances