Copying an IWD:EE item into BG:EE: advice needed
Tisamon
Member Posts: 209
Okay, so I happen to like Ogien's Scale +4 from IWD. I wanted to make it cosoleable in/importable into BG. I have exported OGIEN.ITM and all the linked files (the BAMs both for the armor and for Animal Rage it casts; SPL file for Animal Rage) into BG:EE/override. The result: it works. Kinda.
Two caveats:
1. The portrait status icon for Animal Rage (the red paw) doesn't show up. Probably because it doesn't exist in BG:EE, and I should put it into BG:EE/override as well. But how and where do I find the status icon in IWD:EE files?
2. The text is completely messed up. I understand that has something to do with wrong string reference, blah-blah-blah. How can I correct that?
Two caveats:
1. The portrait status icon for Animal Rage (the red paw) doesn't show up. Probably because it doesn't exist in BG:EE, and I should put it into BG:EE/override as well. But how and where do I find the status icon in IWD:EE files?
2. The text is completely messed up. I understand that has something to do with wrong string reference, blah-blah-blah. How can I correct that?
0
Comments
#2 - what is happening is that the description for the item is a specific string
so lets say for example that in IWD the string reference lines for the scale armor are 10000 and 10001, what happens is, this line reference saves on the item, so when you bring it over to BG it will take the BG string lines 10000 and 10001
so even more for example: if in IWD the string reference 10000 is Ogien's Scale +4, then BG might have: you must gather your party before venturing forth for it's string reference 10000 ( this probably isn't the EXACT case, but this is the premise on how it works)
so what you will have to do, is make some new string reference's for the item,
so say for example, if there is only 44551 string references in BGEE you could set 44552 as Ogien's Scale +4, and set string reference 44552 as the item description
doing so means you need to fiddle around with the dialogue.tlk file so be careful when you do so ( i highly suggest making a back up of the dialogue.tlk before fiddling with it, just in case you horribly corrupt your dialogue.tlk )
NI can edit the dialogue.tlk file, but again just be careful when doing so ( i've made 100s and 100s of new references with NI in the dialogue.tlk and only had a bad corruption once )
Regarding #1: I suspect we have a misunderstanding here. I _did_ extract all the BAMs from the Animal Rage file (there were two). There is no BAM reference to the portrait icon there, however: when I view the 'Display portrait icon' property, the portrait icon is only mentioned as '173 - Animal Rage', no BAM reference. Any ideas? If you have IWD:EE installed, just look up OGIEN.ITM -- you'll see what I mean.
If you want the animal rage icon to be displayed you need to export the right BAM frame for the STATES.BAM in IWD and import it into the STATES.BAM of BG2.
Alternatively you may edit the spell to change the icon (say, the Barbarian Rage icon)
The third column is either a new, external bam with your portrait icon (which should be a 13*13 pixel bam with just one frame) or it will use the states.bam cycle number X (X being the number in the first column) so you would have to edit the states.bam and change the said cycle to add your frame to it. Quite tedious if you ask me so just create a new bam, now that this is possible.
There might still be a hardcap of 255 state icons. The "Display Portrait Icon" resource number is on two bytes though so it should work up to 65535.
Thanks!
Can you explain to me how to fill this macro like I was five years old?
What I think:
OMG, that is easy.
I'll let my stupid and insecure question here just in case someone else is in need of a Macro-For-Dummies.
[spoiler]
Step 1) Create a .tpa named CDNewIcon.tpa and put it in the mod's Lib folder
This .tpa must contain the macro per se: Step 2) Inside the mods .tp2 put the following command: Step 3) Feeding the macro with Info...
Let's say I have an icon called PRAYERIC.BAM, I created the string @999 = ~Prayer~ and I want to add it to BGEE... [/spoiler]
That's it?Yes, it is.
String references are saved in your savegame. You may have old string references.
also, are you 100% sure the new string references you made got saved?
so if none of the text is showing up, that means the string you have it set to aren't available/ are written as "NO TEXT"
try setting your item's string reference to something that is already available and see if that shows up, if it does show up, that means the custom strings that you have made are not working
if you change the string reference to something else that should show up and doesnt, then there is something wrong with the item file
so say for example, if you accidently editted the french dialogue.tlk file and you play the game in english, you will not see the new string references
P.S. I don't believe that I've ever came across your item in IWD:EE or the edtior.