• 0.962386511024643

    posted a message on [Data] Morphing Units

    This is a guide to morph one building/unit to another building or unit. This guide will show how to morph a pylon to an Obelisk Note: Only the Data Editor is used to do this

    Step 0 - Button

    Open the Buttons tab

    Make your button and call it "Upgrade to Obelisk" (You can call it what ever you want, however I will call it "Upgrade to Obelisk" in this tutorial)

    Step 1 - Create the Ability

    Open the abilities tab

    Create an ability, the ability type is morph

    Step 2 - Modifying the Ability

    Click on the + sign next to "Stats: Flags"

    The following things have to be Enabled: (Note: some of these are enabled by default)

    1. Stats: Disable abilities

    2. Stats: Fast Build

    3. Stats: Interruptible

    4. Stats: Ignore Collision

    5. Stats: Ignore Placement

    6. Stats: Ignore Unit Cost

    7. Stats: Show progress

    8. Stats: Suppress Movement

    9. Stats: Wait Until Stopped

    Part 2 of Abilities:

    2X click on "Ability: Commands"

    Click on "Execute"

    Change button to "Upgrade to Obelisk"

    Press "OK"

    2X Click on "Ability: Info"

    In the box, right click and click on "add unit"

    Make the unit to Obelisk

    2X click on Obelisk

    You will find a section that says:

    Info - Sections - Durations

    Change the values to the following:

    Abilities Delay 3.0000

    Abilities Duration 0.0000

    Actor Delay 2.5000

    Actor Duration 0.5000

    Collision Delay 3.0000

    Collision Duration 0.0000

    Facing Delay 3.0000

    Facing Duration 0.0000

    Mover Delay 3.0000

    Mover Duration 0.0000

    Stats Delay 3.0000

    Stats Duration 0.0000

    Step 3 - Actors

    Go the the Actors tab

    Find "Pylon"

    2X click on Event:Events

    Go to the bottom and right click "Add Event"

    Change Msg Type to Ability Morph, and change sub name to "start"

    Right click on AbilMorph.*.Start and click on "Add Term"

    Again right click on AbilMorph.*.Start and click on "Add Term"

    For the first one change the Term Type to "Morph From"

    and Unit Link to "Pylon"

    For the Second One Change the Term Type to "MorphTo" and Unit Link to "Obelisk"

    Change "Action Damage Physics" to "MinimapIcon"

    Right Click "Add Event"

    Change Msg Type to "AbilMorph" and sub name to "start"

    Add Term, change Term type to "MorphTo" and unit link to "Obelisk"

    and Change Action Damage Physics to "Destroy"

    Part 2 of Actors:

    Find "Obelisk"

    2X click on Event:Events

    Go to the bottom and right click "Add Event"

    Change Msg Type to Ability Morph, and change sub name to start

    Do this twice: Right click on AbilMorph.*.Start and click on "Add Term"

    For the first one change the Term Type to "Morph From"

    and Unit Link to "Pylon"

    For the Second One Change the Term Type to "MorphTo" and Unit Link to "Obelisk"

    Change Action Damage Physics to "Create"

    Step 4 - Final Stuff

    Go to the Abilities tab, and change the cost of your ability to whatever you want

    Add the ability to the pylon

    THE END

    I hope I didn't miss anything

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