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: 264
Total: 264

Author Topic: My mod is not working  (Read 2047 times)

0 Members and 96 Guests are viewing this topic.

My mod is not working
« on: »
So i made this mod
steamcommunity.com

but its not working apparently. I run the game and add or remove mods to reset the maps and make new map scrolls load but the affixes are the same as the vanilla game.
All i did was edit the affixes from GUTS, i only changed the values :'(.
Also ther are no conflicting mods

Share on Bluesky Share on Facebook


Re: My mod is not working
« Reply #1 on: »
Hey Ings. So the mod adds map scrolls? To some vendors? Why did u need to fiddle with affixes then?
Put another way: can u describe what u were going for, which files u worked with and what changes u made to them.


Re: My mod is not working
« Reply #2 on: »
My goal was to change the value of the mapscrolls affixes.
I went to Media, affixes, levels, and modified the files. For example:

Code: [Select]
[AFFIX]
<STRING>NAME:MAP_PLAYER_EXP_BONUS_5
<INTEGER>RANK:0
<INTEGER>MIN_SPAWN_RANGE:0
<INTEGER>MAX_SPAWN_RANGE:999
<FLOAT>DURATION:0
<INTEGER>WEIGHT:0
<INTEGER>SLOTS_OCCUPY:0
[EFFECT]
<STRING>NAME:map_exp_5
<STRING>ACTIVATION:PASSIVE
<STRING>TYPE:XP GAIN BONUS
<BOOL>EXCLUSIVE:true
<FLOAT>MIN:5
<FLOAT>MAX:100
[/EFFECT]
[/AFFIX]

Originally MIN was set to 20 and MAX too.
The only thing i changed were those values, in every file of this folder

Re: My mod is not working
« Reply #3 on: »
Hmmm ok. Ive never worked with level affixes before...

How are these affixes called? Like damage affixes are called from within skill DAT files - how about these? I guess the map calls them when it loads, but from which file and using what line of code, bcos there may be other settings affecting what ur trying to do...


Re: My mod is not working
« Reply #4 on: »
I think i found it. In the code i posted previously, see how it calls effect type? In this case the type is "XP GAIN BONUS". So i went to Media, and found EFFECTSLIST.DAT. There found the effect called:
Code: [Select]
[EFFECT]
<STRING>EFFECT:KEFFECT_TYPE_XP_GAIN_BONUS
<STRING>NAME:XP GAIN BONUS
<TRANSLATE>GOODDES:[VALUE]% increase in the amount of experience gained
<TRANSLATE>GOODDESOT:[VALUE]% increase in the amount of experience gained for [DURATION]
<TRANSLATE>BADDES:[VALUE]% decrease in the amount of experience gained
<TRANSLATE>BADDESOT:[VALUE]% decrease in the amount of experience gained [DURATION]
<INTEGER>MINVAL:-100
<INTEGER>MAXVAL:100
<STRING>VALUE1:MIN
<STRING>VALUE2:MAX
<STRING>VALUE3:NA
<STRING>VALUE4:NA
<STRING>VALUE5:NA
<STRING>TYPE:Value
<INTEGER>DISPLAYPRECISION:0
<FLOAT>DISPLAYPRECISIONMAXVAL:0
<BOOL>AFFIX_MODIFIES:true
[/EFFECT]

Maybe i have to set DISPLAYPRECISION to 1, so it shows the correct values on the map scrolls instead of the default values? idk what else it could be

Re: My mod is not working
« Reply #5 on: »
Wow ???. I think i found the answer randomly. I was going through old posts when i found this https://torchmodders.com/forums/guts-editor/variable-affix-ranges-on-unique-items/
He has a similar problem to me. I'll try with graphs

Re: My mod is not working
« Reply #6 on: »
So i went again to Media, affixes, levels, and modified the affixes like this

Code: [Select]
[AFFIX]
<STRING>NAME:MAP_PLAYER_EXP_BONUS_5
<INTEGER>RANK:1
<INTEGER>MIN_SPAWN_RANGE:0
<INTEGER>MAX_SPAWN_RANGE:999
<FLOAT>DURATION:0
<INTEGER>WEIGHT:0
<INTEGER>SLOTS_OCCUPY:0
[EFFECT]
<STRING>NAME:map_exp_5
<STRING>ACTIVATION:PASSIVE
<STRING>TYPE:XP GAIN BONUS
<STRING>GRAPHOVERRIDE:PERCENT
<BOOL>EXCLUSIVE:true
<FLOAT>MIN:5
<FLOAT>MAX:80
[/EFFECT]
[/AFFIX]

the graph is like this

Code: [Select]
[LINE]
<STRING>NAME:Percent
<BOOL>CURVED:false
<STRING>DATATYPE:LINE
[POINT]
<FLOAT>X:1
<FLOAT>Y:100
[/POINT]
[POINT]
<FLOAT>X:2
<FLOAT>Y:100
[/POINT]
[POINT]
<FLOAT>X:3
<FLOAT>Y:100
And so on

But the result were different than i expected:

Im going to keep working on it

Re: My mod is not working
« Reply #7 on: »
Soo yeah i did it, i didnt need to use graphs.
I re-published the mod. here it is

 

Recent Topics+-