PDA

View Full Version : Spells.2da compatability issue with mods


Allronix
07-15-2007, 04:10 AM
I'm trying to get Force Resurrect v1.0 to work with the High Level Force Powers mod. If I disable my High Level Force Powers spells.2da and install the Resurrect mod, the Resurrect mod runs well.

However, if I edit the spells.2da and append the Resurrect entry in line 165 (the first empty slot of my current spells.2da), the mod does not work. The graphic appears in Force Powers, I'm able to select it, it shows up in the menu, the animation fires - but the power itself does not appear to work.

With 2da converter, BOTH the high level powers and the Resurrect power work - but there's a catch. If you try to use any of the High Level Force Powers, it picks the wrong one - the next one down the list. Cast Force Replicate One, and it'll replicate two. Pick Firestorm, and you get Icestorm. It has something to do with the numbering on the spells.2da, as it's picking the entry adjacent to it on the list.

So, any ideas on what can be done for this?

stoffe
07-15-2007, 05:56 AM
With 2da converter, BOTH the high level powers and the Resurrect power work - but there's a catch. If you try to use any of the High Level Force Powers, it picks the wrong one - the next one down the list. Cast Force Replicate One, and it'll replicate two. Pick Firestorm, and you get Icestorm. It has something to do with the numbering on the spells.2da, as it's picking the entry adjacent to it on the list.

So, any ideas on what can be done for this?

You need to use the installer for the High Level Force Powers mod, it will add the relevant lines to spells.2da and some other 2DA files update the scripts and references to other 2DAs to point to the correct lines and insert the proper dialog.tlk StRef values. Many 2DA files are indexed by line number rather than the number in the (Row Label) column, thus if you move the position of a line in a file all the references will be messed up.

This can also cause trouble if you uninstall and reinstall the mod and then use a savegame that was created with the first installation. Then the new lines might end up at other line numbers than before (if you've modified the spells.2da file), which will cause the savegame to point to the incorrect spells.2da lines.

If the Resurrection power mod comes with a full spells.2da file you'll need to install that mod first and then install the High Level Force Power mod using the installer, since it won't overwrite the 2DA files but instead add the new lines to an existing file if one is found in the override folder.