Skip to content

Option to export single wmo types#414

Open
davidrios wants to merge 4 commits intoKruithne:mainfrom
davidrios:option-to-export-single-wmo-types
Open

Option to export single wmo types#414
davidrios wants to merge 4 commits intoKruithne:mainfrom
davidrios:option-to-export-single-wmo-types

Conversation

@davidrios
Copy link
Contributor

Add option when exporting map tiles to always export all dodad sets for each WMO, thus preventing the creation of several copies of the same WMO for each used doodad set, in effect acting like you exported the WMO from the models tab with all doodad sets checked. Also updated the blender add-on to deal with this case.

I'm opening the PR because I personally need this, but feel free to decline if you don't think it's useful to the community.

@davidrios
Copy link
Contributor Author

davidrios commented Jul 12, 2024

A bit more context: I have a new feature in the https://github.com/briochie/wow.unity project that makes use of this. This feature makes it so that a single prefab is created for a WMO, and the doodad sets are created as sub trees that can be toggled on and off. When maps are imported the same prefab is instanced and just have the used sets activated. This makes it easier to customize them as there's a single WMO prefab to change.

Here's an image showing how it works:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments