I created a new siege tank (copying from the original siege tank) and now the original siege tank (both tank and siege mode) have disappeared from the data editor.
Besides creating a new siege tank, I've also created the siege mode version (copying from the siege mode version, again) and I've created new actors for them (copying from the original actors).
Why is the siege tank now gone and all references to it (even in abilities I've never touched) are replaced with my new unit?[
Also, how can I get the unit back? I've done this all in a mod so if I try to make a new map with the mod it erases the siege tank on that map as well.
You cannot get that Siege Tank back, unless you are willing to "Reset Unit" and reset the Valkyrie Tank. Right Click > Reset Unit to Parent (something along those lines)
You don't need to copy from the "Siege Tank (Siege Mode)" unit when you copy it. This might have led to your problems. Any linked forms of a unit are duplicated as well when you perform the operation, unless said unit morphs into another unit, like with the Corruptor. For example, if I duplicated the unit named "Command Center", the unit titled "Command Center (Flying)" should also be duplicated as it is linked by the Liftoff ability.
I found a backup (thank Dio it was enabled) that didn't have my custom tank created yet. Luckily it was the ONLY new thing I had added since the last save I did. To anyone else having this issue, MAKE SURE YOU HAVE YOUR EDITOR SET TO BACKUP YOUR MAP.
EDIT: As an addendum. Siege tanks are such a pain to deal with in the data editor. I guess before working with one one may have to create a whole new mod JUST to mess with siege tanks so you don't mess them up in another map/mod.
I created a new siege tank (copying from the original siege tank) and now the original siege tank (both tank and siege mode) have disappeared from the data editor.
Besides creating a new siege tank, I've also created the siege mode version (copying from the siege mode version, again) and I've created new actors for them (copying from the original actors).
Why is the siege tank now gone and all references to it (even in abilities I've never touched) are replaced with my new unit?[
Also, how can I get the unit back? I've done this all in a mod so if I try to make a new map with the mod it erases the siege tank on that map as well.
You cannot get that Siege Tank back, unless you are willing to "Reset Unit" and reset the Valkyrie Tank. Right Click > Reset Unit to Parent (something along those lines)
You don't need to copy from the "Siege Tank (Siege Mode)" unit when you copy it. This might have led to your problems. Any linked forms of a unit are duplicated as well when you perform the operation, unless said unit morphs into another unit, like with the Corruptor. For example, if I duplicated the unit named "Command Center", the unit titled "Command Center (Flying)" should also be duplicated as it is linked by the Liftoff ability.
KSNumedia's Assets: Custom Models for campaigns and mods!
I found a backup (thank Dio it was enabled) that didn't have my custom tank created yet. Luckily it was the ONLY new thing I had added since the last save I did. To anyone else having this issue, MAKE SURE YOU HAVE YOUR EDITOR SET TO BACKUP YOUR MAP.
EDIT: As an addendum. Siege tanks are such a pain to deal with in the data editor. I guess before working with one one may have to create a whole new mod JUST to mess with siege tanks so you don't mess them up in another map/mod.
True, they're quite the royal pain in the ass. Well, glad you got this sorted out.
KSNumedia's Assets: Custom Models for campaigns and mods!