I recently noticed I had mistakenly parented a bunch of the actors for my military units under my Worker unit's Actor.
(I think I started off duplicating the worker unit and never noticed the parenting afterwards and it just spread as I made more units. :P )
So I went about re-parenting them all to CActorUnit and noticed that ALL of the red text in the Events+ tree disappeared.
This leads me to think that the red text includes "this is different from the parent", rather than just errors.
Well being a bit anal about that kind of stuff, I decided I wanted to "re-parent" everything.
Except I cant seem to find a singular base Building Actor that racial buildings are parented to.
Ive been using TerranBuilding, but it comes with a whole mess of Events+ supporting their buildings that can morph, and fly. Cleaning all that unnecessary faff (unnecessary for my buildings) is well enough but I don't know what to re-parent to.
I mean, I could just go to CActor, or CActorBase, but I don't want to divorce the buildings from any special stuff that the building parents add.
So I guess my question is: Does anyone know what the Racial Building Parents add to Units, that I would lose by parenting them to CActor/Base, and if any of that is parity across all races and important to making units act like structures?
The parent causes the actor to inherit all the modified fields of that parent. This means if the parent uses a non default camera actor for example your derived actor would also have the camera actor set to that nondefault one.
Setting your parent to CActor/Base would set every field back to the default that you have not already altered.
I recently noticed I had mistakenly parented a bunch of the actors for my military units under my Worker unit's Actor.
(I think I started off duplicating the worker unit and never noticed the parenting afterwards and it just spread as I made more units. :P )
So I went about re-parenting them all to CActorUnit and noticed that ALL of the red text in the Events+ tree disappeared.
This leads me to think that the red text includes "this is different from the parent", rather than just errors.
Well being a bit anal about that kind of stuff, I decided I wanted to "re-parent" everything.
Except I cant seem to find a singular base Building Actor that racial buildings are parented to.
Ive been using TerranBuilding, but it comes with a whole mess of Events+ supporting their buildings that can morph, and fly. Cleaning all that unnecessary faff (unnecessary for my buildings) is well enough but I don't know what to re-parent to.
I mean, I could just go to CActor, or CActorBase, but I don't want to divorce the buildings from any special stuff that the building parents add.
So I guess my question is: Does anyone know what the Racial Building Parents add to Units, that I would lose by parenting them to CActor/Base, and if any of that is parity across all races and important to making units act like structures?
The parent causes the actor to inherit all the modified fields of that parent. This means if the parent uses a non default camera actor for example your derived actor would also have the camera actor set to that nondefault one.
Setting your parent to CActor/Base would set every field back to the default that you have not already altered.
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
So then there is nothing outside of the editor fields happening "behind the scenes" in the various racial building parents?
In XML view only changes fields from the parent will show. The fields you desire to be changed may not be the same as the parent.
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