|
|
Hi, I'm actualy trying to make a map where on of the heroes is modified (Devourer). I succesfully changed his third ability to modify hook radius thanks to this code :
//Devourer Ability 3//
<?xml version="1.0" encoding="UTF-8"?>
<ability
name="Ability_Devourer3"
icon="icon.tga"
maxlevel="8"
requiredlevel="1,2,3,4,5,6,7,8"
actiontype="passive"
modifierkey="Devourer_Ability3_1,Devourer_Ability3 _2,Devourer_Ability3_3,Devourer_Ability3_4,Devoure r_Ability3_5,Devourer_Ability3_6,Devourer_Ability3 _7,Devourer_Ability3_8"
>
</ability>
then by adding thoses lines in projectile.entity:
<modifier key="Devourer_Ability3_1" modpriority="200"
touchradius="85"
/>
etc... until Devourer_Ability3_8
That works fine , but I also tried to make the same thing with the second ability to modify the hook speed. It doesnt work , it seems that it's a problem of priorirty because with only 1 spell upgraded , it works, but with the both it doesnt. I tried without priority, with different , with same, nothing works.
I'm not sure I was clear but if a S2 games develeper can help me (I'm dreaming I guess ^^) I will be very happy.
Sincerly yours,
I'm making dev wars too, ran into the same problem, actually.
I have the first spell, which is an active, upgrade the length of the hook. That was easy. I have the second spell, passive, upgrade the speed... works fine. I have the third spell, passive, upgrade the radius... works fine. But when the second and third spells both have levels in them, only one works.
The fourth passive will be damage for the hook, after i figure out this priority crap.
How much do you have done? Maybe we can work together on this since they probably won't approve two separate dev wars maps... I guess I shouldn't ASSUME you're doing dev wars.
Last edited by LonJAXsoN; 12-17-2010 at 04:33 PM.
This post is still open for help about the modifierkey priority stuff etc... or if you need help to change heroes ability.