Posted by: cmorgan
« on: June 21, 2008, 05:35:25 PM »TextPAD is another good one. Searches inside of multiple directories with good output options, and clicking on the search result loads the file and positions the cursor at the start of that line. For example,
Searching for: sling
bg1npc.tp2(831): PATCH_IF ((sx = 1) AND (sz = 2)) BEGIN //Equip sling and bullets
bg1npc\tra\english\x#faldorn.tra(171): @170 = ~Jaheira, I, for one, know well enough how to load a bullet into a sling. Can I be excused from listening to your instructions on that subject yet again?~
bg1npc\tra\english\x#imoen.tra(159): @158 = ~I'll be 'slingin' spells' in no time. Haha!~
bg1npc\tra\english\x#montaron.tra(164): @163 = ~Here. Have yer sling back.~
bg1npc\tra\english\x#montaron.tra(165): @164 = ~My sling? What do you mean? It isn't miss- oh, I see. I, uh, knew you took that.~
bg1npc\tra\english\x#pcinit_tmp.tra(536): @532 = ~*She slings an arm around your waist and mockingly drags you forward a few paces.*~
bg1npc\tra\english\x#pcinit_tmp.tra(1122): @1118 = ~Am I to assume that you are thinking right now that this stone can be fitted into a sling, should we run out of stones?~
Found 7 occurrence(s) in 5 file(s)
Searching for: blue
bg1npc\phase2\baf\x#xzint2.baf(221): AttackedBy([EVILBUTBLUE],DEFAULT)
bg1npc\phase2\baf\x#xzjell.baf(16): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(29): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(61): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(73): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(9): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(20): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(30): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(62): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(74): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\dlg\x#kisequ.d(124): IF ~~ THEN DO ~ActionOverride("X#keth",JumpToPoint([1010.1638])) SetGlobal("X#KivanSea","GLOBAL",5) ActionOverride("X#SAHA01",Enemy()) ActionOverride("X#SAHA01",Attack("seasnake")) ActionOverride("X#SAHA02",Enemy()) ActionOverride("X#SAHA01",Attack(Player1)) ChangeEnemyAlly("seasnake",GOODBUTBLUE) ~ EXIT
bg1npc\phase2\dlg\x#xzint.d(485): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",2) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(496): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",4) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(507): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",6) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(518): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",8) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase3\ajrom\baf\x#ajrom.baf(580): !Detect([EVILBUTBLUE])
bg1npc\phase3\dyrom\dlg\x#dyro.d(2560): ++ @1077 + DYRO14.12Blue
bg1npc\phase3\dyrom\dlg\x#dyro.d(2569): IF ~~ DYRO14.12Blue
bg1npc\phase3\pid\x#pcinit.d(13177): ++ @3371 DO~ SetGlobal("X#BlueEye","GLOBAL",1) SetGlobal("X#EyeColor","GLOBAL",1)~ + CoBlue
bg1npc\phase3\pid\x#pcinit.d(13187): IF ~~ THEN BEGIN CoBlue
bg1npc\tra\english\bg1npc_tmp.tra(709): @475 = ~You find yourself in an old cavern deep underground, sketches of old, long forgotten gods painted on its walls. Blue and orange; your sense of taste cringes at the sight of these gaudy colors. You are moving along the narrow corridor, delving deeper into the labyrinth, and you know that there is a real possibility of not returning. You do not want to.
bg1npc\tra\english\bg1npc_tmp.tra(737): This is your engagement ring Ajantis gave to you. The ring is Ilvastarr family treasure. It is ornamented in rather a plain way, with only a few elaborate decorations around a light-blue gem.~
bg1npc\tra\english\p#brlt.tra(431): @430 = ~Mystra's star? Its blue soft light is pleasant to behold. Mayhap I would have picked it, if I indeed had to choose.~
bg1npc\tra\english\p#brlt.tra(538): @537 = ~'Twas your sheltering haven and the refuge for years, I remember. But surely this vast and untroubled blue expanse, clear and pristine, stirs something in your memory and heart?~
bg1npc\tra\english\p#brlt.tra(547): @546 = ~Sea is... majestic, and eternal. Neither crystal blue lakes amongst sprawling forests of pine, nor most tender caresses of a devoted lover can compare to its splendor and grace. 'Tis sad but inspiring that her everlasting beauty will gladden someone's eye long after we're gone.~
bg1npc\tra\english\p#brlt.tra(651): @650 = ~*Branwen lightly touches her seemingly twisted ankle with a pair of fingers, and cool blue light emanates from her fingertips. In a matter of seconds, she is up and smiling.* Shall we continue, <CHARNAME>?~
... clipped out for space ...
Found 68 occurrence(s) in 30 file(s)
all instantly acessible. Even searches dlialog.tlk, though it seems to elide some strings so the linecount is wrong.
Searching for: sling
bg1npc.tp2(831): PATCH_IF ((sx = 1) AND (sz = 2)) BEGIN //Equip sling and bullets
bg1npc\tra\english\x#faldorn.tra(171): @170 = ~Jaheira, I, for one, know well enough how to load a bullet into a sling. Can I be excused from listening to your instructions on that subject yet again?~
bg1npc\tra\english\x#imoen.tra(159): @158 = ~I'll be 'slingin' spells' in no time. Haha!~
bg1npc\tra\english\x#montaron.tra(164): @163 = ~Here. Have yer sling back.~
bg1npc\tra\english\x#montaron.tra(165): @164 = ~My sling? What do you mean? It isn't miss- oh, I see. I, uh, knew you took that.~
bg1npc\tra\english\x#pcinit_tmp.tra(536): @532 = ~*She slings an arm around your waist and mockingly drags you forward a few paces.*~
bg1npc\tra\english\x#pcinit_tmp.tra(1122): @1118 = ~Am I to assume that you are thinking right now that this stone can be fitted into a sling, should we run out of stones?~
Found 7 occurrence(s) in 5 file(s)
Searching for: blue
bg1npc\phase2\baf\x#xzint2.baf(221): AttackedBy([EVILBUTBLUE],DEFAULT)
bg1npc\phase2\baf\x#xzjell.baf(16): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(29): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(61): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzjell.baf(73): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(9): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(20): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(30): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(62): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\baf\x#xzslim.baf(74): Allegiance(Myself,EVILBUTBLUE)
bg1npc\phase2\dlg\x#kisequ.d(124): IF ~~ THEN DO ~ActionOverride("X#keth",JumpToPoint([1010.1638])) SetGlobal("X#KivanSea","GLOBAL",5) ActionOverride("X#SAHA01",Enemy()) ActionOverride("X#SAHA01",Attack("seasnake")) ActionOverride("X#SAHA02",Enemy()) ActionOverride("X#SAHA01",Attack(Player1)) ChangeEnemyAlly("seasnake",GOODBUTBLUE) ~ EXIT
bg1npc\phase2\dlg\x#xzint.d(485): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",2) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(496): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",4) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(507): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",6) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase2\dlg\x#xzint.d(518): DO ~SetGlobal("X#TalkedToZizi","GLOBAL",8) SetGlobal("X#SlimeCraze","GLOBAL",1) SetGlobal("X#XzarSlime","GLOBAL",1) ChangeEnemyAlly(Myself,EVILBUTBLUE) ActionOverride(Myself,Polymorph(SLIME_OLIVE)) TakePartyItem("X#XZSLIM") DestroyItem("X#XZSLIM")~
bg1npc\phase3\ajrom\baf\x#ajrom.baf(580): !Detect([EVILBUTBLUE])
bg1npc\phase3\dyrom\dlg\x#dyro.d(2560): ++ @1077 + DYRO14.12Blue
bg1npc\phase3\dyrom\dlg\x#dyro.d(2569): IF ~~ DYRO14.12Blue
bg1npc\phase3\pid\x#pcinit.d(13177): ++ @3371 DO~ SetGlobal("X#BlueEye","GLOBAL",1) SetGlobal("X#EyeColor","GLOBAL",1)~ + CoBlue
bg1npc\phase3\pid\x#pcinit.d(13187): IF ~~ THEN BEGIN CoBlue
bg1npc\tra\english\bg1npc_tmp.tra(709): @475 = ~You find yourself in an old cavern deep underground, sketches of old, long forgotten gods painted on its walls. Blue and orange; your sense of taste cringes at the sight of these gaudy colors. You are moving along the narrow corridor, delving deeper into the labyrinth, and you know that there is a real possibility of not returning. You do not want to.
bg1npc\tra\english\bg1npc_tmp.tra(737): This is your engagement ring Ajantis gave to you. The ring is Ilvastarr family treasure. It is ornamented in rather a plain way, with only a few elaborate decorations around a light-blue gem.~
bg1npc\tra\english\p#brlt.tra(431): @430 = ~Mystra's star? Its blue soft light is pleasant to behold. Mayhap I would have picked it, if I indeed had to choose.~
bg1npc\tra\english\p#brlt.tra(538): @537 = ~'Twas your sheltering haven and the refuge for years, I remember. But surely this vast and untroubled blue expanse, clear and pristine, stirs something in your memory and heart?~
bg1npc\tra\english\p#brlt.tra(547): @546 = ~Sea is... majestic, and eternal. Neither crystal blue lakes amongst sprawling forests of pine, nor most tender caresses of a devoted lover can compare to its splendor and grace. 'Tis sad but inspiring that her everlasting beauty will gladden someone's eye long after we're gone.~
bg1npc\tra\english\p#brlt.tra(651): @650 = ~*Branwen lightly touches her seemingly twisted ankle with a pair of fingers, and cool blue light emanates from her fingertips. In a matter of seconds, she is up and smiling.* Shall we continue, <CHARNAME>?~
... clipped out for space ...
Found 68 occurrence(s) in 30 file(s)
all instantly acessible. Even searches dlialog.tlk, though it seems to elide some strings so the linecount is wrong.