News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
July 15, 2019, 06:19:02 PM
collapse

*
Information

Please contribute to our


Sign up for a forum account at the Front Page. | Remember to Tag your posts.
Having problems logging in to the forums? Go the front page, log out and back in again.

Author Topic: [Stats], [Effects] & [Charges]  (Read 252 times)

Offline Rhythmier

  • Common
  • *
  • Posts: 36
    • View Profile
[Stats], [Effects] & [Charges]
« on: June 20, 2019, 06:01:03 AM »
okay, so I'm currently trying to "fix" my class's charge bar skill [Respite] to re-balance the challenges a bit.

TLDR, I need help with [Stat] and understanding how Engineer Charge Bar works

Here's how to skill works:
Quote
Whenever the caster cast [a certain skill] that consume a charge (like engineer), if it's an defensive buff it'll proc [Respite], which grant affected allies 3 sec of bubble, and a bunch of status resistance. The damage absorbed by the bubble are affected by caster's level.

Now my problem is that initially, I didn't want to the bubble to be invulnerable, which means if players went and bit more than they can chew, the bubble will break, along with all of its benefit. I had a nice balance figure to work it out when leveling in game, including [Path of Torchlight] mod by @Darkthan9800

Up until I try Synergies Darkness Fall

Even mini bosses start 1 shot the bubble whenever I cast it.  So in the end I had to bump up the numbers to ludicrous amount to suffer at least 1 hit from bosses, resulting completely OP in leveling period, and I want my class to be enjoyable during leveling and not just endgame, many hours had been put into thoughts and play test to ensure that too (at least for me)

I had an idea currently to make it work. First I create a [Stat] just like railmanchargebonus, and when I cast [a certain skill], It'll [convert charges to stat], and the bubble will have the [stat name] and [stat percent] base on such. Here's what I did with [Salvation]. note that [Respite] does not only proc from this skill, there's other skill that proc this skill as well.

Quote
   [LEVEL1]
      [EVENT_START]
         <BOOL>ATTACHES:1
         [STATWATCHER]
            <STRING>STAT:PLAYER CHARGES
            <STRING>PRIMARY_TARGET_TYPE:SELF
            <STRING>SECONDARY_TARGET_TYPE:VALUE
            <STRING>WATCH_TYPE:LESS THAN
            <FLOAT>SECONDARY_VALUE:1
         [/STATWATCHER]
      [/EVENT_START]
      [EVENT_START]
         <STRING>FILE:media/skills/lightbringer/chargedeffect/judgement_warmup.layout
         <BOOL>ATTACHES:1
         <BOOL>STATSHIDDEN:1
         [STATWATCHER]
            <STRING>STAT:PLAYER CHARGES
            <STRING>PRIMARY_TARGET_TYPE:SELF
            <STRING>SECONDARY_TARGET_TYPE:VALUE
            <STRING>WATCH_TYPE:GREATER THAN
            <FLOAT>SECONDARY_VALUE:0
         [/STATWATCHER]
         [EFFECTS]
            <STRING>TARGET:SELF
            [EFFECT]
               <STRING>NAME:lightbringer_respite       <= the stat name
               <STRING>ACTIVATION:DYNAMIC
               <STRING>DURATION:INSTANT
               <STRING>TYPE:CONVERT CHARGE TO STAT
               <FLOAT>VALUE:0
            [/EFFECT]
         [/EFFECTS]
      [/EVENT_START]
      [EVENT_TRIGGER]
         <STRING>FILE:media/skills/lightbringer/salvation/salvation placeholder 1.layout
         <BOOL>NOSTEALEFFECTS:0
         <BOOL>STATSHIDDEN:1
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PET
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:SELF
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PLAYER
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [STATWATCHER]
            <STRING>STAT:LIGHTBRINGER_RESPITE
            <STRING>PRIMARY_TARGET_TYPE:SELF
            <STRING>SECONDARY_TARGET_TYPE:VALUE
            <STRING>WATCH_TYPE:LESS THAN
            <FLOAT>SECONDARY_VALUE:1
         [/STATWATCHER]
      [/EVENT_TRIGGER]
      [EVENT_TRIGGER]
         <STRING>FILE:media/skills/lightbringer/salvation/salvation placeholder 1.layout
         <BOOL>NOSTEALEFFECTS:0
         <BOOL>STATSHIDDEN:1
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PET
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:SELF
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PLAYER
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
         [STATWATCHER]
            <STRING>STAT:LIGHTBRINGER_RESPITE
            <STRING>PRIMARY_TARGET_TYPE:SELF
            <STRING>SECONDARY_TARGET_TYPE:VALUE
            <STRING>WATCH_TYPE:GREATER THAN
            <FLOAT>SECONDARY_VALUE:0
         [/STATWATCHER]
         [EXECUTE_SKILL]
            <STRING>SKILL:RESPITE - 6M        <= Executed [Respite] here, same as other skills who proc this
         [/EXECUTE_SKILL]
         [EFFECTS]
            <STRING>TARGET:SELF
            [EFFECT]
               <STRING>ACTIVATION:DYNAMIC
               <STRING>DURATION:INSTANT
               <STRING>TYPE:ADD CHARGES     <= Reduce charge by 1 after said [stat] have calculate the total charge before deduction
               <FLOAT>MIN:-1         
               <FLOAT>MAX:-1
            [/EFFECT]
         [/EFFECTS]
      [/EVENT_TRIGGER]
      [EVENT_TRIGGER_FOUR]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PET
            <STRING>AFFIX:LIGHTBRINGER_SALVATION_1
         [/AFFIXES]
      [/EVENT_TRIGGER_FOUR]
   [/LEVEL1]


