[Release] Heroes of Newerth LAN Edition by Sordi

05/20/2010 20:31 ifrit21#586
do u guys have any idea of making a the cooldown of a ability start when u use the ability
like
<onimpact>
apply ability
apply cooldown
<onimpact>
05/20/2010 20:31 Ishigo87#587
I prefer Sordit the LAN Thieft(Agility), hope you donīt make it more powerful than it needs to be.
PS: Nice work Sordi, keep up the good work.
05/20/2010 20:36 ifrit21#588
sordit i cant post on ur forum dude the new button topic doesnt appear
05/20/2010 20:39 Sordi#589
Quote:
Originally Posted by ifrit21 View Post
do u guys have any idea of making a the cooldown of a ability start when u use the ability
like
<onimpact>
apply ability
apply cooldown
<onimpact>
<startcooldown toolname="Ability_Gadget_Scout2_2" duration="10000"/>

But it looks like its not working in our engine.
05/20/2010 20:51 ifrit21#590
ooo its because i manage for scout to make the 4 attacks and get out of invi but the problem is that u have to press the button again so that cooldown starts
maybe u can check the code ill put it here

<?xml version="1.0" encoding="UTF-8"?>
<ability
name="Ability_Scout1"

icon="icon.tga"
statuseffecttooltip="State_Scout_Ability1"

maxlevel="4"
requiredlevel="1,3,5,7"

anim="ability_1"
casttime="0"
castactiontime="0"
frontqueue="true"
inheritmovement="true"

actiontype="toggle"
casteffecttype=""

activemanacost="2,3,4,5"
manacost="50,75,100,150"
cooldowntime="24000,18000,12000,6000"
toggleoffmanacost="0"


targetscheme=""
>
<ontoggleon>
<applystate name="State_Scout_Ability1" istoggle="true" />
</ontoggleon>

<ontoggleoff>
<startcooldown duration="24000,18000,12000,6000" />
</ontoggleoff>


</ability>

The state.entity is

<?xml version="1.0" encoding="UTF-8"?>
<state
name="State_Scout_Ability1"

icon="icon.tga"
passiveeffect="effects/state.effect"

stealthtype="hero"
fadetime="500"
unitwalking="true"
movespeedmultiplier="0.25"

effecttype="StatusBuff"
>
<oninflict>
<forgetattacks />
<startfade />
</oninflict>

<onattackstart>
<applystate name="State_Scout_Ability1_Attack" target="source_entity" duration="4000" />
<playanim name="strong_attack_1" speed="source_attackspeed" target="source_entity" />
<expire />
</onattackstart>

<expire />
<onexpired>
<startcooldown duration="24000,18000,12000,6000" />
</onexpired>


<onactivatepreimpact>
<expire />
</onactivatepreimpact>
</state>
05/20/2010 21:04 Sordi#591
Quote:
Originally Posted by ifrit21 View Post
ooo its because i manage for scout to make the 4 attacks and get out of invi but the problem is that u have to press the button again so that cooldown starts
maybe u can check the code ill put it here
Next time use code-tags. Whats the Problem with his attack? Its working as it should?
05/20/2010 21:26 ifrit21#592
his first ability works fine. he makes the 4 hits and gets out of invi, the problem is the cooldown, the ability doesnt toggle off, but rather stays on and u have to manually toggle it off to start cooldown. i was trying to make a workaround in which u can use the old ability cooldown, activation and make the cooldown when he comes out of invisibility but no go
05/20/2010 21:37 Sordi#593
So you just use <toggleoff name="Ability_Scout1" />
05/20/2010 21:48 pureevil29#594
Quote:
Originally Posted by Sordi View Post
Sound VERY Cool to me. But donīt make it tooo powerful, so I can use him in the games. ;)
Don't worry, he won't be too powerfull, there will be a negative side to some of his abilities so it will be always a trade-off... like: I turn invisible but take damage, or I make my enemies invisible but damage them... You will have to play him smart to win so lots of strategy involved... also his abilities will consume lots of mana too, and since he is an agility heroe he won't be able to cast his spells more than a few times...
05/20/2010 21:51 ifrit21#595
mmm dont know where to put it maybe u could help me out on that code. Damn cant get it to work rite!!
05/20/2010 21:54 Sordi#596
Quote:
Originally Posted by pureevil29 View Post
Don't worry, he won't be too powerfull, there will be a negative side to some of his abilities so it will be always a trade-off... like: I turn invisible but take damage, or I make my enemies invisible but damage them... You will have to play him smart to win so lots of strategy involved... also his abilities will consume lots of mana too, and since he is an agility heroes he won't be able to cast his spells more than a few times...
Really good. I ilke the idas. Canīt wait till I can test him. ;)
Oh and so many downloads but no Bugreports yet. Noone tested or noone found bugs yet? ^^

@ifrit21: I donīt have time right now. But I will take a look at the attack tomorrow. If you find any bugs, report them at honlan.co.cc please. I made a forum for bugreports.
05/20/2010 22:06 ttiiwwii#597
i keep getting corrupt files on part 4 no matter how many times i re-downloaded it..
but now i got the game working with corrupt file on part 4 that i didn't know and seems no problem..
checking: nomad's skill no. 2 and i didn't see any animations (still error i think)

i think i'll try re-download again next day and bug searching because now 3:00 pm at my country..
so sleepy -.-
05/20/2010 22:34 Sordi#598
Quote:
Originally Posted by ttiiwwii View Post
i keep getting corrupt files on part 4 no matter how many times i re-downloaded it..
but now i got the game working with corrupt file on part 4 that i didn't know and seems no problem..
checking: nomad's skill no. 2 and i didn't see any animations (still error i think)

i think i'll try re-download again next day and bug searching because now 3:00 pm at my country..
so sleepy -.-
I already added some mirrors in the first post. Try to download from another hoster. Maybe your connection is better to another filehoster. The file itself is ok. Alot ppl already loaded it and it seem to work.
05/20/2010 22:51 .GL.#599
Quote:
Originally Posted by ttiiwwii View Post
i keep getting corrupt files on part 4 no matter how many times i re-downloaded it..
but now i got the game working with corrupt file on part 4 that i didn't know and seems no problem..
checking: nomad's skill no. 2 and i didn't see any animations (still error i think)

i think i'll try re-download again next day and bug searching because now 3:00 pm at my country..
so sleepy -.-
ANd if it just keeps happening no matter what try to update your winrar ;)
05/20/2010 23:34 pureevil29#600
Quote:
Originally Posted by Sordi View Post
Really good. I ilke the idas. Canīt wait till I can test him. ;)
Oh and so many downloads but no Bugreports yet. Noone tested or noone found bugs yet? ^^

@ifrit21: I donīt have time right now. But I will take a look at the attack tomorrow. If you find any bugs, report them at honlan.co.cc please. I made a forum for bugreports.
Sorry partner I can only test it on weekends, but after this coming WE I shall have a clear Idea of any bugs and I will also suggest ways of fixing them :) It is time to do more!