CosyToad
Newcomer
Hey! Not sure if anyone can help with this but I’ll try to be as descriptive as possible. (It’s my first time modding and my first forum post so I apologise in advance if I’m missing any necessary info)
I successfully loaded in a custom location to the vanilla map with working warps to the location.
Added buildings to the location and made an interior for one of them. (Using Tiled / tmx file)
I added the warp function to the door tile which I intended to warp to the interior. The warp action seems to function (screen blacks out for a sec when clicked) but it doesn’t warp me anywhere and smapi says: warp failed: location wasn’t found or couldn’t be loaded.
I tried debug warp to the location and that doesn’t work either, so I guess my content code is wrong because smapi thinks it just doesn’t exist.
I assumed I could basically copy and paste what I did to load my working custom map and just change the file names to that of the interior I want to load, but it doesn’t work. I’ve tried my best to find tutorials or explanations of this but I just can’t seem to find anything.
There are no flagged “problems” within the content in visual studio code.
I also tried putting it underneath the working added location/ outside of the “changes” section, but that doesn’t work either.
photos added. The green ticked box is the working map (outdoors), the red x box is my attempt at loading the interior map which doesn’t work/exist. The name in the content code matches the .tmx file name of the interior map.
I would’ve copied and pasted the text but my laptop is old and won’t connect to my WiFi for some reason
I successfully loaded in a custom location to the vanilla map with working warps to the location.
Added buildings to the location and made an interior for one of them. (Using Tiled / tmx file)
I added the warp function to the door tile which I intended to warp to the interior. The warp action seems to function (screen blacks out for a sec when clicked) but it doesn’t warp me anywhere and smapi says: warp failed: location wasn’t found or couldn’t be loaded.
I tried debug warp to the location and that doesn’t work either, so I guess my content code is wrong because smapi thinks it just doesn’t exist.
I assumed I could basically copy and paste what I did to load my working custom map and just change the file names to that of the interior I want to load, but it doesn’t work. I’ve tried my best to find tutorials or explanations of this but I just can’t seem to find anything.
There are no flagged “problems” within the content in visual studio code.
I also tried putting it underneath the working added location/ outside of the “changes” section, but that doesn’t work either.
photos added. The green ticked box is the working map (outdoors), the red x box is my attempt at loading the interior map which doesn’t work/exist. The name in the content code matches the .tmx file name of the interior map.
I would’ve copied and pasted the text but my laptop is old and won’t connect to my WiFi for some reason
Attachments
-
91 KB Views: 18
-
77.3 KB Views: 17
Last edited: