i created an unit -> actor - model Tarsonis Building
The building got 11 variations, i will use only variation 1,3,7,11
How can i do that? I already tried to set:
CModel_Varitions_Number to 1|-1|3|-1|-1|-1|7|-1|-1|-1|11
or
CModel_Varitions_Probability 1|0|1|0|0|0|1|0|0|0|1
lower vairations to 4 will result in show 1,2,3,4...
The way model variations work is that it picks every model in the same folder followed by "_x", x is a number. When you open the archive browser (windows->console "browse") in tree mode you can see every asset included your map. The model you are looking for is CityBuilding_xx.m3, if you search for it, you see there are a number of models in the CityBuilding folder. Now, you cannot remove any of them, but you can export them. So export the the desired models and import them again in a folder. Now set the model data to one of these models, I don't believe it matters which one you select, as long as they all have the same name suffixed with a _xx number. Also, I believe the field Model Variation only uses up to the specified number, so if it is set to 5 it will only uses the files that are numbered _05 or lower.
Hello,
i created an unit -> actor - model Tarsonis Building
The building got 11 variations, i will use only variation 1,3,7,11
How can i do that? I already tried to set: CModel_Varitions_Number to 1|-1|3|-1|-1|-1|7|-1|-1|-1|11 or CModel_Varitions_Probability 1|0|1|0|0|0|1|0|0|0|1
lower vairations to 4 will result in show 1,2,3,4...
Please Help, Thanks
No Idea? No Coment? Please Help
The way model variations work is that it picks every model in the same folder followed by "_x", x is a number. When you open the archive browser (windows->console "browse") in tree mode you can see every asset included your map. The model you are looking for is CityBuilding_xx.m3, if you search for it, you see there are a number of models in the CityBuilding folder. Now, you cannot remove any of them, but you can export them. So export the the desired models and import them again in a folder. Now set the model data to one of these models, I don't believe it matters which one you select, as long as they all have the same name suffixed with a _xx number. Also, I believe the field Model Variation only uses up to the specified number, so if it is set to 5 it will only uses the files that are numbered _05 or lower.
There is also the Art: Variations - Probability field that you can set those you do not want to 0% chance.
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
Thanks for Help
I already tried:
Art: CModel_Varitions_Probability 1|0|1|0|0|0|1|0|0|0|1
1 100% Chance? 0 0%?
but it doesnt work...
now im using: Actor Send Message ModelSwap from Trigger Editor
But not the best way?
You could use a passchance term and the model swap actor event action too.
Also the total probability can only equal 1. The way you set it up equals 400%, try 0.25 next time.
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