Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Map Adapter

Discussion in 'Warcraft Editing Tools' started by Drake53, Aug 9, 2020.

  1. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I've no idea then.
     
  2. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    You sure you only removed the 'Enemy' start locations?
     
  3. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Was there something else to remove?
    anima.png
    The others below via your custom script on the first page/post as usual.
     
  4. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    I guess you kinda made it sound like you removed all start locations, not only the enemy variants. I'm not sure what they're for anyways, since the regular ones just above have the exact same arguments.
     
  5. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Can't seem to adapt this one
    Legendary Tamers ORPG v1.2e

    It gives me a reading error.
    Also, there are unknown files found by the adapter:
    anima.png
     
  6. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    I'm asuming you put the functions after endglobals, however in this file the native 'UnitAlive' is also declared, so it has to be after that, or you get a syntax error.

    The unknown files can usually be ignored.
     
  7. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Oh, I've put the script after endglobals. Had no idea about that UnitAlive thing. Didn't even notice it.




    EDIT:
    How about searching for files in the files panel?
    Also, sorting them by name or file type doesn't seem to work.
     
    Last edited: Aug 17, 2020
  8. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Can't find that exact word UnitAlive, only stuff like:
    boolean udg_humanalive= false
    set udg_humanalive=true
    if ( not ( udg_humanalive == true ) ) then



    I haven't been able to adapt the following maps:
    Custom Hero Survival aZ1.9f Ref v2
    Saviors of Lordaeron BETA v0.6b
    Diverse Fights v0.8.2 (Reforged)
    There's an error reading them, the game says.

    This still crashes my game after the blight appears (I removed the location triggers):
    God of the Undead
     
    Last edited: Aug 17, 2020
  9. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    Is this functionality really needed? Asking because idk where I'd put the search bar, totally not because I'm lazy.

    I'm guessing the column headers being clickable led you to believe that sorting is implemented, but it's not (yet).

    Searching is case-sensitive.

    I'll try finding the cause.

    EDIT:
    For saviors of lordaeron, you must also delete the global variables of type
    minimapicon
    . I'll add a diagnostic for this.
    For custom hero survival, the function
    BlzGetEventIsAttack
    is used as argument in another function, so you cannot simply remove it. Since it returns a boolean, you can replace it with 'true', but this will probably make the damage system of the map bugged.
    For diverse fights, not sure how you tried adapting this one, but you could probably replace the framename with
    BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI,0)
    , like the frame below it, or just ignore it.

    Works on my pc™. Don't know what could be the cause here so can't really help.
     
    Last edited: Aug 17, 2020
  10. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Well, I deleted everything the program showed on the left related to icons and whatnot.
    Well, I could try adapting it for 1.29 to see if there's any difference.
    But in the end, I guess I'd have to wait for a proper 1.32+ patch.
     
  11. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    v0.6.0 changelog:
    • Can now sort file list by clicking the column headers.
    • Added diagnostics to detect incompatible types (
      minimapicon
      and
      commandbuttoneffect
      )
    • Disabled word wrapping in script edit window.
    • BLP files are now recognized by filetype column.
    Try the new version, it now also detects the global variables you need to delete.
     
  12. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    What's that? Seems I can't get to it or that it doesn't exist even searching for it.
    anima.png
    Still can't read this one.
     
  13. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    Try this.
     

    Attached Files:

  14. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Yeah. If I also knew how to do it...
     
  15. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    You can compare the war3map.j files, see what I did different.
    If you have no IDE to do this you can try here: Diff Checker
     
  16. Zerg51

    Zerg51

    Joined:
    Aug 11, 2020
    Messages:
    5
    Resources:
    0
    Resources:
    0
    hello good, it would be good that they made a type of video tutorial on how to do this procedure of changing the version of the maps, because the truth is I confuses me a lot
     
    Last edited: Sep 6, 2020
  17. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    @deepstrasz made a video showing the basics here: Map Adapter
     
  18. Zerg51

    Zerg51

    Joined:
    Aug 11, 2020
    Messages:
    5
    Resources:
    0
    Resources:
    0
    Can I convert this map from the reforged to warcraft 1.27 please don't use this program :(

    good on my screen it won't let me click 2 important buttons and I don't know how to fix esom, look:
     

    Attached Files:

  19. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    448
    Resources:
    0
    Resources:
    0
    I don't have object editor data for 1.27 specifically, so can only adapt for 1.29 and then it may or may not work on 1.27

    Didn't expect people to have such a small screen. For now workaround would be: if you have the 'browse' button focused, then press tab to focus 'open archive' button, then press enter to select it. I know it's inconvenient to do it like that but it's hard to make the program look good on smaller than expected screens. The window size is 1280x720 so you should have at least that.
     
  20. Zerg51

    Zerg51

    Joined:
    Aug 11, 2020
    Messages:
    5
    Resources:
    0
    Resources:
    0
    what is the Jazz Helper code to use? I can't find that code; thanks for the above :)