News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 296
Total: 296

Author Topic: [TL2] WTFH is the Charge Bar?  (Read 2850 times)

0 Members and 125 Guests are viewing this topic.

Re: [TL2] WTFH is the Charge Bar?
« Reply #15 on: »
Hi @Lord Nyriox !

That explains how "burst"-type Charge mechanics work (Berserker / Embermage), but what about "scaling"-type Charge mechanics (like the Outlander)? 

It depends on the event being monitored. In the case of the Arbiter, the event MAXEDCHARGE is either true or false (a burst as u put it).  For the Wanderer, the event is the state of the affix "WANDERER_PASSIVES.DAT" (in MEDIA/AFFIXES/PLAYER/).

If u look inside that affix it is modified by the state of the STAT "Player Charge Percent"

Code: [Select]
<STRING>STATMODIFYNAME:Player Charge Percent
<STRING>STATMODIFYPERCENT:100
<BOOL>SAVE:true
<BOOL>EXCLUSIVE:true
<FLOAT>MIN:0.1
<FLOAT>MAX:0.1
<STRING>STAT_SOURCE_TYPE:ON UPDATE SELF

Which says something like "on update self, use 100% of the value of Player Charge Percent, multiply it by 0.1 and use that value to adjust EFFECT TYPE".

The STAT "Player Charge Percent" is predefined; I'm not sure how, but all it does is read what percentage of maximum charge youre at.  So it "slides" up and down and thus produces a scaling impact on the above affix.
« Last Edit: June 06, 2018, 09:27:11 am by Phanjam »


Re: [TL2] WTFH is the Charge Bar?
« Reply #16 on: »
Thanks, @Phanjam


…Of course, I only noticed your reply after I had already spent the day implementing a Charge-mechanic based on the wiki page I finally noticed the existence of.  ;} 

I ended up copying over the base Charge Affix from the "Nethermancer" class.  The Nether is ultimately the original source of Ember Blight, after all—and Blighted madness was going to be the theme for my Charge system anyway.  :P 

The Charge-bar graphic I chose, is from the "Dragonborn" class.  That one seems to be the best visual fit for the style of my class. 


And of course, I went ahead and used a Passive Skill to attach the Affix to the Emberdrake class ("friendly charge-bar passives").  I even gave the Skill some flavor text and an appropriate icon.  After all, why not go all the way?   ;} 

Next session will be to actually build and test the mod in-game (to make sure I did not break something significant). 
« Last Edit: July 29, 2018, 02:08:07 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Re: [TL2] WTFH is the Charge Bar?
« Reply #17 on: »
whoah uve been busy! im sure the research will pay off ;)

will wait for the next EmberDrake update!


Re: [TL2] WTFH is the Charge Bar?
« Reply #18 on: »
@Phanjam

The ported Charge-system code is fully functional.  It may need some tweaks to the tooltip size and alignment (for readability), but it definitely works, and will be included in the next build. 

I will, of course, be tweaking the balance of the Charge Affix, now that I understand what it does in-game. 

For a more technical explanation of what I have found, see below. 

If you would like, I can also write a proper step-by-step tutorial on how to use Nethermancer-like Charge scaling.  ;}

Spoiler: Detailed Explanation (hover to show)
« Last Edit: July 29, 2018, 02:10:20 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Re: [TL2] WTFH is the Charge Bar?
« Reply #19 on: »
it definitely works, and will be included in the next build. 

Yeboiii!


 

Recent Topics+-