May I has help with Tp2
Xavioria
Member Posts: 874
Hello I'm coming back to the game and wanting to make a kit for myself that I've always wanted to try, but my Tp2 is coming up with parsing errors, and I can't seem to figure out what they are. I'll go ahead and post my Tp2, maybe someone can figure out what's wrong with it, because I don't see any errors there...
Also please show me how to do that "spoiler" drop down thing I keep seeing so that I don't take up a bunch of room in the post... please and thank you for anyone willing to help me out.
Also please show me how to do that "spoiler" drop down thing I keep seeing so that I don't take up a bunch of room in the post... please and thank you for anyone willing to help me out.
1
Comments
BACKUP ~Loremonger/backup~
AUTHOR ~Xavioria~
VERSION v1.0.0
BEGIN ~Loremonger kit for Bards~
INCLUDE ~Loremonger/Files/fl#add_kit_ee.tpa~
ADD_KIT ~RL#LREM~
~RL#LREM 1 1 1 1 1 1 1 1~
~RL#LREM 0 1 0 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~RL#LREM 0 12 0 13 0 15~
~RL#LREM 0 0 0 0 0 0~
~RL#LREM 0 17 0 0 0 15~
~RL#LREM 0 17 0 0 0 17~
~RL#LREM 0 1 0 0 1 0 0 1 0~
~RL#LREM 0 0 0 0 0 0~
~RL#LREM 0 0 0 0 0 0~
~Loremonger/Files/CLAB#RL.2da~
~K_B_H K_B_D K_B_G K_B_E K_B_HE K_B_HL K_B_HO~
~0x00040008 5~
~LU#RL~
~CHAN12 * * BAG30 RING06 RING34 CLCK02 BOOT01 AMUL19 BRAC16 BELT10 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN04,2 POTN14,5 DAGG12 SW1H28 STAF08~
SAY ~loremonger~
SAY ~Loremonger~
SAY ~LOREMONGER: The LOREMONGER is impatient, fixated, and more interested in grabbing up knowledge than she is in studying and learning it. This thirst for power makes this rogue volatile and dangerous. THeir only allegiance is to arcane power and would much rather steal and horde it, than study and learn it properly.
Advantages:
- May learn one extra spell per spell level
- Gains access to the Mage HLA's: Extra Level 6 Spell, Extra Level 7 Spell, Extra Level 8 Spell
- Always Vocalized
Disadvantages:
- Cannot use ranged weapons
- Does not gain access to the HLA's: Set Spike Trap, Set Exploding Trap, Set Time Trap
- Can only be Lawful Neutral, True Neutral, or Chaotic Neutral
- Cannot become proficient with two handed weapons or learn two handed weapon style
- Bardsong does not improve with levels~
LAF fl#add_kit_ee
INT_VAR
biography = ~-1~
briefdesc = RESOLVE_STR_REF ~LOREMONGER: The LOREMONGER is impatient, fixated, and more interested in grabbing up knowledge than she is in studying and learning it. This thirst for power makes this rogue volatile and dangerous. THeir only allegiance is to arcane power and would much rather steal and horde it, than study and learn it properly.
Advantages:
- May learn one extra spell per spell level
- Gains access to the Mage HLA's: Extra Level 6 Spell, Extra Level 7 Spell, Extra Level 8 Spell
- Always Vocalized
Disadvantages:
- Cannot use ranged weapons
- Does not gain access to the HLA's: Set Spike Trap, Set Exploding Trap, Set Time Trap
- Can only be Lawful Neutral, True Neutral, or Chaotic Neutral
- Cannot become proficient with two handed weapons or learn two handed weapon style
- Bardsong does not improve with levels~
fallen = ~0~
STR_VAR
kit_name = ~RL#LREM~
clswpbon ~1 0 3~
numwslot = ~2~
thiefskl = ~0 0~
traplimt = ~0~
clascolr = ~24 67 56 2 25~
hpclass = ~HPROG~
clsrcreq = ~1 1 1 0 0 0 0~
clasthac = ~0~
END
COPY "Loremonger/Files/LU#RL.2da" "override"
COPY "Loremonger/LREMspl/SP#RL0.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL1.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL2.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL3.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL4.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL5.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL6.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL7.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL8.spl" "override"
SAY 0xC #-1
COPY "Loremonger/LREMspl/SP#RL9.spl" "override"
SAY 0xC #-1
Thank you @BillyYank
I ask because brief description is optional, but a high level treble l table it necessary. It should have given an error
Edit: one step at a time
And were you able to install using the default high level table?
WeiDU v 23800 Log
C:\Program Files (x86)\Baldur's Gate Enhanced Edition\Data\00766\Setup-LREM#RL.exe
[./chitin.key] loaded, 495088 bytes
[./chitin.key] 73 BIFFs, 35212 resources
[./eekeeper.ini] loaded, 714 bytes
[.\weidu.conf] loaded, 17 bytes
[.\lang\en_us/dialog.tlk] loaded, 7942254 bytes
[.\lang\en_us/dialog.tlk] 57531 string entries
Using .\lang\en_us/dialog.tlk
BG1NPC/BG1NPC.TP2 0 0 Installed
BG1NPC/BG1NPC.TP2 0 1 Installed
BG1NPC/BG1NPC.TP2 0 6 Installed
BG1NPC/BG1NPC.TP2 0 9 Installed
BG1NPC/BG1NPC.TP2 0 10 Installed
BG1NPC/BG1NPC.TP2 0 11 Installed
BG1NPC/BG1NPC.TP2 0 12 Installed
BG1NPC/BG1NPC.TP2 0 14 Installed
BG1NPC/BG1NPC.TP2 0 15 Installed
BG1NPC/BG1NPC.TP2 0 16 Installed
BG1NPC/BG1NPC.TP2 0 18 Installed
BG1NPC/BG1NPC.TP2 0 19 Installed
BG1NPC/BG1NPC.TP2 0 22 Installed
BG1NPC/BG1NPC.TP2 0 23 Installed
BG1NPC/BG1NPC.TP2 0 26 Installed
NPC_EE/NPC_EE.TP2 0 141 Installed
NPC_EE/NPC_EE.TP2 0 202 Installed
NPC_EE/NPC_EE.TP2 0 261 Installed
NPC_EE/NPC_EE.TP2 0 282 Installed
NPC_EE/NPC_EE.TP2 0 321 Installed
NPC_EE/NPC_EE.TP2 0 381 Installed
NPC_EE/NPC_EE.TP2 0 403 Installed
NPC_EE/NPC_EE.TP2 0 501 Installed
Install Component [Loremonger kit for Bards]?
[I]nstall, or [N]ot Install or [Q]uit?
Installing [Loremonger kit for Bards] [v1.0.0]
Adding RL#LREM Kit ...
BIFF may be in hard-drive CD-path [./lang/en_us/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [./cache/DATA/DEFAULT.BIF]
[./DATA/DEFAULT.BIF] 6201616 bytes, 522 files, 0 tilesets
Stopping installation because of error.
ERROR Installing [Loremonger kit for Bards], rolling back to previous state
Unable to Unlink [Loremonger/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "Loremonger/backup/0/OTHER.0")
[Loremonger/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 0 files for [SETUP-LREM#RL.TP2] component 0.
Uninstalled 0 files for [SETUP-LREM#RL.TP2] component 0.
Unable to Unlink [Loremonger/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "Loremonger/backup/0/READLN.0")
Unable to Unlink [Loremonger/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "Loremonger/backup/0/READLN.0.TEXT")
BG1NPC/BG1NPC.TP2 0 0 Installed
BG1NPC/BG1NPC.TP2 0 1 Installed
BG1NPC/BG1NPC.TP2 0 6 Installed
BG1NPC/BG1NPC.TP2 0 9 Installed
BG1NPC/BG1NPC.TP2 0 10 Installed
BG1NPC/BG1NPC.TP2 0 11 Installed
BG1NPC/BG1NPC.TP2 0 12 Installed
BG1NPC/BG1NPC.TP2 0 14 Installed
BG1NPC/BG1NPC.TP2 0 15 Installed
BG1NPC/BG1NPC.TP2 0 16 Installed
BG1NPC/BG1NPC.TP2 0 18 Installed
BG1NPC/BG1NPC.TP2 0 19 Installed
BG1NPC/BG1NPC.TP2 0 22 Installed
BG1NPC/BG1NPC.TP2 0 23 Installed
BG1NPC/BG1NPC.TP2 0 26 Installed
NPC_EE/NPC_EE.TP2 0 141 Installed
NPC_EE/NPC_EE.TP2 0 202 Installed
NPC_EE/NPC_EE.TP2 0 261 Installed
NPC_EE/NPC_EE.TP2 0 282 Installed
NPC_EE/NPC_EE.TP2 0 321 Installed
NPC_EE/NPC_EE.TP2 0 381 Installed
NPC_EE/NPC_EE.TP2 0 403 Installed
NPC_EE/NPC_EE.TP2 0 501 Installed
ERROR: Invalid_argument("Filename.chop_extension")
PLEASE email the file SETUP-LREM#RL.DEBUG to Xavioria
Install Component [Loremonger kit for Bards]?
[I]nstall, or [N]ot Install or [Q]uit?
One thing that I like to do when I am not sure what is going on is to start fresh with a kit that I know works, preferably a kit of the same class.
I have been meaning to create base templates for kit creation for every class. So, I threw one together for the bard. Attached is that template for the bard. Please feel free to use it, modifying as you see fit. Also note that this is from a druid kit, so you need to change the values for weapon proficiencies and alignment to fit the bard.
The only thing that you might be confusing is that it is traified. That is, instead of having the text in the tp2, you use the symbol "@""" followed by a number reference which corresponds to a number in a tra file which determines what is actually said. An example might clarify:
For the "lower" description where you have:
"SAY ~loremonger~"
I have:
"SAY @1"
where "@1" is found in a tra file in this path:
bard\Lang\English\english.tra
and in "english.tra", which can be opened with any text editor, you find,
@1 = ~bard~
...
Now, the text between the tilde's (i.e. these symbols, "~") determines what is said. So, if you changed
@1 = ~bard~
to
@1 = ~loremonger~
in the tra, then your lower description will change accordingly. Tra's aid in translating mods.
Anyway, let me know if anything doesn't make sense.
Here is an example from the kit tutorial on this site. 0xC and 0x50 are references (in hex) to the 'locations' of names and descriptions of spells. See here:
http://gemrb.org/iesdp/file_formats/ie_formats/spl_v1.htm
Heh, looking here, 0xc is actually the 'identified' spell name. I'm not sure why DC uses that. You can also use the 'unidentified' spell name as well
ie . or just, It does matter when adding items, which have a very similar structure to spells, because items need to be identified.
BTW, tilde's and quotes are interchangeable (though, don't start with one and end with another--e.g. ~hi". I don't think that'll work.) You could just as easily have this, I use tilde's because I like they way they look. Meandered a bit there, but hopefully this was helpful