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 »

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: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Corpse with sword problem

Post by Savra »

I agree with this, they should drop corpse with sword.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem

Post by Stratego (dev) »

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: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Corpse with sword problem

Post by Savra »

We have a corpse with sword but we don't have any units who drop it.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem

Post by Stratego (dev) »

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: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Corpse with sword problem IMPLEMENTED

Post by Stratego (dev) »

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

Return to “Archived - Undead Units, Buildings”