Jump to content


Photo

Feature Request


  • Please log in to reply
2 replies to this topic

#1 japheth

japheth

    Codewalker

  • Member
  • 317 posts

Posted 30 July 2002 - 06:15 PM

Okay, this is by no means critical to me, however, I think it would have it's benefits.

I've tried the following in a .tp2 file and none of them work.

TP2 A

COPY_EXISTING ~sw1h*.itm~ ~override~

TP2 B

COPY_EXISTING ~sw1h.*.itm~ ~override~

TP2 C

COPY_EXISTING ~sw1h.*itm~ ~override~

None of the above examples work. If you haven't already guessed from the above examples, what I would like to see is being able to use wildcards to copy over all swords of a certain type (ie 1-handed swords), or all crossbows, or all spells beginning with spin90* for instance. This would benefit mod makers in that they could make multiple changes to items/spells/areas etc., all in one shot without typing this:

COPY_EXISTING ~sw1h01.itm~ ~override/sw1h01.itm~

followed by 02, 03, etc all the way up to who knows what.
Check out BG1Tutu.

#2 weimer

weimer
  • Member
  • 1569 posts

Posted 01 August 2002 - 09:25 PM

This would be vaguely difficult (more difficult than IF-THEN tp2 actions). The wildcards would probably only range over things in CHITIN.KEY (thus missing things that appear only in override). If you really want this, let me know. Until then, try "weidu --list-biff Data\Items.bif | grep -i sw1h" or somesuch to get all of the one-handed swords and cut-and-paste it into your TP2 file. I did similar things for the ease-of-use copy_existing blocks that change the number of items you can stack.

#3 japheth

japheth

    Codewalker

  • Member
  • 317 posts

Posted 02 August 2002 - 04:13 AM

Heh, good old grep and gawk. I haven't touched those functions of Linux/Unix in years ;)
Check out BG1Tutu.