• 0

    posted a message on Proper unit duplication

    @Terhonator: Go

    I'll see if I can help you out. When I create new units I find that the "Duplicate" function is very lackluster in this respect. The "Duplicate" function is far to messy as it creates duplicates for everything if you don't 'Uncheck' the boxes, but I've found another way. I'm working now so I don't have the Galaxy Editor right in front of me but I'll try and explain best I can.

    First, Create the unit.

    1. -Go into 'Data Editor' ('F7') .
    2. -Open 'Units' tab.
    3. -Right-Click -> 'Create New Unit....'
    4. -Name your new unit, 'Suggest ID'
    5. -Choose 'Unit' from the drop down selection (You may also choose 'Hero' here)
    6. -Select the 'Copy From' radio button, select the unit to copy from in the drop-down box.

    Now that you have your Unit, you'll need an Actor for it. The Actor will determine the Units Model, Sound, and Animations.

    1. -Go into 'Data Editor' ('F7')
    2. -Open 'Actors' Tab.
    3. -Right-Click -> 'Create New Actor...'
    4. -Name the Actor then 'Suggest ID'
    5. -For 'Actor Type' set it to 'GenericUnitBase'
    6. -Select the 'Copy From' radio box.
    7. -Choose the actor you want to copy from.
    8. -Click Ok. Change the Actors 'UnitName' field to the Unit you created earlier. This links the Actor and Unit together.

    Note: Sometimes the Galaxy Editor acts a little strange when changing the Actors 'UnitName' field. It may change the Art - Model fields (And possibly other fields) to match the name of the unit you created. If this occurs the units model will NOT APPEAR, make sure to change the field 'Art - Model' back to its original value if it gets changed. (You can use any model from the drop-down list, but the sounds will remain that of the Actor you copied from).

    Note: Make sure you do not have 2 Actors refering to the same unit AT ANY TIME. This causes strange behavior and is not recommended.

    If done properly you should have a clean copy of any unit you want. You can also use this same technique in creating Weapons, Abilities, and other Objects by going to their respective tabs and selecting 'Create New'. I've looked at several of the 'Unit' creating tutorials and none have worked well enough for me, but this seems to do the trick.

    Posted in: Data
  • To post a comment, please or register a new account.