- Joined
- Feb 6, 2014
- Messages
- 2,466
Is it possible to create an Object Editor Spells/Units/Destructables/etc. through Object Merger without appearing in Object Editor? The goal is not to flood Object Editor with these generated objects.
I meant to hide the generated objects not the "clean" objects. Also, it was merely for convenience why I asked so that Object Editor is cleaner hence easier to work with. If I need to export/import every test map, then I'd rather work with disorganized Object Editor. Generated Objects were not meant to be edited that's why I want to hide it.Not directly, no; but you can always export/import object data files directly, so if you don't want LUA generated objects in your map, just export your "clean" object editor data before you run the objectmerger script and test your map, then re-import the cleaned object data.
So how did Buff Libraries do their thing? Do they instruct the users to comment out a textmacro'ed Object Merger once it finished generating its objects.
You could open a blank map, generate the abilities (and/or any other object data) there, and then
using WE, export the ability data (and/or the other object data) to a file called
war3campaign.w3a (for ability data, war3campaign.w3u for units, etc.) and then import
these files to your actual map (you have to remove the war3mapimported\ path from the full path).
If I do that, it will overwrite the abilities in the Object Editor, after all, objects in Object Editor will be compiled to the w3a file, but since I imported a w3a file to the original path, it will take priority and the map will end up using that instead of the abilities in Object Editor.
This is a good idea as well.If it's just about organizing the object editor, not speeding it up (as generated objects will eventually slow down the OE), then the easiest solution is giving the generated objects an unused OE category (or race) to have them all in a single folder.
If you import it, it will be overwritten
1. Can I read values (like anam) from a certain object?
2. Can I check if an object already exist?
Tell me more about this objExtract.lua.I have something else which is the objExtract.lua script.