The Ultimate Introduction to Modding | Starting out? Read this!

Currently viewing this thread:

MadVader

Duke
M&BWB
Best answers
0
The sequence you are looking for is 1520 3 x x -value, not literally the example sequence I gave. You can try find all "1520..." sequences and identify the right one ENDING with a negative number. If the code is more complicated and there's no negative value anywhere at the end of the sequence, then they use variables and it's too complex for you to do anything.
That -2 you changed to 0 is part of another instruction, you simply don't know what you are doing. It's probably part of a calculation to determine by how much to increase or decrease attributes, using a variable to store the value.
This is what happens in pseudo code:
change = change * (-2) // 2107 2 1224979098644774913 -2
change_some_attribute by (change) // 1520 3 ? ? 1224979098644774913 (it's a guess, since you cut off the instruction)

Anyway, if the same code both raises and lowers attributes (as above), and you want to keep one but get rid of the other, it's much more complicated to accomplish this. If you multiply the change by 0, you'll always get no change, as you found out. Just live with it.

Edit.
This here is not the place to talk about individual changes at the Module System, go to the Q&A board for this.
You are right and this is futile anyway.
 

Rotrules

Recruit
Best answers
0
Stop using this thread for your discussion
The sequence you are looking for is 1520 3 x x -value, not literally the example sequence I gave. You can try find all "1520..." sequences and identify the right one ENDING with a negative number. If the code is more complicated and there's no negative value anywhere at the end of the sequence, then they use variables and it's too complex for you to do anything.
That -2 you changed to 0 is part of another instruction, you simply don't know what you are doing. It's probably part of a calculation to determine by how much to increase or decrease attributes, using a variable to store the value.
This is what happens in pseudo code:
change = change * (-2) // 2107 2 1224979098644774913 -2
change_some_attribute by (change) // 1520 3 ? ? 1224979098644774913 (it's a guess, since you cut off the instruction)

Anyway, if the same code both raises and lowers attributes (as above), and you want to keep one but get rid of the other, it's much more complicated to accomplish this. If you multiply the change by 0, you'll always get no change, as you found out. Just live with it.

Edit.

You are right and this is futile anyway.
In case you are curious, here's the whole code involving doomsday:

ketele_punishment -1
54 21 1 1224979098644774912 22 1 1224979098644774913 2322 2 1 1224979098644774912 2173 2 1224979098644774914 1224979098644774912 2335 2 2 1224979098644774914 2133 2 72057594037927949 1224979098644774913 4 0 2149 2 1224979098644774915 1224979098644774912 2108 2 1224979098644774915 8 1529 2 1224979098644774912 1224979098644774915 3 0 4 0 2107 2 1224979098644774913 -2 1520 3 1224979098644774912 0 1224979098644774913 1520 3 1224979098644774912 1 1224979098644774913 1520 3 1224979098644774912 2 1224979098644774913 1520 3 1224979098644774912 3 1224979098644774913 3 0 4 0 2172 3 1224979098644774916 1224979098644774912 0 2172 3 1224979098644774917 1224979098644774912 1 2172 3 1224979098644774918 1224979098644774912 2 2172 3 1224979098644774919 1224979098644774912 3 3221225504 2 1224979098644774916 0 3221225504 2 1224979098644774917 0 3221225504 2 1224979098644774918 0 2147483680 2 1224979098644774919 0 1550 2 1224979098644774912 432345564227567648 4 0 33 3 1224979098644774912 360287970189640362 360287970189640524 2147483679 2 1224979098644774912 360287970189639680 1 3 936748722493063458 1224979098644774912 -666 1106 1 1585267068834415991 3 0 4 0 33 3 1224979098644774912 360287970189640362 360287970189640392 500 3 1224979098644774912 69 100 500 3 1224979098644774912 77 100 3 0 4 0 31 2 1224979098644774912 360287970189639680 1106 1 1585267068834415992 1 3 936748722493063455 360287970189639680 -666 3 0 3 0 2171 2 1224979098644774920 1224979098644774912 2107 2 1224979098644774920 1224979098644774920 1 3 936748722493063910 1224979098644774912 1224979098644774920 4 0 31 2 1224979098644774912 360287970189639680 1106 1 1585267068834415993 5 0 1104 1 1585267068834415993 3 0