SC2Mapster Forums

Development > Triggers

Find/Replace with Records

  • 4 posts
    #1 Feb 08, 2013 at 11:39 UTC - 0 likes

    So I am trying to go through and replace many of my global variables with much better organized records, and I was hoping to use find and replace to do this. At first it seemed like you couldn't do it at all, because when you try to enter a record into the parameter finder it immediately dumps it back to "No Value." But then I discovered that if you copy/paste the completed record variable into the parameter value it doesn't dump it (which is good).

    But then when you try to actually replace all of the variables it seems to ignore the variables inside the record, and instead just copies the record variable itself.

    Is there any way to make this work?

    Last edited Feb 08, 2013 by rtschutter
    #2 Feb 08, 2013 at 19:08 UTC - 0 likes

    @rtschutter: Go

    I imagine if you use script this would be relatively easy to achieve.

    My Projects:
    Malum Ruina: SC2Mapster
    Eternal Exile: SC2Mapster
    Spine Crawler Madness: SC2Mapster
    Xeno Crisis: SC2Mapster

    #3 Feb 08, 2013 at 21:48 UTC - 0 likes

    I use the GUI because I am not a programmer and have no idea what I am doing.

    #4 Feb 08, 2013 at 22:04 UTC - 0 likes

    @rtschutter:

    Decompress a copy of the map archive with MPQ Editor into a folder, locate and find the text file that has your variables. Open with Notepad++ , Ctrl+H Find and Replace, Save & Close, Recompress into a new .SC2Map file. Assuming I understood what you were trying to do.

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!