I've made a custom unit linked to a doodad, but the doodad has many variations, but I only want one of those variations to always appear when the unit is being created by the player, but I can't seem to make that work.
I tried doing this with triggers (Set Unit Model Variation) and giving value (ex: 2) for the variation I always want and leaving texture blank, but that hasn't worked.
(I have set the model to the variation I want and that has worked on some of the units, but for this one I can't edit the model/actor bc otherwise it gives me crap about not having the model, etc for some reason).
Omg! Thank you! I never usually mess with the actor>events so I didn't think to search there for an answer.
You go there and you add an event "Model Swap" and change it to whatever actor (same one if the same as the one being created) and change variation number to a number like 2. (for those stumbling on same problem^)
How about setting rotation? I see the "Set rotaiton" option for event upon creating the actor, but it doesn't have value setting, and the others like for pitch isn't working for some reason.
Most models with variations have a common file that the Models data type refers to instead of individual models. To do the reverse requires use of the Passchance term on creation using a Model Swap event. Not sure if the term is still bugged if using identical values.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I've made a custom unit linked to a doodad, but the doodad has many variations, but I only want one of those variations to always appear when the unit is being created by the player, but I can't seem to make that work.
I tried doing this with triggers (Set Unit Model Variation) and giving value (ex: 2) for the variation I always want and leaving texture blank, but that hasn't worked.
(I have set the model to the variation I want and that has worked on some of the units, but for this one I can't edit the model/actor bc otherwise it gives me crap about not having the model, etc for some reason).
you can do a modelswap in actor with the right variation.
@FunkyUserName: Go
Omg! Thank you! I never usually mess with the actor>events so I didn't think to search there for an answer.
You go there and you add an event "Model Swap" and change it to whatever actor (same one if the same as the one being created) and change variation number to a number like 2. (for those stumbling on same problem^)
@FunkyUserName: Go
How about setting rotation? I see the "Set rotaiton" option for event upon creating the actor, but it doesn't have value setting, and the others like for pitch isn't working for some reason.
Use a SOp(Explicit Rotation) SOp on your actor.
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
@DrSuperEvil: Go
So if I wanted to let a variation of marine types how would I do it with the models like what hers trying to do.
Most models with variations have a common file that the Models data type refers to instead of individual models. To do the reverse requires use of the Passchance term on creation using a Model Swap event. Not sure if the term is still bugged if using identical values.
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