Turn any unit into Undead spell for Death Magic

Discussion in 'Wildmana Modmod' started by Honor, Mar 12, 2017.

  1. Honor

    Honor Immortal

    Joined:
    Nov 29, 2005
    Messages:
    739
    Location:
    Celo
    Hey esvath,

    I think it would be a good idea to include a Death spell that turns any unit type into the undead unit type. Is this possible to mod in without the DLL? I can give it a shot if you point me in the direction of the right file to edit.
     
    Last edited: Mar 24, 2017
  2. Honor

    Honor Immortal

    Joined:
    Nov 29, 2005
    Messages:
    739
    Location:
    Celo
    I think one way to do it would be to create new XML entries for the undead counterpart of every viable unit, and then use python to create a unit "upgrade" spell.

    Another way would be to create getUnitRace() and setUnitRace() functions, unless they already exist.
     

Share This Page