You go to Actors > Marine, and copy paste that, then go into Marine Copy (The Actor) > Events, and for every event that refers to Marine (The Unit), change it to Marine Copy (The Unit).
You go to Actors > Marine, and copy paste that, then go into Marine Copy (The Actor) > Events, and for every event that refers to Marine (The Unit), change it to Marine Copy (The Unit).
This is how to reference default models and sounds in your Actor instead of pointlessly duplicating them, or manually entering any information. Believe it or not, SansRegret's method takes longer than mine! I just take a long time to explain things.
1.
Switch Data Type to Actors. Turn off Combine Structure Values (combined fields cannot be reset to parent values!).
Right click below and click Add Object
Name: MarineActor
ID: MarineActor
Actor Type: Unit
Check "Show Non-Default"
Based On: Marine
Make sure "Set To Parent Value" is selected.
Click OK
This is almost the same as duplicating/copying a Marine's actor, except for one thing. You can revert settings in this actor to the parent value, meaning you won't need to manually enter any fields for this actor except for obviously the unitName Token Value.
2.
In your actor, change the unitName Token Value from 'Marine' to the name of your custom unit. When you change the actor's unitName Token Value, a ton of your actor's fields will all be changed, setting its models and sounds to non-existent ones named after your custom unit.
Now, what you need to do to avoid manually entering any information is to select all field values in the right column EXCEPT A FEW and then right click and click "Reset to Parent Value -> Marine". As for the exceptional few that you need to absolutely avoid resetting:
Editor Name (if you reset this field to parent value, your custom actor will replace its parent because the custom actor will have the same Text Key. Don't let this happen.)
Events - Terms
Events - Target
Events - Send
If you reset the three above, you'll find that your actor won't be linked to your unit anymore.
You will need to make a few selections to avoid these fields. But it really does take 5 seconds to do this, despite the long explanation.
3. Your unit now has a model.
The point of this method is that you no longer need to manually enter models and sounds into the actor after you change the actor unitName Token Value. If you want to reset to parent value you must "Add Object -> Based On" rather than duplicating or copying something which won't give you the option of resetting to the correct parent value.
hmm...I am trying to follow you directions but it will not let me modify the token name. When i right click and select modify token everything is greyed
out and uneditable. could this be because Im using a larva as base? I'll test this in a few minutes.
I just wanted to say one thing to you before I goto bed:
OH MY GOD THANK YOU.
I just spent the entire night trying to figure out why I had to deep copy the entire unit just to change damage and trajectory settings. Sanity reclaimed.
@verr82: Go
hmm...I am trying to follow you directions but it will not let me modify the token name. When i right click and select modify token everything is greyed out and uneditable.
I've edited my post to be slightly more clear. Whenever I referred to the "token" I was speaking of the value to the right of the word "unitName", rather than trying to modify the word unitName itself (don't modify the left column).
Awesome it worked! Thanks alot for explaining it in full detail, it really makes it easy to understand. I have one problem though, I can't seem to change the damage of my new custom unit without changing the damage of the Marine (as he's based on a Marine). I tried making a new weapon and a new effect, but nothing changes, well only that my custom unit doesn't make any sound anymore. Any thought on that? Thanks for helping me so far, I really don't get why this is made so much much more complicated than the unit editor in WC3.
i did what you wrote here with both the Supply Depot and Supply Depot lowered but i cant seem to get my Custom Supply depot get morphed into my Custom Supply depot lowered, its always the standard one and i have no clue what to edit...
It seems so easy, but I can't figure it out.
When I copy the Marine in the Data Units tab, I get a new unit, but when I try to place it, there is no model. Can someone tell me how to do this?
+1, i will copy a photon cannon, but it hasn't model :O
You go to Actors > Marine, and copy paste that, then go into Marine Copy (The Actor) > Events, and for every event that refers to Marine (The Unit), change it to Marine Copy (The Unit).
yea it works! :) take this 250 russian internets http://s.lurkmore.ru/images/8/8c/250_internets.jpg
This is how to reference default models and sounds in your Actor instead of pointlessly duplicating them, or manually entering any information. Believe it or not, SansRegret's method takes longer than mine! I just take a long time to explain things.
1.
Switch Data Type to Actors. Turn off Combine Structure Values (combined fields cannot be reset to parent values!).
Right click below and click Add Object
Name: MarineActor
ID: MarineActor
Actor Type: Unit
Check "Show Non-Default"
Based On: Marine
Make sure "Set To Parent Value" is selected.
Click OK
This is almost the same as duplicating/copying a Marine's actor, except for one thing. You can revert settings in this actor to the parent value, meaning you won't need to manually enter any fields for this actor except for obviously the unitName Token Value.
2.
In your actor, change the unitName Token Value from 'Marine' to the name of your custom unit. When you change the actor's unitName Token Value, a ton of your actor's fields will all be changed, setting its models and sounds to non-existent ones named after your custom unit.
Now, what you need to do to avoid manually entering any information is to select all field values in the right column EXCEPT A FEW and then right click and click "Reset to Parent Value -> Marine". As for the exceptional few that you need to absolutely avoid resetting:
Editor Name (if you reset this field to parent value, your custom actor will replace its parent because the custom actor will have the same Text Key. Don't let this happen.)
Events - Terms
Events - Target
Events - Send
If you reset the three above, you'll find that your actor won't be linked to your unit anymore.
You will need to make a few selections to avoid these fields. But it really does take 5 seconds to do this, despite the long explanation.
3. Your unit now has a model.
The point of this method is that you no longer need to manually enter models and sounds into the actor after you change the actor unitName Token Value. If you want to reset to parent value you must "Add Object -> Based On" rather than duplicating or copying something which won't give you the option of resetting to the correct parent value.
@verr82: Go
hmm...I am trying to follow you directions but it will not let me modify the token name. When i right click and select modify token everything is greyed out and uneditable. could this be because Im using a larva as base? I'll test this in a few minutes.
@verr82: Go
I just wanted to say one thing to you before I goto bed:
OH MY GOD THANK YOU.
I just spent the entire night trying to figure out why I had to deep copy the entire unit just to change damage and trajectory settings. Sanity reclaimed.
Cheers.
I've edited my post to be slightly more clear. Whenever I referred to the "token" I was speaking of the value to the right of the word "unitName", rather than trying to modify the word unitName itself (don't modify the left column).
@verr82: Go
Awesome it worked! Thanks alot for explaining it in full detail, it really makes it easy to understand. I have one problem though, I can't seem to change the damage of my new custom unit without changing the damage of the Marine (as he's based on a Marine). I tried making a new weapon and a new effect, but nothing changes, well only that my custom unit doesn't make any sound anymore. Any thought on that? Thanks for helping me so far, I really don't get why this is made so much much more complicated than the unit editor in WC3.
Did you set the weapon of your Copied Marine to the Copied Weapon?
Thx a lot for this!!
But i have a problem with a morphing unit:
i did what you wrote here with both the Supply Depot and Supply Depot lowered but i cant seem to get my Custom Supply depot get morphed into my Custom Supply depot lowered, its always the standard one and i have no clue what to edit...
Greetz Fanta
@verr82: Go
Thank you so much.