SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Map editor - Modified hero = unable to target anything

Results 1 to 9 of 9
  1. #1
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,708

    Map editor - Modified hero = unable to target anything

    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.
    Nightmarish
    Custom Zombie Survival Map for HoN

    http://forums.heroesofnewerth.com/sh...9#post15049429

  2. #2
    Offline
    Account Icon
    Join Date
    Sep 2009
    Location
    Duluth, MN, USA
    Posts
    2,530
    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?

  3. #3
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,708
    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.
    Nightmarish
    Custom Zombie Survival Map for HoN

    http://forums.heroesofnewerth.com/sh...9#post15049429

  4. #4
    Offline
    Account Icon
    Join Date
    Sep 2009
    Location
    Duluth, MN, USA
    Posts
    2,530
    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

    maxlevel="3"

    is equal to the number of options

    manacost="5,5,5"
    cooldowntime="1000,1000,1000"

    So if you only want 1 level of the ult with a certain manacost and cooldown, just do

    maxlevel="1"

    manacost="5"
    cooldowntime="1000"

    but then you have to make sure every other value only has one option, also.
    Last edited by LonJAXsoN; 12-17-2010 at 07:20 PM.

  5. #5
    Quote Originally Posted by Techies View Post
    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.
    This is probably caused by a scripting error, you can try to look at your console to see if there was an error related to your scripts.

    If you put your scripts on pastebin or if you upload your map, I can take a look.

  6. #6
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,708
    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.
    Nightmarish
    Custom Zombie Survival Map for HoN

    http://forums.heroesofnewerth.com/sh...9#post15049429

  7. #7
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Feb 2010
    Location
    Norway
    Posts
    819
    Quote Originally Posted by Techies View Post
    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.
    This works for me to.. O.O strange

  8. #8
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,708
    Ok found the solution, you must include the resource file "base.gamemechanics" even if you didn't even make any modifications to it.
    Nightmarish
    Custom Zombie Survival Map for HoN

    http://forums.heroesofnewerth.com/sh...9#post15049429

  9. #9
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Feb 2010
    Location
    Norway
    Posts
    819
    Quote Originally Posted by Techies View Post
    Ok found the solution, you must include the resource file "base.gamemechanics" even if you didn't even make any modifications to it.
    ahh Thnx, now i no longer have the need to load my map twice :3, Thnx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •