Corpse with sword problem IMPLEMENTED

Post Reply
Harrow in forum mode
Posts: 26
Joined: Wed Jan 09, 2019 10:18 pm

Corpse with sword problem IMPLEMENTED

Post by Harrow in forum mode » Sat Jan 12, 2019 11:45 pm

Whenever I kill sword melee units I only get a normal corpse not a corpse with sword like ever.
Despair, strife and HARROW for the living

User avatar
Savra
Posts: 3643
Joined: Wed Aug 01, 2018 6:21 pm

Re: Corpse with sword problem

Post by Savra » Sun Jan 13, 2019 1:06 am

I agree with this, they should drop corpse with sword.

Stratego (dev)
Site Admin
Posts: 9127
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem

Post by Stratego (dev) » Sun Jan 13, 2019 11:28 am

normal corpse will get swordman when revived?
if so than it works fine, only it would look better to have a sworded corpse.
do we have sworded corpse image already? is there any sword unit that already drops sworded corpse?

User avatar
Savra
Posts: 3643
Joined: Wed Aug 01, 2018 6:21 pm

Re: Corpse with sword problem

Post by Savra » Sun Jan 13, 2019 5:04 pm

We have a corpse with sword but we don't have any units who drop it.

Stratego (dev)
Site Admin
Posts: 9127
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem

Post by Stratego (dev) » Mon Jan 14, 2019 6:52 am

ok, i made it with "by category way" the not undead and u_melee_infantry units will drop sworded corpse by default (uos 20)

but we can owerwrite/set it individually in UNIT jsons like this:
"trnTransformOnDie": "TO_CORPSE_SWORDMAN",

these are set in transforms.json:
{"name": "TO_CORPSE_HUMAN", "units": ["UNIT_DEAD_HUMAN1"], "needs": ["TO_GAIA", "DROP_ID"]},
{"name": "TO_CORPSE_MOUNTED", "units": ["UNIT_DEAD_MOUNTED1"], "needs": ["TO_GAIA", "DROP_ID"]},
{"name": "TO_CORPSE_SPEARMAN", "units": ["UNIT_DEAD_SPEARMAN1"], "needs": ["TO_GAIA", "DROP_ID"]},
{"name": "TO_CORPSE_SWORDMAN", "units": ["UNIT_DEAD_SWORDMAN1"], "needs": ["TO_GAIA", "DROP_ID"]},
{"name": "TO_CORPSE_ARCHER", "units": ["UNIT_DEAD_ARCHER1"], "needs": ["TO_GAIA", "DROP_ID"]},
{"name": "TO_CORPSE_SHIP", "units": ["UNIT_DEAD_SHIP"], "needs": ["TO_GAIA", "DROP_ID"]},

Stratego (dev)
Site Admin
Posts: 9127
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem IMPLEMENTED

Post by Stratego (dev) » Mon Jan 14, 2019 7:36 am

also i set that spectral rider and death knight will drop corpse (as exceptions in undead race)

Post Reply

Return to “Undead”