Corpse with sword problem IMPLEMENTED
-
- Posts: 26
- Joined: Wed Jan 09, 2019 10:18 pm
Corpse with sword problem IMPLEMENTED
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
Re: Corpse with sword problem
I agree with this, they should drop corpse with sword.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Corpse with sword problem
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?
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?
Re: Corpse with sword problem
We have a corpse with sword but we don't have any units who drop it.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Corpse with sword problem
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"]},
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"]},
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Corpse with sword problem IMPLEMENTED
also i set that spectral rider and death knight will drop corpse (as exceptions in undead race)