I've tried about a half dozen tutorials and about 3 hours trying to duplicate a unit successfully.. So far I have either gotten a black circle, odd colored sphere, or the unit model without any sound (tried copying the marine) If anyone has any "easy" method on how to duplicate a unit (with all the sounds), then that would be much appreciated
I've tried about a half dozen tutorials and about 3 hours trying to duplicate a unit successfully.. So far I have either gotten a black circle, odd colored sphere, or the unit model without any sound (tried copying the marine) If anyone has any "easy" method on how to duplicate a unit (with all the sounds), then that would be much appreciated
Almost all your issues seem like actor and/or actor->model link issues.
Personally, I try not to do a mass duplicate (which it eventually ends up being at the unit level) since too many links get broken.
Perhaps tell us what exactly it is you are trying to modify with your new marine and we can go about telling you what a more efficient solution will be, one that perhaps circumnavigates having to use the duplicate feature.
On a separate note, duplication itself is fine, but for specific things. High level objects (like units or any other type of object that has a lot of stuff linked to it) is very prone to breaking under duplication. The little tree view should let you know if there are too many things linked to an object to perhaps prevent you from using duplicate.
Overall though, you will learn what you should and should not use duplicate for in time.
As an example, things like "models" which are usually leaf nodes, are perfectly fine to duplicate, since they rarely have things attached under them (instead they are attached to other stuff higher up the chain).
But what if somebody wants (for example) multiple SCV's with the same model but have different abilities? Then you are forced to duplicate. However I am experiencing the problem in that the stats and such are carried over but never the model.
Right click the unmodified marine in the data editor. You WILL have issues if you try to duplicate a version that has already been modified or already been duplicated. You will want to duplicate the unmodified, original marine from the default mod.
When it asks you what to duplicate, check off the "actor" section. You do NOT need to duplicate the model, sounds, or anything else there. This should create a new unit and a new actor and they should be correctly linked if you duplicated an unmodified, default unit. DO NOT change the ID of the object. It will be Marine2 I believe.
If you want to change what unit an actor is linked to or check what it is linked to, then go to the actor tab and select the new actor. At the very top there should be a line (do not use tree view) in a separate section. That line contains which unit the actor is linked to.
When duplicating the marine, the new unit will probably be called Marine 2. The new actor will probably be Marine 2 as well and linked to the Marine 2 unit. If you rename the object ID of the unit, the actor will not be linked to it. If you rename the unit and click suggest ID, then it will change the ID and the actor will not be linked. If you rename the actor, duplicate a modified unit, or duplicate a duplicated unit, it will change the object ID without correctly changing the ID of what the actor is linked to.
If you have any issues, click on the actor in the data editor and go through EVERY field to make sure that all instances of "Marine2" correctly state the object ID of the unit. If you still cannot get it to work, then please post EXACTLY what you are modifying and what steps you are taking so that someone can tell you where you went wrong.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've tried about a half dozen tutorials and about 3 hours trying to duplicate a unit successfully.. So far I have either gotten a black circle, odd colored sphere, or the unit model without any sound (tried copying the marine) If anyone has any "easy" method on how to duplicate a unit (with all the sounds), then that would be much appreciated
I have the same problem. Duplication always have it's issues and I know no good way to do this. What I can write about data editor is O_o?
just edit the settings of the original unit and it will be automatically be copied to your map without problems
Almost all your issues seem like actor and/or actor->model link issues.
Personally, I try not to do a mass duplicate (which it eventually ends up being at the unit level) since too many links get broken.
Perhaps tell us what exactly it is you are trying to modify with your new marine and we can go about telling you what a more efficient solution will be, one that perhaps circumnavigates having to use the duplicate feature.
On a separate note, duplication itself is fine, but for specific things. High level objects (like units or any other type of object that has a lot of stuff linked to it) is very prone to breaking under duplication. The little tree view should let you know if there are too many things linked to an object to perhaps prevent you from using duplicate.
Overall though, you will learn what you should and should not use duplicate for in time.
As an example, things like "models" which are usually leaf nodes, are perfectly fine to duplicate, since they rarely have things attached under them (instead they are attached to other stuff higher up the chain).
@zzPop: Go
But what if somebody wants (for example) multiple SCV's with the same model but have different abilities? Then you are forced to duplicate. However I am experiencing the problem in that the stats and such are carried over but never the model.
Right click the unmodified marine in the data editor. You WILL have issues if you try to duplicate a version that has already been modified or already been duplicated. You will want to duplicate the unmodified, original marine from the default mod.
When it asks you what to duplicate, check off the "actor" section. You do NOT need to duplicate the model, sounds, or anything else there. This should create a new unit and a new actor and they should be correctly linked if you duplicated an unmodified, default unit. DO NOT change the ID of the object. It will be Marine2 I believe.
If you want to change what unit an actor is linked to or check what it is linked to, then go to the actor tab and select the new actor. At the very top there should be a line (do not use tree view) in a separate section. That line contains which unit the actor is linked to.
When duplicating the marine, the new unit will probably be called Marine 2. The new actor will probably be Marine 2 as well and linked to the Marine 2 unit. If you rename the object ID of the unit, the actor will not be linked to it. If you rename the unit and click suggest ID, then it will change the ID and the actor will not be linked. If you rename the actor, duplicate a modified unit, or duplicate a duplicated unit, it will change the object ID without correctly changing the ID of what the actor is linked to.
If you have any issues, click on the actor in the data editor and go through EVERY field to make sure that all instances of "Marine2" correctly state the object ID of the unit. If you still cannot get it to work, then please post EXACTLY what you are modifying and what steps you are taking so that someone can tell you where you went wrong.