And there's [Respite] that proc;

Quote
[SKILL]
   <STRING>NAME:Respite - 6m
   <TRANSLATE>DISPLAYNAME:Respite
   <STRING>SKILL_ICON:skillicon_divineshield
   <STRING>ACTIVATION_TYPE:NORMAL
   <STRING>TARGET_ALIGNMENT:GOOD
   <FLOAT>RANGE:10
   <FLOAT>FINDTARGETANGLE:360
   <FLOAT>TURNRATEOVERRIDE:-1
   <BOOL>HIDDEN:1
   <BOOL>CAN_BE_SILENCED:0
   <INTEGER64>UNIQUE_GUID:1779625509979859292
   [LEVEL1]
      [EVENT_START]
         <STRING>FILE:media/skills/6m aoe.layout
         <BOOL>STATSHIDDEN:1
         <BOOL>CAN_CLONE:0
         [AFFIXES]
            <STRING>TARGET:SELF
            <STRING>AFFIX:LIGHTBRINGER_PROC_RESPITE2
         [/AFFIXES]
         [AFFIXES]
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PET
            <STRING>AFFIX:LIGHTBRINGER_PROC_RESPITE2
         [/AFFIXES]
         [AFFIXES]
            <STRING>TARGET:FRIEND
            <STRING>TARGETTYPE:PLAYER
            <STRING>AFFIX:LIGHTBRINGER_PROC_RESPITE2
         [/AFFIXES]
      [/EVENT_START]
      [EVENT_END]
         <BOOL>CAN_CLONE:0
         [EFFECTS]
            <STRING>TARGET:SELF
            [EFFECT]
               <STRING>NAME:lightbringer_respite
               <STRING>ACTIVATION:DYNAMIC
               <STRING>DURATION:INSTANT
               <STRING>TYPE:CLEAR STAT       <= Clearing [stat] to avoid multiple stack that can benefit other [Respite] proc
               <FLOAT>MIN:0
               <FLOAT>MAX:0
               <FLOAT>CHANCE:100
            [/EFFECT]
         [/EFFECTS]
      [/EVENT_END]
   [/LEVEL1]
[/SKILL]


And it worked, to some point.

[Respite] will now scale with my charge bar, as well as character level. I can tweak the [stat percent] at the affixes to fit my intended play style.

But for some reason after the 1st cast from a "drained charge bar" (always the first cast), the 1st cast would show the correct about, but the next cast, no matter how many charges I have, it'll always add 1 more extra charge to it, and only once. After that its back to normal again.

And for some reason, it now instead of deducting 1 charge, it deletes everything.  :'(

I've been scratching  my head for days with this one. If anyone have any idea where I did wrong, I'm ready to learn.  :'(

p/s: sorry for the wall of text, I type this ASAP while baby sitting. Didn't noticed I had so much here

Offline Rhythmier

  • Common
  • *
  • Posts: 36
    • View Profile
Re: [Stats], [Effects] & [Charges]
« Reply #1 on: June 22, 2019, 07:50:52 PM »
Nvm I've figure it out, almost pull my hair bold for this one  :D

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2689
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Stats], [Effects] & [Charges]
« Reply #2 on: June 23, 2019, 12:51:26 PM »
Hey sorry for the late reply Rhythmier!

I also saw you updated Lightbringer - with your new fix? I'll update my download as well ;)

You're really a sharp modder now / keep it up!



Offline Rhythmier

  • Common
  • *
  • Posts: 36
    • View Profile
Re: [Stats], [Effects] & [Charges]
« Reply #3 on: June 25, 2019, 04:45:26 PM »
Thanks @Phanjam  :D

Only wishes I have more time to continue finish the mod. Do you have any links where I can learn how to make Icons/Compile the Icons in a "picture" like they do in GUTs? I'm gonna need some time to learn those I supposed as I only have mid night to work at.

Offline lolesch

  • Rare
  • *
  • Posts: 193
  • Country: de
    • status ready
    • View Profile
  • Mood: mood rolleyes
