so I have a map that I made a hero unit on and want to save it as a dependent mod that I can just import him. is there a way to do this without me making it all over again?
There is, but its rather complicated and I havent fully tried it out myself, so I can just give you some vague guideline.
Basically what you do is save your map as a "Starcraft 2 Component Folder" (see Attached Screenshot 1), but dont forget doing a backup before that. Then you create your mod (keep in mind that it has to have the same dependencies your Map has) and save it as a Component Folder, too. Then you go into the Component Folder of your Map and Copy the Red marked things you see in the Attached Screenshot 2. The yellow things are images I imported into the map, if you have imported anything into your map then you need to copy those things too. After that, you just have to open the "ComponentsList"-File (marked blue) in the Component Folder of your Mod.
This copies all data + the strings you need from your map into the new created mod.
XML doesn't contain localization data, so you'd have to re-write every tooltip and re-name every data entry. Not fun.
Saving as .sc2components and transfering the asset file to the .sc2components of a mod file as described above is pretty much the only way. It's fast, though!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
so I have a map that I made a hero unit on and want to save it as a dependent mod that I can just import him. is there a way to do this without me making it all over again?
There is, but its rather complicated and I havent fully tried it out myself, so I can just give you some vague guideline.
Basically what you do is save your map as a "Starcraft 2 Component Folder" (see Attached Screenshot 1), but dont forget doing a backup before that. Then you create your mod (keep in mind that it has to have the same dependencies your Map has) and save it as a Component Folder, too. Then you go into the Component Folder of your Map and Copy the Red marked things you see in the Attached Screenshot 2. The yellow things are images I imported into the map, if you have imported anything into your map then you need to copy those things too. After that, you just have to open the "ComponentsList"-File (marked blue) in the Component Folder of your Mod.
This copies all data + the strings you need from your map into the new created mod.
ok ty ill try it
Wouldn't it be easier to either just copy the XML or can't you just rename the extension?
XML doesn't contain localization data, so you'd have to re-write every tooltip and re-name every data entry. Not fun.
Saving as .sc2components and transfering the asset file to the .sc2components of a mod file as described above is pretty much the only way. It's fast, though!