So normally when I copy units,abilities or upgrades etc from other mods or maps, I'd copy all the necessary data one by one. Is there a faster or more efficient way going about this? Like a feature in editor I don't know about which copies everything related to the unit all at once?
there is a merge feature but it's total crap. best way is to copy XML code and paste it into XML of the other map, it's per data type, not per data entry at least.
I've tested XML copy/pasting data from my map into my mod using sc2.components and xml. Everything works perfectly, including txt and names.
I have no need of copying data, but I tested this to learn about it.
The XML data is no longer in alphabetical order as compared to the original XML. Converting the components back into a mod, saving, re-converting into compenents does not return the original alphabetatical order.
Questions:
1. Does the alphabetical order matter? Will there be problems later?
2. In other words, the whole thing seems 'hacky' and possibly buggy. True?
3. I only know basic XML editing so. So, It should continue to work fine, but I'm not sure.
If you save your map as a Component Folder you will be able to access it as if it were a normal folder (in your explorer) and then you can go to the Base.SC2Data -> GameData and then you can copy the files you want to move to your new map.
When you've copied the data from one Component folder to another Component folder, you can open that component folder as if it were a normal map, and then it should have the transfered data.
Oh, and text strings/hotkeys are in the enUS.SC2Data folder -> LocalizedData
So normally when I copy units,abilities or upgrades etc from other mods or maps, I'd copy all the necessary data one by one. Is there a faster or more efficient way going about this? Like a feature in editor I don't know about which copies everything related to the unit all at once?
there is a merge feature but it's total crap. best way is to copy XML code and paste it into XML of the other map, it's per data type, not per data entry at least.
As stated above XML is the most reliable method.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@FunkyUserName: Go
Yes, merge feature is bogus. I could not get it to work at all whatsoever. I could not even get any errors, It simply acts as though it does nothing.
@DrSuperEvil: Go
I've tested XML copy/pasting data from my map into my mod using sc2.components and xml. Everything works perfectly, including txt and names.
I have no need of copying data, but I tested this to learn about it.
The XML data is no longer in alphabetical order as compared to the original XML. Converting the components back into a mod, saving, re-converting into compenents does not return the original alphabetatical order.
Questions:
1. Does the alphabetical order matter? Will there be problems later?
2. In other words, the whole thing seems 'hacky' and possibly buggy. True?
3. I only know basic XML editing so. So, It should continue to work fine, but I'm not sure.
1. Only with some actor events.
2. Less buggy than other copy and paste methods. XML is the raw data form of how the map stores stuff without the editor UI.
3. If you want to transfer a lot without breaking it use XML. Go out of XML once you have done the bulk transfer.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
What about the Save as Component Folder option?
If you save your map as a Component Folder you will be able to access it as if it were a normal folder (in your explorer) and then you can go to the Base.SC2Data -> GameData and then you can copy the files you want to move to your new map.
When you've copied the data from one Component folder to another Component folder, you can open that component folder as if it were a normal map, and then it should have the transfered data.
Oh, and text strings/hotkeys are in the enUS.SC2Data folder -> LocalizedData
Make sure to backup both maps when you do this.