Hi folks! Back with a little problem.
I'm trying to create a permanent "overhead icon" using models and actors like question marks and other similar things. I managed to get them working, but there is a big problem: their height. I've tried so many options in actor's events but I can't find a way to modify it... and icons just keep on floating under unit's feet.
Just look at the screenshot to understand what I'm talking about...
To obtain this effect I just modified a few things in Data Editor:
1) First of all, I created a new model (type CModel, origin PersistentSpellFX) just using ArcadePowerup1.m3 as model reference.
2) After that, I created a new actor (type CActorModel NotDoodad, origin ModelAddition) that use the previously created model with the following events:
Create a new actor and make it a siteoperator local offset. Then on that actor you can change the values for "local offset" in the data editor. then go back to your actor for the overhead icon and under siteoperations+ add the siteop actor to it.
sometimes when you test, if you jsut have a unit on the terrain in the mapmaker you need to delete the unit and add another for the actor to show in the new position.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi folks! Back with a little problem.
I'm trying to create a permanent "overhead icon" using models and actors like question marks and other similar things. I managed to get them working, but there is a big problem: their height. I've tried so many options in actor's events but I can't find a way to modify it... and icons just keep on floating under unit's feet.
Just look at the screenshot to understand what I'm talking about...
To obtain this effect I just modified a few things in Data Editor:
1) First of all, I created a new model (type CModel, origin PersistentSpellFX) just using ArcadePowerup1.m3 as model reference.
2) After that, I created a new actor (type CActorModel NotDoodad, origin ModelAddition) that use the previously created model with the following events:
- ActorCreation
AnimBracketStart Indicator Birth Stand Death
- ActorOrphan
Destroy
- AnimBracketState.*.AfterClosing
=> AnimName Indicator
Destroy
- UnitDeath
Destroy
- UnitBirth.MyCustomUnit
Create
How can i set Z of created actors? Is there a way to let them attach to unit model's head?
Thanks in advance!
Create a siteop actor with local offset and add it to the actor. You can edit it there.
Make sure you set the site op up properly
@gorang: Mh... can you be a little mode specific, please? I don't know what a siteop actor is...
Create a new actor and make it a siteoperator local offset. Then on that actor you can change the values for "local offset" in the data editor. then go back to your actor for the overhead icon and under siteoperations+ add the siteop actor to it.
sometimes when you test, if you jsut have a unit on the terrain in the mapmaker you need to delete the unit and add another for the actor to show in the new position.