I'm having a problem with my map atm. I tried adding a witchslayer with a modified ulti into the mapfile. Ingame however, I can't target anything with his ulti then. If I completely replace the withslayer he can't even auto-attack a target anymore.
How to edit a hero's skills:
Navigate to resources0.s2z/heroes
Copy the desired hero folder.
Create a folder titled "resources", then a subfolder called "heroes"
Paste the hero's folder into the "heroes" folder
Edit the ability.entity, projectile.entity, whatever.
Zip up all the map files including the resource folder, change extension to .s2z.
What did you do to witch slayer's files?
Just changed the cooldowns and manacost. Did exactly what you mentioned above.
I also tried putting in the scorpion dota port into the mapfile. Had the same effect, the hero couldn't target enemy units directly.
Well that's odd.. i don't know what to tell you. I've been editing devourer's spells with no problem. Oh, you're making that mod where you have to kill the incoming creeps, aren't you?
I'll try doing it quick..
I got it to work first try. Make sure that
is equal to the number of options
So if you only want 1 level of the ult with a certain manacost and cooldown, just do
but then you have to make sure every other value only has one option, also.
Ok I've noticed something:
1. If I start up HoN and load my map, I get the invalid target message.
2. If I start up HoN and load Caldavar first, disconnect, then load my map. everything works.
Ok found the solution, you must include the resource file "base.gamemechanics" even if you didn't even make any modifications to it.