collapse

* Important


The forum and all threads have been locked, but are still available for browsing.  There is more information about this here.


The

Is still open for article contributions.

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

Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
My mod is not working
« on: July 07, 2018, 11:42:54 pm »
So i made this mod https://steamcommunity.com/sharedfiles/filedetails/?id=1434575268
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

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2,751
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: My mod is not working
« Reply #1 on: July 08, 2018, 04:09:35 am »
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.



Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
Re: My mod is not working
« Reply #2 on: July 08, 2018, 04:35:13 am »
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

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2,751
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: My mod is not working
« Reply #3 on: July 08, 2018, 07:05:07 am »
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...



Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
Re: My mod is not working
« Reply #4 on: July 08, 2018, 02:47:10 pm »
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

Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
Re: My mod is not working
« Reply #5 on: July 09, 2018, 09:46:47 am »
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

Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
Re: My mod is not working
« Reply #6 on: July 09, 2018, 06:41:44 pm »
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

Offline Ings

  • Enchanted
  • *
  • Posts: 52
  • Country: ar
    • status game
    • View Profile
    • My (shitty) workshop
  • Mood: mood grin
Re: My mod is not working
« Reply #7 on: July 09, 2018, 09:24:28 pm »
Soo yeah i did it, i didnt need to use graphs.
I re-published the mod. here it is https://steamcommunity.com/sharedfiles/filedetails/?id=1436649904

Tags:
 

Our host and sponsor

* Quick Search


* Mod Boards Activity

* Popular Topics