Elin
Not enough ratings
Pop-up XP Notification
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
179.906 KB
27 Aug @ 12:34am
27 Aug @ 1:11am
2 Change Notes ( view )

Subscribe to download
Pop-up XP Notification

Description
Pop-up XP Notification when you gain exp from performing tasks.

An updated and working version of the "Runescape Like XP Notification" that was broken in the latest update. Original mod found here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3370449488

Credit to the original author Kaska, I just tweaked their code. The issue is that *the 'a' variable in the ElementContainer args is now a 'float' instead of an 'int'. (ty Zerea)

Config file at C:\Program Files (x86)\Steam\steamapps\common\Elin\BepInEx\config\nguyen.elin.plugins.expnotifier.cfg will allow you to adjust the threshold below which XP notifications will not appear. The XP threshold must be a 'float'.

Additionally I have expanded the allowed threshold to be much lower at 0.00001 minimum so that late game gains can still be seen.

Default threshold: 0.01
Minimum threshold: 0.00001

WARNING: AVOID USING THIS MOD AT THE SAME TIME AS "Runescape Like XP Notification", THEY WILL LIKELY CONFLICT

GPT Translation:
タスクを実行して経験値(XP)を獲得すると、ポップアップ通知が表示されます。

「Runescape風XP通知」MODの更新・動作版です。元のMODは最新のアップデートで動作しなくなっていました。オリジナルのMODはこちら: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3370449488

元の作者であるKaska氏に感謝します。私はそのコードを少し調整しただけです。問題の原因は、WidgetPopText.Say メソッドの引数が (string, FontColor(列挙型), Sprite) に変更されたためです。

構成ファイル(config)は以下の場所にあります:
C:\Program Files (x86)\Steam\steamapps\common\Elin\BepInEx\config\nguyen.elin.plugins.expnotifier.cfg
このファイルで、XP通知が表示されない最小値(しきい値)を調整できます。XPしきい値は「float(小数)」です。

また、しきい値の最小値を 0.00001 にまで引き下げたため、ゲーム後半の微小なXP獲得も表示できます。

デフォルトしきい値: 0.01
最小しきい値: 0.00001

警告:「Runescape Like XP Notification」と同時にこのMODを使用しないでください。競合する可能性があります。

GPT Translation:
在完成任务并获得经验时,会弹出XP通知。

这是“类Runescape的经验值通知”模组的更新版本,原版本在最近的游戏更新后已无法使用。原模组地址:https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3370449488

感谢原作者Kaska,我只是稍微调整了他的代码。问题出在WidgetPopText.Say方法的参数发生了变化,现在需要(string, FontColor(枚举值), Sprite)参数。

配置文件路径如下:
C:\Program Files (x86)\Steam\steamapps\common\Elin\BepInEx\config\nguyen.elin.plugins.expnotifier.cfg
你可以在这里调整XP通知显示的最小阈值。这个阈值是一个float类型的数字。

另外,我将最小允许阈值降至0.00001,以便在游戏后期也能看到微小的经验获取。

默认阈值:0.01
最小阈值:0.00001


警告:请避免与“Runescape Like XP Notification”同时使用本模组,它们可能会发生冲突。


4 Comments
Jaytuple 1 hour ago 
Is it possible to update this code so we can change config using the Mod Options mod?
Kline Overdrive  [author] 27 Aug @ 3:40pm 
@Zerea Ah yes, there was that too. Thanks for the insight, I'll update the description accordingly.
Zerea 27 Aug @ 1:57pm 
I also made a forked version of the old mod for personal use that I got working. But I think you are somewhat mistaken as to what the core problem was.

It is actually nothing to do with WidgetPopText. The developer of Elin changed the variable 'a' in (ElementContainer __instance, int ele, int a, bool chain) from type int to type float, causing the old mod to produce type errors in the console. All I did for my personal copy was adjust the typing, (ElementContainer __instance, int ele, float a, bool chain) with no other changes and it worked perfectly.

FYI this is also the same problem [cjs]Minimum Potential XP and [cjs]Somewhat Balanced Permanent Potential mods are experiencing. Changing type int to type float fixes them too ^^
Urist_McGavyn 27 Aug @ 3:15am 
:steamhappy: