I've been looking to import some of the data assets (such as custom abilities from the WDEs) available around here but can't figure out how to do it. How would I go about doing that?
Copy pasta, lots of it... Open source map, select everything you need, ctrl+c, open your own map, ctrl+v, save, open other map, open next tab, repeat.
Will that break any of the links. For instance if there is an Ability that calls an Effect and I copy the Ability first and then the Effect, will the link work properly?
Yea, everything will work. Links are done by IDs, as long as the IDs dont change everything is fine (IDs will change if theres anything in the new map with the same ID, which shouldnt happen unless you changed already existing abilities instead of making new ones. In that case, change the IDs before copying.)
You can either:
A- Use an MPQ Editor to open the files (Advanced but quicker IMO if you know what you're doing)
or
B- Open the map and Save As an Editor Component List instead of the regular Map file.
Then go to [InsertMapFolderName] -> Base.SC2Data -> GameData
There's a bunch of xml files here labeled according to their function. Open the xml file in Notepad for both the source map and your map. Copy the info between the <Catalog> tags but not including those tags and paste them right after the <Catalog> tag in your map.
(MAKE SURE YOU DON'T COPY THE <Catalog> TAGS AT THE TOP OR BOTTOM AND MAKE SURE ALL INFO IS PASTED RIGHT AFTER THE TOP <Catalog> TAG)
Rinse and repeat for all appropriate xml files. Open the map and it should now have all the information copied. Note that if any object ID's match existing object ID's (for instance "Zealot"), the object will be changed in the current map rather than added.
If you don't have the XML file in your map, you can simply copy and paste the whole file. This just means you haven't edited or added any of these objects.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've been looking to import some of the data assets (such as custom abilities from the WDEs) available around here but can't figure out how to do it. How would I go about doing that?
Copy pasta, lots of it... Open source map, select everything you need, ctrl+c, open your own map, ctrl+v, save, open other map, open next tab, repeat.
Will that break any of the links. For instance if there is an Ability that calls an Effect and I copy the Ability first and then the Effect, will the link work properly?
Yea, everything will work. Links are done by IDs, as long as the IDs dont change everything is fine (IDs will change if theres anything in the new map with the same ID, which shouldnt happen unless you changed already existing abilities instead of making new ones. In that case, change the IDs before copying.)
@siege911: Go
There`s always XML transfer too. Just sayin`;p.
Can you explain how or link a tutorial? I might need it someday... The copy pasta method is rather long...
Thanks TheAlmaity
How is that done?
I figured it out for anyone who wants to know.
You can either: A- Use an MPQ Editor to open the files (Advanced but quicker IMO if you know what you're doing) or B- Open the map and Save As an Editor Component List instead of the regular Map file.
Then go to [InsertMapFolderName] -> Base.SC2Data -> GameData
There's a bunch of xml files here labeled according to their function. Open the xml file in Notepad for both the source map and your map. Copy the info between the <Catalog> tags but not including those tags and paste them right after the <Catalog> tag in your map.
(MAKE SURE YOU DON'T COPY THE <Catalog> TAGS AT THE TOP OR BOTTOM AND MAKE SURE ALL INFO IS PASTED RIGHT AFTER THE TOP <Catalog> TAG)
Rinse and repeat for all appropriate xml files. Open the map and it should now have all the information copied. Note that if any object ID's match existing object ID's (for instance "Zealot"), the object will be changed in the current map rather than added.
If you don't have the XML file in your map, you can simply copy and paste the whole file. This just means you haven't edited or added any of these objects.