I continue to get this error after trying to do a work around on attaching a model with no attachment points to a dummy model, then attaching another model to the dummy model (this one to give turret z) and then attaching a model to the makeshift turret z model...This is the error [7/6/2013 12:15:10 AM] Warning: USER: [ 24 13] Scope[MarineTower, UnitEditor] More than one CActorUnit persisting in the same unit scope: [ 1f 37] CActorUnit[ActualMarineTower] [ 25 3e] CActorUnit[MarineTower] Which is irritating as when I go to test ingame it sets my tower model to the generic sphere model. I'll attach the map cause I honestly have no idea how to explain this better.
The game gives a warning whenever more than one unit actor exists for the same unit. This is because 95% of the time this is indicative of the map maker having messed up. Yours seems to be the unusual case where you have a legitimate reason to have more than one unit actor, since using a model actor would not automatically animate properly, I think. I don't know how to suppress the warning from showing up, or if it is possible to suppress it. Perhaps it is acceptable for you to just ignore the warning message?
As for the sphere thing: you appear to have forgotten to set the Actor: Model to Marine for the MarineTower actor, doh! It is set to the default 'MarineTower' which doesn't exist so it falls back to the sphere. You set it correctly in all the other places it asks for the model, so that is why it is different in the game from in the editor. This has nothing to do with that warning.
I continue to get this error after trying to do a work around on attaching a model with no attachment points to a dummy model, then attaching another model to the dummy model (this one to give turret z) and then attaching a model to the makeshift turret z model...This is the error
[7/6/2013 12:15:10 AM] Warning: USER: [ 24 13] Scope[MarineTower, UnitEditor] More than one CActorUnit persisting in the same unit scope: [ 1f 37] CActorUnit[ActualMarineTower] [ 25 3e] CActorUnit[MarineTower]
Which is irritating as when I go to test ingame it sets my tower model to the generic sphere model. I'll attach the map cause I honestly have no idea how to explain this better.
Bump.
The game gives a warning whenever more than one unit actor exists for the same unit. This is because 95% of the time this is indicative of the map maker having messed up. Yours seems to be the unusual case where you have a legitimate reason to have more than one unit actor, since using a model actor would not automatically animate properly, I think. I don't know how to suppress the warning from showing up, or if it is possible to suppress it. Perhaps it is acceptable for you to just ignore the warning message?
As for the sphere thing: you appear to have forgotten to set the Actor: Model to Marine for the MarineTower actor, doh! It is set to the default 'MarineTower' which doesn't exist so it falls back to the sphere. You set it correctly in all the other places it asks for the model, so that is why it is different in the game from in the editor. This has nothing to do with that warning.
@intanjir: Go
Oops... I didn't even look for something like that as I just jumped to the conclusion it was the error. Thanks for your help.
I find using a SOpAttachOrigin works.
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