PDA

View Full Version : [Support] Changing Moraxus Shield to give +Charges on a different skill



ScreenShotx
01-13-2011, 12:44 PM
Hey, so yeah people wanted me to make the Moraxus Shield to give +charges on the Javeline, (Valkyrie Wars,check my sig if you don't have a idea what im talking about :D)

But i can't get it to work at all...i screwed the Arcane shield entity so bad..that i had to delete it..didn't create backup :P Right now it kills the enemy that you manage to "Absorb" the skill from....but people want it to give + Arrows charge...and I'm having a hard time...really hard time...I know almost nothing about scripting...i have tried to learn it from several websites...but it seems so hard to learn, so i need help with it...anyone kind enough to help me with that?


I just want the Shield to work like this:

Each time you manage to "Absorb" a skill, you will get +1 Arrow and you can only get +arrows by Absorbing skills

:( I'm a sad :pand:

Oloko
01-13-2011, 03:33 PM
Hey, so yeah people wanted me to make the Moraxus Shield to give +charges on the Javeline, (Valkyrie Wars,check my sig if you don't have a idea what im talking about :D)

But i can't get it to work at all...i screwed the Arcane shield entity so bad..that i had to delete it..didn't create backup :P Right now it kills the enemy that you manage to "Absorb" the skill from....but people want it to give + Arrows charge...and I'm having a hard time...really hard time...I know almost nothing about scripting...i have tried to learn it from several websites...but it seems so hard to learn, so i need help with it...anyone kind enough to help me with that?


I just want the Shield to work like this:

Each time you manage to "Absorb" a skill, you will get +1 Arrow and you can only get +arrows by Absorbing skills

:( I'm a sad :pand:

Replace the <kill ... /> with:

<pushability source="source_entity" name="Ability_XXXX" />
<addcharges entity="stack_entity" count="1" />

I didn't test it but it should work. It might not be source_entity as the source for the push.

Luke_Allstar
01-13-2011, 03:59 PM
that's really a tough one

only thing i could think off was doing something similar like they did with dampeer
he has charges on his ult, and depending on the number of charges, there are different modifiers
the other skills then check which modifier it is and it does a different amount of damage

my idea was setting a modifier when you catch a javelin
and on the javelin throw, when that modifier is active, you instantly reset cooldown on the javelin skill
i tried it but it doesn't work for me atm, either i set the modifiers wrong, or i used the resetcooldowns thing wrong

i'm not really good at scripting either atm, but that -could- work
maybe i have to set charges too, they did it in dampeers ult but i'm not sure why, since they got the modifiers already, i'll try a bit more around with it tommorow i think, but maybe you find another way :S

ScreenShotx
01-14-2011, 05:36 AM
Replace the <kill ... /> with:

<pushability source="source_entity" name="Ability_XXXX" />
<addcharges entity="stack_entity" count="1" />

I didn't test it but it should work. It might not be source_entity as the source for the push.
Thnx alot Oloko!, i will try this when i get home ;)

that's really a tough one

only thing i could think off was doing something similar like they did with dampeer
he has charges on his ult, and depending on the number of charges, there are different modifiers
the other skills then check which modifier it is and it does a different amount of damage

my idea was setting a modifier when you catch a javelin
and on the javelin throw, when that modifier is active, you instantly reset cooldown on the javelin skill
i tried it but it doesn't work for me atm, either i set the modifiers wrong, or i used the resetcooldowns thing wrong

i'm not really good at scripting either atm, but that -could- work
maybe i have to set charges too, they did it in dampeers ult but i'm not sure why, since they got the modifiers already, i'll try a bit more around with it tommorow i think, but maybe you find another way :S

Thnx for telling me :D, if somehow Oloko's wise words were wrong i will try this out...but i doubt Oloko is ever wrong :P

Thnx alot guys, if u had boobs i wud rape u both atm :)