I'm trying to make a custom structure with attachments and one of the attachment models im using is the 'Biodome' model (originally used by unit:Colonist Bio-dome) which has 5 variations of it's model. Problem is, I want to specifically use the 5th model variation only.
Anybody know how to set the variation model used by an attachment?
I've tried Events+ on the attachments actor:
unit.birth > source: (actor im attaching) > Modelswap > Biodome > Variation 5
I've tried using the Create, Attach Model, Actor Creation and a few of other event types.
I've also tried making a trigger for map ini that changes the model of the main unit's attached child
Searching online, the wiki says there should be a value on the model if set to 'generic' that lets you select the probability of each variation, but this doesn't seem to exist.
As well as what you said - I needed to set the source of unitbirth as the parent unit that the attachment goes on and then type the name of my attachment in the 'target' field in the model swap action. For anybody else who ever gets stuck on this.
I'm trying to make a custom structure with attachments and one of the attachment models im using is the 'Biodome' model (originally used by unit:Colonist Bio-dome) which has 5 variations of it's model. Problem is, I want to specifically use the 5th model variation only.
Anybody know how to set the variation model used by an attachment?
I've tried Events+ on the attachments actor: unit.birth > source: (actor im attaching) > Modelswap > Biodome > Variation 5 I've tried using the Create, Attach Model, Actor Creation and a few of other event types.
I've also tried making a trigger for map ini that changes the model of the main unit's attached child
Searching online, the wiki says there should be a value on the model if set to 'generic' that lets you select the probability of each variation, but this doesn't seem to exist.
Variations start counting at 0, so the 5. Variation is acutally the 4. An actor creation event should work then.
@TheUltragon: Go
Thanks, I just figured it out :D
As well as what you said - I needed to set the source of unitbirth as the parent unit that the attachment goes on and then type the name of my attachment in the 'target' field in the model swap action. For anybody else who ever gets stuck on this.