I am currently trying to understand the game engine a bit better, so to start with, I copied an itm file from Tutu to BG2. I have discovered that doing so, enables the BG2 game to recognise an item from Tutu. However the description of the item is not there.
This reminds me of when I imported a character from BG1 vanilla. Certain items were carried across, (The light plate from Durlag's Tower for instance) but the desciption of the item did not carry across. Is there another file that carries the description of the item?
Another linked question is this. Could copying itm files etc. across, cause bugs in the game?
What files are needed to define an item?
Débuté par
wise grimwald
, oct. 05 2010 02:57
#1
Posté 05 octobre 2010 - 02:57
#2
Posté 05 octobre 2010 - 06:29
As far as I know the the main file is indeed .itm one. Some may be identical in both games, other - differ.
In TuTu most item files begin with _ (and they stored in override folder)
For example - Braces of Dexterity
In SoA they are:
BRAC07.ITM (Items.bif):
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
Not Usable By:
Kensai
Wizard Slayer
icon: ibrac07.bam
description image: cbrac07.bam
ground icon: gbrac06.bam
In TuTu they are:
_BRAC07.ITM (override)
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
icon: _ibrac07.bam
description image: _cbrac07.bam
ground icon: _gbrac06.bam
So you need not only .itm file but also appropriate .bam files (or you may import only .itm file and then edit it in NearInfinity). BAMs contains only pictures. Item's description text itself stored in dialog.tlk file (StringRef), so you also need to edit it manualy (in NearInfinity).
In TuTu most item files begin with _ (and they stored in override folder)
For example - Braces of Dexterity
In SoA they are:
BRAC07.ITM (Items.bif):
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
Not Usable By:
Kensai
Wizard Slayer
icon: ibrac07.bam
description image: cbrac07.bam
ground icon: gbrac06.bam
In TuTu they are:
_BRAC07.ITM (override)
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
icon: _ibrac07.bam
description image: _cbrac07.bam
ground icon: _gbrac06.bam
So you need not only .itm file but also appropriate .bam files (or you may import only .itm file and then edit it in NearInfinity). BAMs contains only pictures. Item's description text itself stored in dialog.tlk file (StringRef), so you also need to edit it manualy (in NearInfinity).
Modifié par Serg BlackStrider, 05 octobre 2010 - 06:38 .
#3
Posté 05 octobre 2010 - 10:24
Descriptions are handled by the dialog.tlk file. Anything with text is assigned a number.
Say in BG1 the description for
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
is assigned number 4521 but in BG2 number 4521 may be Sword +1. You would have to find the number in the dialog.tlk file in BG2 that would have the bracers description or make a new entry yourself.
Say in BG1 the description for
Gauntlets of Dexterity: 'The Brawling Hands'
This pair of gauntlets was likely developed in Kara-Tur to aid masters of the martial arts. Legends speak of such masters from the Far East bringing these items with them on their journeys, though details remain sketchy.
STATISTICS:
Dexterity: set to 18
Weight: 2
is assigned number 4521 but in BG2 number 4521 may be Sword +1. You would have to find the number in the dialog.tlk file in BG2 that would have the bracers description or make a new entry yourself.
Modifié par CoM Solaufein, 06 octobre 2010 - 09:05 .
#4
Posté 06 octobre 2010 - 03:51
Thanks for the info.
I have discovered that those items with _ in them have problems. For instance items from the Drizzt Saga, and also standard Tutu items.
Items introduced from other mods however are OK
I have discovered that those items with _ in them have problems. For instance items from the Drizzt Saga, and also standard Tutu items.
Items introduced from other mods however are OK





Retour en haut






