I come here because I'd like to rattle up an age-old question, namely: How do I use ModelAdditions nowadays.
I'll explain what my simple brain was trying to do, but utterly failed at. I'm working on a big set of models for which I want to create a modular game setup where I can apply model swaps only for the part that actually needs to change. Refer to the Image 1 below. For the Goliath model below, I want to swap out the weapon parts, depending on the chosen weapon {for instance: flamer, cannon or gattling gun} and this must be able to be done independendly between the left and right weapon, and all option can exist. Which means a Goliath could have 2x flamer, or 1x flamer + 1x gattling, or 1x flamer + 1x Cannon etc...
As you see I rather just change the specific weapon part, otherwise the permutations of options grows exponenttially high.
The models are all animated from the same framework, just split up as separate .m3 models. So importing them in the editor and combining them in the cutscene editor makes the unit look as intended, refer to image 2, and image 3 shows all the models in separate working,
However, try as I might, I can't even get the Goliath to show up with the attached weapon model parts, in the terrain where I place it as a unit. I've tried using the "Actor Creation / Attach Model" actor event on the Goliath actor and have that point to a "Model Addition" actor that holds the model of the specific weapon part. However it doesn't work. And looking through the thousand-and-one stuff that one can do in actors and whatnot... I really have no clue where to begin with this.
Can someone help me out with how I can properly setup the unit with model additions?
Image 1 - Goliath unit with interchangeable weapons.
Image 2 - A Goliath wielding dual Cannons
Image 3 - Three separate models with equal animations for combining
Firstly on your goliath core model what attachment points have you added to allow the weapons to be attached at. You then need to make your weapons Model type actors that are hosted on the goliath Unit type actor. I assume the unit type actor is being used to create the weapons so for the hosting you can use the ::Creator system reference on the Model type actors while you will need to set the host site operations for the left and right differently to attach onto the attachment points on your model.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi there fellow Mapsters.
I come here because I'd like to rattle up an age-old question, namely: How do I use ModelAdditions nowadays.
I'll explain what my simple brain was trying to do, but utterly failed at.
I'm working on a big set of models for which I want to create a modular game setup where I can apply model swaps only for the part that actually needs to change.
Refer to the Image 1 below. For the Goliath model below, I want to swap out the weapon parts, depending on the chosen weapon {for instance: flamer, cannon or gattling gun} and this must be able to be done independendly between the left and right weapon, and all option can exist. Which means a Goliath could have 2x flamer, or 1x flamer + 1x gattling, or 1x flamer + 1x Cannon etc...
As you see I rather just change the specific weapon part, otherwise the permutations of options grows exponenttially high.
The models are all animated from the same framework, just split up as separate .m3 models. So importing them in the editor and combining them in the cutscene editor makes the unit look as intended, refer to image 2, and image 3 shows all the models in separate working,
However, try as I might, I can't even get the Goliath to show up with the attached weapon model parts, in the terrain where I place it as a unit.
I've tried using the "Actor Creation / Attach Model" actor event on the Goliath actor and have that point to a "Model Addition" actor that holds the model of the specific weapon part. However it doesn't work. And looking through the thousand-and-one stuff that one can do in actors and whatnot... I really have no clue where to begin with this.
Can someone help me out with how I can properly setup the unit with model additions?
Image 1 - Goliath unit with interchangeable weapons.
Image 2 - A Goliath wielding dual Cannons
Image 3 - Three separate models with equal animations for combining
Custom Campaign Initiative
Firstly on your goliath core model what attachment points have you added to allow the weapons to be attached at. You then need to make your weapons Model type actors that are hosted on the goliath Unit type actor. I assume the unit type actor is being used to create the weapons so for the hosting you can use the ::Creator system reference on the Model type actors while you will need to set the host site operations for the left and right differently to attach onto the attachment points on your model.
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