Is it possible to draw a tile ingame?

● ARCHIVED · READ-ONLY
Started by Solvius 32 posts Page 2 of 2 View original ↗
  1. I have now this code in the note box of map 1, named: World

    <load:[{"name":"Worldcopy","map":3}]>

    All the other map noteboxes are empty now

    The map Worldcopy is map 3 and uses the same tile sets. I copied the World map and pasted it as map 3.

    Here is a screenshot of the developer tool tab console, but there is nothing to see, I think.
    Its before I use the event to get the tiles and after using the event it looks the same.
    Do I need to type something in the console?

    https://i.gyazo.com/b8fc5d5d52998dca686e364b498e5361.png
  2. are you still having the error after doing all of that? The console is not showing any errors at all, which makes me think you're not getting the error anymore.

    If all the other map noteboxes are empty, make sure you don't call the plugin on any of those maps.
  3. Hi Shaz. No its not working :(
  4. then please give more information. What is happening? You don't appear to be getting an error message based on your console screenshot. If you've made significant changes, then please give new screenshots showing how everything is set up, for the maps where you're having the issue.
  5. This is a screenshot of map 1 called World.

    https://i.gyazo.com/b9ee49c11d55913eea47498d281cfae4.png

    This is a screenshot of map 3 called Worldcopy

    https://i.gyazo.com/7417f2f6728e244c02c79a1297173f35.png

    For making the houses I used the tileset A and B in both maps.

    Here is a screenshot of map 3 with the tileset under B

    https://i.gyazo.com/cd92c4cdcca1a518a80241df408ffb3f.png

    A screenshot of the plugin parameters.

    https://i.gyazo.com/eed86aab54e71399d43985379b972fe3.png

    A screenshot of the parameters Template Names. Maybe the event ID is wrong?

    https://i.gyazo.com/5d41cd79700685f407992f0f1d9b0bdf.png

    Here is a screenshot of the event with the plugin command

    https://i.gyazo.com/d0271353fbf35b438f0915d2ce9a6e95.png

    Maybe I forgot something but I hope it helps with solving this problem.
  6. You still haven't said what is happening.

    Are you getting an error? If you are, what does the error say? What is on the console screen when you get the error?

    If you are not getting an error, but something is not working, what is it? What are you trying to do, what do you expect to happen, and what is actually happening?

    I can help you if you need assistance to get MY plugin working, but that's as far as I can go. If you create an event you can interact with, that runs the plugin command to copy tiles from the other map to the current one, does it work or not?

    I am not familiar with Yanfly's plugins, but the way you have the parameters set up looks very strange. MY plugin requires that format in the map notes. Yanfly's plugin might require something very different.
  7. Oh sorry Shaz, I made a mistake confusing Yanfly's plugin for spawning a event with yours. sorry about that. I restored that code because it has nothing to do with your plug in. Sorry, sorry, sorry.

    I try to copy a piece of map 3 Worldcopy to map 1 World. A house. The top left house in the map.
    I do not get a error When I run the event with the plug in command nothing happens.
    All other plug in's are set to OFF.
    When I change 1 tile then it works perfect, as you could see on that gif you liked.
    Well I don't know. As far as I can see, I do everything correct, with all the advice and explanations you have given me. And as is explained in the instructions.
  8. Would you like to zip up your project, load it to dropbox, and send me a link?
  9. Yes
  10. You have the wrong layers. You are copying layers 1 and 2. 1 is the A tiles with transparent areas - fences, tables. 2 is the first of the upper layers. On map 3, there is nothing on those layers in that block. So it's actually working - it's copying blank tiles :)

    Unless you specifically only want to copy certain layers, just leave the layer list out:
    CopyTiles 12 3 "Worldcopy" 12 3 14 6
    and it will copy all layers.

    If you only want the building and windows, you're after layers 0 (pretty much everything on the A tiles that doesn't have transparency) and 2 (when you place top layer tiles, they go to the highest layer. Then when you place another top layer tile on it, what's there gets moved to the next layer down, and the new tile goes to the top layer):
    CopyTiles 12 3 "Worldcopy" 12 3 14 6 0 3

    But really, it's just easier to leave them out and let it copy all layers. Unless you're doing extremely large areas, you won't notice any performance hit.
  11. Wow.
    It works!!! :)
    Thnx Shaz for the patience and effort you have put into this.