Re: [Stats], [Effects] & [Charges]
« Reply #4 on: June 25, 2019, 07:30:29 PM »
I use photoshop but you can use every other program too. Skills inside these programs come with time working at it. If you have some detailed questions feel free to ask.
When I create skill icons I copy paste an existing one to keep the same grid size. I can dig up a .psd with the basic layout. After Iíve created the colored icons I remove the saturation and save that as the Disabled skills. Now you have to copy paste the text files with the locations and rename all the code lines within or delete unnecessary lines. Else GUTS will through an error failing to load 2 icons with the same name.
This is all I have in mind without sitting in front of it.
Cheers
lolesch
some projects in progress

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2689
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Stats], [Effects] & [Charges]
« Reply #5 on: June 26, 2019, 01:53:02 AM »
@Rhythmier i agree with @lolesch best way is to use an existing iconsheet image file as a guide and just overlay your new images, then just revise the partner .IMAGESET file to use new image names for your new overlayed icons.

Because I have found trying to make your own iconsheet and imageset files is very unreliable for some reason. If you want to read more on how imageset files work with iconsheets, see this wiki article.

If youre in a hurry you can find / use free icons. @Epoch posted about the Icon Hive site where he gets some of his icons. But if you enjoy making art, you can make your own icons of course. Here's a short tutorial for some armor icons (but skill icons are harder :P ).



Offline Sch123

  • 🎮 & 💡
  • Legendary
  • *
  • Posts: 881
  • Country: 00
    • status game
    • View Profile
  • Mood: mood cheesy
Re: [Stats], [Effects] & [Charges]
« Reply #6 on: June 26, 2019, 12:37:03 PM »
@Rhythmier You can also give a single icon manually. Directly gives the icon Path file that we want to add.

The disadvantage is that we cannot see the icon on GUTS because giving a single icon I don't think requires. IMAGESET, but I think we can get more control because we know what icon we want to add.

You need a single Icon .png or other image file then just convert it to .dds
Of course you also need to adjust the size so it's not too big or small (I forgot the exact size for Torchlight 2 Icon).


Example file path:

Code: [Select]
<STRING>SKILL_ICON:media/ui/icons/skills/abilityicons/monk/thousandfists.dds
<STRING>SKILL_ICON_INACTIVE:media/ui/icons/skills/abilityicons/monk/thousandfistsb.dds

This is what I do because I still can't make my own iconsheet and imageset files. :P
« Last Edit: June 26, 2019, 12:39:25 PM by Sch123 »

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2689
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Stats], [Effects] & [Charges]
« Reply #7 on: June 26, 2019, 03:13:07 PM »
@Sch123 wow ive never seen this method before now! Thanks for sharing; im sure it will come in useful for other things too! ;)



Offline Rhythmier

  • Common
  • *
  • Posts: 36
    • View Profile
Re: [Stats], [Effects] & [Charges]
« Reply #8 on: July 02, 2019, 07:07:35 AM »
@Phanjam  @Sch123   @lolesch

Thanks for the tips guys, will get into it once I have more free time on hand. Leisure time is a luxury for me currently  ::)

Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Mod Boards Activity

* Who's Online

  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

July 2019
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 [15] 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

No calendar events were found.

* Recent Topics

Hacker Class Mod by Phanjam
[Today at 12:18:23 PM]


Heya folks! by Phanjam
[Today at 12:15:52 PM]


Tenebris class, I need to know... by Phanjam
[July 14, 2019, 03:28:27 AM]


Would like to complete the Wiki Lore by steffire3
[July 13, 2019, 03:35:54 AM]


Variant Classes Mod Information by Phanjam
[July 13, 2019, 01:58:16 AM]


Skills Expansion: Rebalanced Native Skills by lemon 'nade
[July 08, 2019, 03:33:01 PM]


Hosting for 2019 by Kva3imoda
[July 07, 2019, 11:01:48 AM]


Need Help: a problem in GUTS by Sch123
[July 03, 2019, 08:27:13 AM]


Poll: Your 4 favorite kinds of Class Combat Styles? by Phanjam
[July 03, 2019, 05:57:16 AM]


[Stats], [Effects] & [Charges] by Rhythmier
[July 02, 2019, 07:07:35 AM]


Lightbringer Mod (Paladin) by Rhythmier
[July 02, 2019, 07:05:39 AM]


Big Quality Mod List by steffire3
[June 29, 2019, 08:18:03 PM]


Combined Stat Totals not listed by steffire3
[June 29, 2019, 08:06:12 PM]


Summoner Class Mod List by steffire3
[June 29, 2019, 07:20:15 PM]


Torchmodders Patreon Page by Phanjam
[June 29, 2019, 01:37:45 PM]

* Popular Topics