Torchmodders
Modding => Modding Questions => Topic started by: Haxley on April 16, 2017, 11:25:53 pm
-
Firstly, hey guys! I hope everyone is well :)
First question: I have a skill that loops. The [START] animation applies a layout, and the [LOOP] animation simply keeps it active. The layout applies an affix that lasts a set duration, and is re-applied by the same damage shape if it wears off.
I'm running into a strange issue where, no matter what I set the duration on the affix to, it only lasts 2 seconds. Even if the duration is 30 seconds, and re-applies itself and renews to 30 seconds, after 2 seconds the affix will remove completely. There is no EVENT_END, and the skill does not end because the Particle Layout and the Damage Shape themselves are in fact still running. Does anyone know what could be going on here?
----------------------------------------------------------------------------------------------------------------
Second question: I'm attempting to add '+1 to X skill' via an item. I've tried the effect tab, using Dynamic/Passive, and I've also tried creating the affix itself and putting it on the item, again, using both Dynamic/Passive.
I've used the same affix and applied it via a skill, and it worked, so the affix is functional.
Is there any way, even roundabout, to achieve this? My end goal is to have an item, that when equipped, increases the rank of one skill, by one point.
-
Firstly, hey guys! I hope everyone is well :)
First question: I have a skill that loops. The [START] animation applies a layout, and the [LOOP] animation simply keeps it active. The layout applies an affix that lasts a set duration, and is re-applied by the same damage shape if it wears off.
I'm running into a strange issue where, no matter what I set the duration on the affix to, it only lasts 2 seconds. Even if the duration is 30 seconds, and re-applies itself and renews to 30 seconds, after 2 seconds the affix will remove completely. There is no EVENT_END, and the skill does not end because the Particle Layout and the Damage Shape themselves are in fact still running. Does anyone know what could be going on here?
post your skill code and affix codes
could be the skill itself setting a duration and you missed it.
Second question: I'm attempting to add '+1 to X skill' via an item. I've tried the effect tab, using Dynamic/Passive, and I've also tried creating the affix itself and putting it on the item, again, using both Dynamic/Passive.
I've used the same affix and applied it via a skill, and it worked, so the affix is functional.
Is there any way, even roundabout, to achieve this? My end goal is to have an item, that when equipped, increases the rank of one skill, by one point.
not 100% sure if this will work
@RnF should be able to help you better on this one.
but heres something i thought of on the fly.
1. make a triggerable that triggers on add stat, grant you the affix
2. make a triggerable that triggers on reduce stat, remove the affix
3. give your character the 2 triggerables, you can do it via a hidden passive or directly on the unit file.
4. make an item that gives your custom stat to you
heres a summary of the mechanics.
>when you equip the item you will gain a stat by adding it to your character
>this will trigger the 1st triggerable and grant you the +1 to X skill affix
>when you unequip the item you will reduce your stat on your character
>this will trigger the 2nd triggerable to remove the affix
ive never dabbled with items much, not really sure if a stat is reduced/taken away when you unequip a weapon that gives it to you
you can easily run a quick test to see if this works.
-
I'm attempting to add '+1 to X skill' via an item.
Maybe this will help you: http://forums.runicgames.com/viewtopic.php?f=57&t=56590
-
Thanks for pointing out that post Kva - it's really good knowledge in there... ;)
-
So, to update:
Items cannot add, remove, or otherwise affect stats, via affix or the direct Effects tab.
I am not sure why this is, but it indeed is.
I have found the forum post to be the correct direction I should go with this attempt.
I wasn't sure about the CHARM SKILL effect, though? How to edit it, to start, and to follow, if editting it is working, why couldn't we clone it and create a new effect based on it?