Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
2112 lines (1969 sloc) 107 KB
BACKUP ~aranw/backup~
AUTHOR ~cmorgan: http://gibberlings3.net/forums/index.php?showforum=159~
/*
* IF YOU ARE DOWNOADING FROM GITHUB, you need to do the following:
* 1. check to make sure everything is there,
* 2. copy another mod's setup-mymod.exe and rename it setup-aranw.exe, or use the file located in the top git directory named setup-aranw.exe
* 3. enjoy the mod. If you run into problems, find me at G3 or start an issue ticket on GitHub!
*/
/* WeiDU versions newer than v203 allow tp2 level version listing in the .log for troubleshooting */
VERSION @30001
README ~aranw/docs/readme-aranw-%LANGUAGE%.html~ ~aranw/docs/readme-aranw.html~
ALWAYS
INCLUDE ~aranw/lib/regexp.tph~ /* extra regexp vars */
INCLUDE ~aranw/lib/aranw_macros.tph~ /* define all macros */
/* .ids patching to make sure everything is in place */
INCLUDE ~aranw/lib/ids_patching.tph~ /* checks for expected .ids resources */
ACTION_IF GAME_IS ~bg2ee eet~ BEGIN
/* HANDLE_CHARSETS */
/* BG2:EE tra conversion courtesy of weidu and iconv */
ACTION_DEFINE_ARRAY c-aranreload BEGIN setup c-aranw END
LAF HANDLE_CHARSETS
INT_VAR
infer_charset = 1
STR_VAR
tra_path = EVAL ~%MOD_FOLDER%/tra~
reload_array = c-aranreload
END
END
OUTER_SPRINT tra_version ~c-aranw~
OUTER_SPRINT aranw_version @30001
END
LANGUAGE ~English~
~english~
~aranw\tra\english\c-aranw.tra~
~aranw\tra\english\setup.tra~ /* Contains text strings displayed during the installation: TP2, Components, etc., encoded for _win32 (cp1252), _osx (utf-8 no BOM), or _unix (utf-8 no BOM) */
BEGIN @30010 //component_0_
REQUIRE_PREDICATE GAME_IS ~bg2 tob bgt bg2ee eet~ @30002
/* create custom info log */
/* put some information in the .DEBUG file to help with troubleshooting, and also to the custom debug */
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger01.log~
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\"
APPEND ~c-arandebugger01.log~ "//\\//\\ Aran Whitehand Component 0 - Begin Log//\\//\\"
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\"
PRINT @30009
ACTION_IF GAME_IS ~bg2~ BEGIN
PRINT @30003
APPEND ~c-arandebugger01.log~ ~WeiDU says that this game has BGII - SoA content.~
END
ACTION_IF GAME_IS ~tob~ BEGIN
PRINT @30004
APPEND ~c-arandebugger01.log~ ~WeiDU says that this game has BGII - ToB content.~
END
ACTION_IF GAME_IS ~bgt~ BEGIN
PRINT @30005
APPEND ~c-arandebugger01.log~ ~WeiDU says that this game is Baldurs Gate Trilogy.~
END
ACTION_IF GAME_IS ~bg2ee~ BEGIN
PRINT @30006
APPEND ~c-arandebugger01.log~ ~WeiDU says that this game has BGII:EE content.~
END
ACTION_IF GAME_IS ~eet~ BEGIN
PRINT @30132
APPEND ~c-arandebugger01.log~ ~WeiDU says that this game is Enhanced Edition Trilogy.~
END
PRINT @30007
PRINT @30001
APPEND ~c-arandebugger01.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger01.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\"
PRINT @30008
APPEND ~c-arandebugger01.log~ ~Weidu defined variables on this install:~
PRINT @30130
APPEND ~c-arandebugger01.log~ ~Author: %TP2_AUTHOR%~
PRINT @30121
APPEND ~c-arandebugger01.log~ ~Language = %LANGUAGE% ~
PRINT @30122
APPEND ~c-arandebugger01.log~ ~Architecture = %WEIDU_ARCH% ~
PRINT @30123
APPEND ~c-arandebugger01.log~ ~Operating System = %WEIDU_OS% ~
PRINT @30124
APPEND ~c-arandebugger01.log~ ~User Directory = %USER_DIRECTORY% ~
PRINT @30125
APPEND ~c-arandebugger01.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
PRINT @30126
APPEND ~c-arandebugger01.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
PRINT @30127
APPEND ~c-arandebugger01.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
PRINT @30128
APPEND ~c-arandebugger01.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
PRINT @30129
APPEND ~c-arandebugger01.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
PRINT @30009
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\"
/* .2da patching : yes, I use pretty_print. Because I am just that OCD. I want everything in neat little columns, even though the game engine does not care. */
APPEND ~pdialog.2da~ ~C-ARAN C-ARANP C-ARANJ C-ARAND C-ARN25P C-ARN25J C-ARN25D C-ARN25~ UNLESS ~C-ARAN~
COPY_EXISTING ~pdialog.2da~ ~override~
PRETTY_PRINT_2DA
APPEND ~interdia.2da~ ~C-ARAN C-ARANB C-ARN25B~ UNLESS ~C-ARAN~
COPY_EXISTING ~interdia.2da~ ~override~
PRETTY_PRINT_2DA
/* make sure Imoen has her banter file assigned - not needed on BGII:EE */
ACTION_IF GAME_IS ~tob bgt~ BEGIN /* fixes ToB version */
COPY_EXISTING ~interdia.2da~ ~override~
SET_2DA_ENTRY 17 1 2 ~BIMOEN2~
PRETTY_PRINT_2DA
BUT_ONLY_IF_IT_CHANGES
END
ACTION_IF GAME_IS ~soa~ BEGIN /* fixes SoA version */
APPEND ~interdia.2da~ ~IMOEN BIMOEN2~ UNLESS ~BIMOEN2~
COPY_EXISTING ~interdia.2da~ ~override~
PRETTY_PRINT_2DA
BUT_ONLY_IF_IT_CHANGES
END
PRINT @30009
/* Setting up timered interactions with player choice before compiling .d and .baf */
OUTER_FOR( aran_timer_choice = 0 ; ~%aran_timer_choice%~ STRING_COMPARE_REGEXP ~^[12]$~ ; )BEGIN
PRINT @30042
ACTION_READLN aran_timer_choice
END // of O_F
ACTION_IF ("aran_timer_choice" = 1) THEN BEGIN
/* patching files with player choice: set talk timers */
OUTER_SET ARAN_FTT = 3600
OUTER_SET ARAN_LTT = 3600
OUTER_SET ARAN_FLIRT = 3600
PRINT @30043
OUTER_SET choseninitialrom = 2400
PRINT @30044
OUTER_SET choseninitialflirt = 1200
PRINT @30045
PRINT @30046
APPEND ~c-arandebugger01.log~ ~Default timers [1] chosen.~
OUTER_SPRINT aranw_timerchoice @30046
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("aran_timer_choice" = 2) THEN BEGIN
PRINT @30047
PRINT @30048
APPEND ~c-arandebugger01.log~ ~Custom timers [2] chosen.~
OUTER_SPRINT ~friendshiptimer~ ~placeholder_value~
OUTER_WHILE (!(IS_AN_INT ~friendshiptimer~) OR (~friendshiptimer~ > 0x6) OR (~friendshiptimer~ < 0x1)) BEGIN
PRINT @30049
ACTION_READLN ~friendshiptimer~
END
ACTION_IF ("friendshiptimer" = 1) THEN BEGIN
OUTER_SET ARAN_FTT = 3600
OUTER_SET ARAN_LTT = 3600
OUTER_SET ARAN_FLIRT = 3600
PRINT @30043
OUTER_SET choseninitialrom = 2400
PRINT @30044
OUTER_SET choseninitialflirt = 1200
PRINT @30045
PRINT @30050
APPEND ~c-arandebugger01.log~ ~Standard FTT, LTT, FLIRT timers [1] chosen.~
OUTER_SPRINT aranw_timerchoice @30050
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("friendshiptimer" = 2) THEN BEGIN
OUTER_SET ARAN_FTT = 900
OUTER_SET ARAN_LTT = 900
OUTER_SET ARAN_FLIRT = 900
PRINT @30051
OUTER_SET choseninitialrom = 600
PRINT @30052
OUTER_SET choseninitialflirt = 300
PRINT @30053
PRINT @30054
APPEND ~c-arandebugger01.log~ ~15 minute FTT, LTT, FLIRT timers [2] chosen.~
OUTER_SPRINT aranw_timerchoice @30054
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("friendshiptimer" = 3) THEN BEGIN
OUTER_SET ARAN_FTT = 1800
OUTER_SET ARAN_LTT = 1800
OUTER_SET ARAN_FLIRT = 1800
PRINT @30055
OUTER_SET choseninitialrom = 1200
PRINT @30056
OUTER_SET choseninitialflirt = 600
PRINT @30057
PRINT @30058
APPEND ~c-arandebugger01.log~ ~30 minute FTT, LTT, FLIRT timers [3] chosen.~
OUTER_SPRINT aranw_timerchoice @30058
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("friendshiptimer" = 4) THEN BEGIN
OUTER_SET ARAN_FTT = 2700
OUTER_SET ARAN_LTT = 2700
OUTER_SET ARAN_FLIRT = 2700
PRINT @30059
OUTER_SET choseninitialrom = 1800
PRINT @30060
OUTER_SET choseninitialflirt = 900
PRINT @30061
PRINT @30062
APPEND ~c-arandebugger01.log~ ~45 minute FTT, LTT, FLIRT timers [4] chosen.~
OUTER_SPRINT aranw_timerchoice @30062
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("friendshiptimer" = 5) THEN BEGIN
OUTER_SET ARAN_FTT = 5400
OUTER_SET ARAN_LTT = 5400
OUTER_SET ARAN_FLIRT = 5400
PRINT @30063
OUTER_SET choseninitialrom = 3600
PRINT @30064
OUTER_SET choseninitialflirt = 1800
PRINT @30065
PRINT @30066
APPEND ~c-arandebugger01.log~ ~1 hour 30 minutes FTT, LTT, FLIRT timers [5] chosen.~
OUTER_SPRINT aranw_timerchoice @30066
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
ACTION_IF ("friendshiptimer" = 6) THEN BEGIN
OUTER_SET ARAN_FTT = 7200
OUTER_SET ARAN_LTT = 7200
OUTER_SET ARAN_FLIRT = 7200
PRINT @30067
OUTER_SET choseninitialrom = 4800
PRINT @30068
OUTER_SET choseninitialflirt = 2400
PRINT @30069
PRINT @30070
APPEND ~c-arandebugger01.log~ ~2 hour FTT, LTT, FLIRT timers [6] chosen.~
OUTER_SPRINT aranw_timerchoice @30070
APPEND ~c-arandebugger01.log~ ~%aranw_timerchoice%~
END
END
PRINT @30009
PRINT @30031
/* SoA dialog file */
COMPILE EVALUATE_BUFFER ~aranw/dialog/c-arandialog.d~
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
PRINT @30009
/* ToB dialog file */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN
PRINT @30032
COMPILE EVALUATE_BUFFER ~aranw/dialog/c-arantobdialog.d~
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
////////////////////////////////////////////////////////
/////* PC Refuses Godhood Potential Endings : DLG */////
////////////////////////////////////////////////////////
/* PC Refused Godhood, All PCs, Friendship, Good/Neutral : Global("c-aranepiloguefriend","GLOBAL",0) !Alignment(Player1,MASK_EVIL) */
/* TextScreen("C-ARANE5") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE5.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @0
/* PC Refused Godhood, All PCs, Friendship, Evil : Global("c-aranepiloguefriend","GLOBAL",0) Alignment(Player1,MASK_EVIL) */
/* TextScreen("C-ARANE6") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE6.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @1
/* PC Refused Godhood, All PCs, Friendship and Part Ways : Global("c-aranepiloguefriend","GLOBAL",1) */
/* TextScreen("C-ARANE7") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE7.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @2
/* PC Refused Godhood, Romance, Friendship with Benefits and Part Ways : Global("c-aranepiloguefriend","GLOBAL",1) */
/* TextScreen("C-ARANE8") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE8.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @3
/* PC Refused Godhood, Romance, Friendship with Benefits but Never Part Ways: Adventuring Life : Global("c-aranepiloguefriend","GLOBAL",2) */
/* TextScreen("C-ARANE9") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE9.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @4
/* PC Refused Godhood, Romance, Friendship with Benefits but Never Part Ways: City Life : Global("c-aranepiloguefriend","GLOBAL",3) */
/* TextScreen("C-ARNE10") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE10.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @5
/* PC Refused Godhood, Romance, Friendship with Benefits but Never Part Ways: Country Life : Global("c-aranepiloguefriend","GLOBAL",4) */
/* TextScreen("C-ARNE11") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE11.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @6
/* PC Refused Godhood, Romance, Not Married With No Children, Aran as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE12") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE12.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @7
/* PC Refused Godhood, Romance, Not Married With No Children, Aran as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE13") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE13.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @8
/* PC Refused Godhood, Romance, Not Married With No Children, Aran as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE14") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE14.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @9
/* PC Refused Godhood, Romance, Not Married With No Children, PC as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE15") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE15.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @10
/* PC Refused Godhood, Romance, Not Married With No Children, PC as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE16") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE16.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @11
/* PC Refused Godhood, Romance, Not Married With No Children, PC as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE17") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE17.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @12
/* PC Refused Godhood, Romance, Not Married With No Children, PC and Aran as Equals : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE18") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE18.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @13
/* PC Refused Godhood, Romance, Not Married With No Children, PC and Aran as Equals : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE19") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE19.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @14
/* PC Refused Godhood, Romance, Not Married With No Children, PC and Aran as Equals : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE20") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE20.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @15
/* PC Refused Godhood, Romance, Not Married With Children, Aran as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE21") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE21.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @16
/* PC Refused Godhood, Romance, Not Married With Children, Aran as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE22") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE22.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @17
/* PC Refused Godhood, Romance, Not Married With Children, Aran as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE23") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE23.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @18
/* PC Refused Godhood, Romance, Not Married With Children, PC as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE24") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE34.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @19
/* PC Refused Godhood, Romance, Not Married With Children, PC as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE25") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE25.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @20
/* PC Refused Godhood, Romance, Not Married With Children, PC as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE26") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE26.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @21
/* PC Refused Godhood, Romance, Not Married With Children, PC and Aran as Equals : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE27") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE27.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @22
/* PC Refused Godhood, Romance, Not Married With Children, PC and Aran as Equals : City Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE28") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE28.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @23
/* PC Refused Godhood, Romance, Not Married With Children, PC and Aran as Equals : Country Life : Global("c-aranepiloguemarried","GLOBAL",0) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE29") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE29.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @24
/* PC Refused Godhood, Romance, Married With No Children, Aran as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE30") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE30.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @25
/* PC Refused Godhood, Romance, Married With No Children, Aran as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE31") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE31.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @26
/* PC Refused Godhood, Romance, Married With No Children, Aran as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE32") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE32.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @27
/* PC Refused Godhood, Romance, Married With No Children, PC as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE33") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE33.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @28
/* PC Refused Godhood, Romance, Married With No Children, PC as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE34") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE34.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @29
/* PC Refused Godhood, Romance, Married With No Children, PC as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE35") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE35.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @30
/* PC Refused Godhood, Romance, Married With No Children, PC and Aran as Equals : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE36") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE36.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @31
/* PC Refused Godhood, Romance, Married With No Children, PC and Aran as Equals : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE37") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE37.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @32
/* PC Refused Godhood, Romance, Married With No Children, PC and Aran as Equals : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",0) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE38") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE38.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @33
/* PC Refused Godhood, Romance, Married With Children, Aran as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE39") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE39.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @34
/* PC Refused Godhood, Romance, Married With Children, Aran as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE40") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE40.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @35
/* PC Refused Godhood, Romance, Married With Children, Aran as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",1) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE41") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE41.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @36
/* PC Refused Godhood, Romance, Married With Children, PC as Prince Charming : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE42") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE42.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @37
/* PC Refused Godhood, Romance, Married With Children, PC as Prince Charming : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE43") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE43.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @38
/* PC Refused Godhood, Romance, Married With Children, PC as Prince Charming : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",2) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE44") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE44.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @39
/* PC Refused Godhood, Romance, Married With Children, PC and Aran as Equals : Adventuring Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",1) */
/* TextScreen("C-ARNE45") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE45.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @40
/* PC Refused Godhood, Romance, Married With Children, PC and Aran as Equals : City Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",2) */
/* TextScreen("C-ARNE46") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE46.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @41
/* PC Refused Godhood, Romance, Married With Children, PC and Aran as Equals : Country Life : Global("c-aranepiloguemarried","GLOBAL",1) Global("c-aranepiloguechildren","GLOBAL",1) Global("c-aranepiloguerelation","GLOBAL",3) Global("c-aranepiloguelifestyle","GLOBAL",3) */
/* TextScreen("C-ARNE47") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARNE47.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @42
////////////////////////////////////////////////////////
/////* PC Accepts Godhood Potential Endings : DLG */////
////////////////////////////////////////////////////////
/* PC Accepted Godhood, Friendship, Good/Neutral */
/* TextScreen("C-ARANE1") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE1.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @43
/* PC Accepted Godhood, Friendship, Evil */
/* TextScreen("C-ARANE2") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE2.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @44
/* PC Accepted Godhood, Romance, Good/Neutral */
/* TextScreen("C-ARANE3") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE3.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @45
/* PC Accepted Godhood, Romance, Evil */
/* TextScreen("C-ARANE4") */
COPY ~aranw/media/blankepilogue.2da~ ~override/C-ARANE4.2da~
REPLACE_TEXTUALLY ~PORTRAIT~ ~C-ARANWL~
REPLACE 99999 @46
END /* of ToB installation */
PRINT @30009
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30027
ADD_JOURNAL TITLE (~Aran Whitehand~) @1720 @1719 @1718 @1717 @1716 @1715 @1714 @1713 @1712 @1711 @1710 @1709 @1708 @1707 @10508 @10507 @10506 @10505 @10504 @10503 @10502 @10501 @10500 @10499 @10498 @10497 @10495 @10482 @10455 @10453 @10451 @10449 @10447 @10445 @10411 @10410 @10405 @13146 @13147 USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
ADD_JOURNAL EXISTING TITLE (#74337) @448 @456 @10399 USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
PRINT @30028
// COMPILE ~aranw/dialog/c-aranbg2ee_content.d~ USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
/* BG2:EE Interplay - */
/* Have to separate it all up to deal with folks who have downloaded and installed only some of the npcs */
ACTION_IF FILE_EXISTS_IN_GAME ~dorn10.cre~ THEN BEGIN
COMPILE ~aranw/dialog/c-aranbg2ee_dorn.d~ USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
// EXTEND_BOTTOM ~c-aran.bcs~ ~aranw/baf/c-aranbg2ee_dorn.baf~ <-- UNUSED SO FAR
// EXTEND_BOTTOM ~c-arn25.bcs~ ~aranw/baf/c-aranbg2ee_dorn25.baf~ <-- UNUSED SO FAR
END
ACTION_IF FILE_EXISTS_IN_GAME ~ohhex10.cre~ THEN BEGIN
COMPILE ~aranw/dialog/c-aranbg2ee_hexxat.d~ USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
// EXTEND_BOTTOM ~c-aran.bcs~ ~aranw/baf/c-aranbg2ee_hexxat.baf~ <-- UNUSED SO FAR
// EXTEND_BOTTOM ~c-arn25.bcs~ ~aranw/baf/c-aranbg2ee_hexxat25.baf~ <-- UNUSED SO FAR
END
ACTION_IF FILE_EXISTS_IN_GAME ~neera10.cre~ THEN BEGIN
COMPILE ~aranw/dialog/c-aranbg2ee_neera.d~
// EXTEND_BOTTOM ~c-aran.bcs~ ~aranw/baf/c-aranbg2ee_neera.baf~ <-- UNUSED SO FAR
// EXTEND_BOTTOM ~c-arn25.bcs~ ~aranw/baf/c-aranbg2ee_neera25.baf~ <-- UNUSED SO FAR
// EXTEND_BOTTOM ~neera.bcs~ ~aranw/baf/c-aranbg2ee_neera.baf~ <-- UNUSED SO FAR
EXTEND_TOP ~ohndenna.bcs~ ~aranw/baf/c-aranbg2ee_ohndenna.baf~ USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
END
ACTION_IF FILE_EXISTS_IN_GAME ~rasaad10.cre~ THEN BEGIN
COMPILE ~aranw/dialog/c-aranbg2ee_rasaad.d~ USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
// EXTEND_BOTTOM ~c-aran.bcs~ ~aranw/baf/c-aranbg2ee_rasaad.baf~ <-- UNUSED SO FAR
// EXTEND_BOTTOM ~c-arn25.bcs~ ~aranw/baf/c-aranbg2ee_rasaad25.baf~ <-- UNUSED SO FAR
END
END
PRINT @30009
/* items */
PRINT @30033
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr1.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @127
SAY DESC @127
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr2.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @128
SAY DESC @128
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr3.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @129
SAY DESC @129
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr4.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @130
SAY DESC @130
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr5.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @131
SAY DESC @131
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr6.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @132
SAY DESC @132
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr7.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @133
SAY DESC @134
COPY_EXISTING ~SCRL3E.itm~ ~override/c-alttr8.itm~
SAY NAME1 @126
SAY NAME2 @126
SAY UNIDENTIFIED_DESC @135
SAY DESC @135
COPY_EXISTING ~SCRL3E.itm~ ~override/c-awpkg1.itm~
SAY NAME1 @136
SAY NAME2 @136
SAY UNIDENTIFIED_DESC @137
SAY DESC @137
COPY_EXISTING ~SCRL3E.itm~ ~override/c-awpkg2.itm~
SAY NAME1 @138
SAY NAME2 @138
SAY UNIDENTIFIED_DESC @139
SAY DESC @139
/* mycre.cre population */
PRINT @30009
/* NPC portraits */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
/* resources : portraits : bg2:ee */
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/nix_default_bg2eel.bmp~ ~override/c-aranwl.bmp~ /* Aran's portrait (Nix, default) */
COPY ~aranw/media/portraits_bg2ee/c-bouncer_manson.bmp~ ~override/c-aw01ep.bmp~ /* Area C-AW01 Manson - Bouncer on Promenade (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-mercgerald.bmp~ ~override/c-aw01p1.bmp~ /* Area C-AW01 Gerald the Strong (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-halforcmerc_cheris.bmp~ ~override/c-aw01p2.bmp~ /* Area C-AW01 Half-Orc Fighter Cheris (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-clericmerc_kavain.bmp~ ~override/c-aw01p3.bmp~ /* Area C-AW01 Kavain, Cleric Merc portrait (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-brawler_toran.bmp~ ~override/c-toran.bmp~ /* Area C-AW01 Toran (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-server_erika.bmp~ ~override/c-aw01w1.bmp~ /* Area C-AW01 Erika (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-mercrecruiter_teldra.bmp~ ~override/c-aw01tl.bmp~ /* Teldra the Recruiter (Peachplums) */
COPY ~aranw/media/portraits_bg2ee/c-tavernkeepandfence_orrin.bmp~ ~override/c-aw01tk.bmp~ /* Area C-AW01 Tavern Keeper Orrin */
COPY ~aranw/media/portraits_bg2ee/c-thug_malcer.bmp~ ~override/c-malcer.bmp~ /* Malcer the Romantic Foil */
COPY ~aranw/media/portraits_bg2ee/c-thug_oskut.bmp~ ~override/c-oskut.bmp~ /* Oskut - L10 male fighter */
COPY ~aranw/media/portraits_bg2ee/c-thug_taman.bmp~ ~override/c-taman.bmp~ /* Taman - L10 male fighter */
END ELSE BEGIN
/* resources : portraits : bg2 */
PRINT @30030
COPY ~aranw/media/portraits_bg2/nix_default_bg2l.bmp~ ~override/c-aranwl.bmp~ /* Aran's portrait (Nix, default) */
COPY ~aranw/media/portraits_bg2/nix_default_bg2m.bmp~ ~override/c-aranwm.bmp~ /* Aran's portrait (Nix, default) */
COPY ~aranw/media/portraits_bg2/nix_default_bg2s.bmp~ ~override/c-aranws.bmp~ /* Aran's portrait (Nix, default) */
COPY ~aranw/media/portraits_bg2/peachplums_manson_bg2s.bmp~ ~override/c-aw01ep.bmp~ /* Area C-AW01 Manson - Bouncer on Promenade (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_gerald_bg2s.bmp~ ~override/c-aw01p1.bmp~ /* Area C-AW01 Gerald the Strong (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_cheris_bg2s.bmp~ ~override/c-aw01p2.bmp~ /* Area C-AW01 Half-Orc Fighter Cheris (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_kavain_bg2s.bmp~ ~override/c-aw01p3.bmp~ /* Area C-AW01 Kavain, Cleric Merc portrait (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_toran_bg2s.bmp~ ~override/c-toran.bmp~ /* Area C-AW01 Toran (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_erika_bg2s.bmp~ ~override/c-aw01w1.bmp~ /* Area C-AW01 Erika (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_teldra_bg2s.bmp~ ~override/c-aw01tl.bmp~ /* Teldra the Recruiter (Peachplums) */
COPY ~aranw/media/portraits_bg2/peachplums_orrin_bg2s.bmp~ ~override/c-aw01tk.bmp~ /* Area C-AW01 Tavern Keeper Orrin */
COPY ~aranw/media/portraits_bg2/peachplums_malcer_bg2s.bmp~ ~override/c-malcer.bmp~ /* Malcer the Romantic Foil */
COPY ~aranw/media/portraits_bg2/peachplums_taman_bg2s.bmp~ ~override/c-taman.bmp~ /* Oskut - L10 male fighter */
COPY ~aranw/media/portraits_bg2/peachplums_oskut_bg2s.bmp~ ~override/c-oskut.bmp~ /* Taman - L10 male fighter */
END
PRINT @30009
/* creatures */
PRINT @30034
/* Area C-AW01 Entry Point - Manson - Bouncer on Promenade */
COPY_EXISTING ~kpgrd01.cre~ ~override/c-aw01ep.cre~
REMOVE_CRE_ITEM ~rndtre02~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @140
SAY NAME2 @140
COMPILE ~aranw/baf/C-AW01EP.baf~
EVALUATE_BUFFER
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
/* Area C-AW01 bar/barfight - Toran */
COPY_EXISTING ~kpgrd01.cre~ ~override/c-toran.cre~
REMOVE_CRE_ITEM ~rndtre02~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @141
SAY NAME2 @141
/* Area C-AW01 Tavern Keeper - Orrin */
COPY_EXISTING ~kpgrd01.cre~ ~override/c-aw01tk.cre~
REMOVE_CRE_ITEM ~rndtre02~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @142
SAY NAME2 @142
/* Area C-AW01 Tavern Waitress - Erika */
COPY_EXISTING ~wench1.cre~ ~override/c-aw01w1.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @143
SAY NAME2 @143
WRITE_BYTE 0x2C 35 // metal color
WRITE_BYTE 0x2D 74 // minor color
WRITE_BYTE 0x2E 41 // major color
WRITE_BYTE 0x2F 108 // skin color
WRITE_BYTE 0x30 40 // leather color
WRITE_BYTE 0x31 40 // armor color
WRITE_BYTE 0x32 3 // hair color
/* Area C-AW01 Tavern Patron - Gerald the Strong - L10 male fighter */
COPY_EXISTING ~kpgate02.cre~ ~override/c-aw01p1.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @144
SAY NAME2 @144
/* Area C-AW01 Tavern Patron Cheris */
COPY_EXISTING ~kpsold02.cre~ ~override/c-aw01p2.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @145
SAY NAME2 @145
WRITE_BYTE 0x2E 45 // major color
WRITE_BYTE 0x2F 37 // skin color
WRITE_BYTE 0x32 29 // hair color
/* Area C-AW01 Tavern Patron Kavain - L10 male priest */
COPY_EXISTING ~kpchap01.cre~ ~override/c-aw01p3.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @146
SAY NAME2 @146
/* Area C-AW01 Tavern - Teldra the Recruiter */
COPY_EXISTING ~kpsold07.cre~ ~override/c-aw01tl.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @147
SAY NAME2 @147
/* outside-the-bar fight (females romancing him only) */
/* Malcer - L10 male fighter */
COPY_EXISTING ~kpgate02.cre~ ~override/c-malcer.cre~
REMOVE_CRE_ITEM ~sw2h01~
REMOVE_CRE_ITEM ~plat01~
REMOVE_CRE_ITEM ~helm01~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @148
SAY NAME2 @148
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
WRITE_ASCIIE 0x248 ~%DEST_RES%~ #8 /* give new override AI script */
WRITE_ASCII 0x268 ~WTASIGHT~ #8 /* give new default AI script */
ADD_CRE_ITEM ~chan04~ #0 #0 #0 IDENTIFIED ARMOR
ADD_CRE_ITEM ~shld06~ #0 #0 #0 IDENTIFIED SHIELD
ADD_CRE_ITEM ~sw1h41~ #0 #0 #0 IDENTIFIED WEAPON1 EQUIP
/* Oskut - L10 male fighter */
COPY_EXISTING ~kpgate02.cre~ ~override/c-oskut.cre~
REMOVE_CRE_ITEM ~sw2h01~
REMOVE_CRE_ITEM ~plat01~
REMOVE_CRE_ITEM ~helm01~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @149
SAY NAME2 @149
WRITE_BYTE 0x2E 45 /* major color */
WRITE_BYTE 0x2F 37 /* skin color */
WRITE_BYTE 0x32 29 /* hair color */
WRITE_ASCIIE 0x248 ~%DEST_RES%~ #8 /* give new override AI script */
WRITE_ASCII 0x268 ~WTASIGHT~ #8 /* give new default AI script */
ADD_CRE_ITEM ~chan04~ #0 #0 #0 IDENTIFIED ARMOR
ADD_CRE_ITEM ~shld05~ #0 #0 #0 IDENTIFIED SHIELD
ADD_CRE_ITEM ~sw1h05~ #0 #0 #0 IDENTIFIED WEAPON1 EQUIP
/* Taman - L10 male fighter */
COPY_EXISTING ~kpgate02.cre~ ~override/c-taman.cre~
REMOVE_CRE_ITEM ~sw2h01~
REMOVE_CRE_ITEM ~plat01~
REMOVE_CRE_ITEM ~helm01~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @150
SAY NAME2 @150
WRITE_BYTE 0x2F 13 /* skin color (light pure silver) */
WRITE_BYTE 0x32 4 /* hair color (auburn) */
WRITE_ASCIIE 0x248 ~%DEST_RES%~ #8 /* give new override AI script */
WRITE_ASCII 0x268 ~WTASIGHT~ #8 /* give new default AI script */
ADD_CRE_ITEM ~chan04~ #0 #0 #0 IDENTIFIED ARMOR
ADD_CRE_ITEM ~shld05~ #0 #0 #0 IDENTIFIED SHIELD
ADD_CRE_ITEM ~blun21~ #0 #0 #0 IDENTIFIED WEAPON1 EQUIP
/* resources : romance vampiric abduction */
/* Vamp'd Aran's Body */
COPY_EXISTING ~miscbm.itm~ ~override/c-avbody.itm~
SAY NAME1 @151
SAY NAME2 @151
SAY UNIDENTIFIED_DESC @152
/* Vamp'd Aran */
COPY_EXISTING ~vampano.cre~ ~override/c-arnvmp.cre~
REMOVE_CRE_ITEM ~miscbm~
SAY NAME1 @68
SAY NAME2 @69
WRITE_ASCII 0x34 ~c-aranws~ #8 /* small portrait */
WRITE_ASCIIE 0x248 ~%DEST_RES%~ #8 /* override AI script */
WRITE_ASCII 0x268 ~c-vampai~ #8 /* default AI script */
WRITE_ASCIIE 0x2cc ~%DEST_RES%~ #8 /* dialogue */
WRITE_ASCIIE 0x280 ~%DEST_RES%~ #32 /* death variable */
ADD_CRE_ITEM ~c-avbody~ #0 #0 #0 IDENTIFIED QITEM1
PRINT @30009
/* ToB-only .cres */
PRINT @30035
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
/* resources : portraits : bg2:ee */
COPY ~aranw/media/portraits_bg2ee/c-wraithghost_stedd.bmp~ ~override/c-arwrth.bmp~ /* Stedd, The Ghost Of PTSD (Peachplums) */
END ELSE BEGIN
/* resources : portraits : bg2 */
COPY ~aranw/media/portraits_bg2/peachplums_stedd_bg2s.bmp~ ~override/c-arwrth.bmp~ /* Stedd, The Ghost Of PTSD (Peachplums) */
END
/* The Ghost Of PTSD - L10 male fighter */
COPY_EXISTING ~kpgate02.cre~ ~override/c-arwrth.cre~
LAUNCH_PATCH_MACRO ~support_cre_cleanup~
SAY NAME1 @125
SAY NAME2 @125
PRINT @30009
END
/* resources : stores */
PRINT @30036
COPY ~aranw/media/stores/c-awtav1.sto~ ~override~
SAY NAME2 @153
WRITE_LONG 0x0010 ~0b010001001111~
WRITE_LONG 0x14 180 // sell
WRITE_LONG 0x18 25 // buy
WRITE_SHORT 0x20 90 // diff
ADD_STORE_ITEM ~MISC16~ #0 #0 #0 ~IDENTIFIED~ #5 /* Fire Agate Gem */
ADD_STORE_ITEM ~MISC17~ #0 #0 #0 ~IDENTIFIED~ #8 /* Lynx Eye Gem */
ADD_STORE_ITEM ~MISC18~ #0 #0 #0 ~IDENTIFIED~ #4 /* Sunstone Gem */
ADD_STORE_ITEM ~MISC19~ #0 #0 #0 ~IDENTIFIED~ #10 /* Turquoise Gem */
ADD_STORE_ITEM ~MISC20~ #0 #0 #0 ~IDENTIFIED~ #5 /* Bloodstone Gem */
ADD_STORE_ITEM ~MISC21~ #0 #0 #0 ~IDENTIFIED~ #7 /* Skydrop Gem */
ADD_STORE_ITEM ~MISC22~ #0 #0 #0 ~IDENTIFIED~ #5 /* Andar Gem */
ADD_STORE_ITEM ~MISC23~ #0 #0 #0 ~IDENTIFIED~ #12 /* Jasper Gem */
ADD_STORE_ITEM ~MISC24~ #0 #0 #0 ~IDENTIFIED~ #5 /* Tchazar Gem */
ADD_STORE_ITEM ~MISC25~ #0 #0 #0 ~IDENTIFIED~ #3 /* Zircon Gem */
ADD_STORE_ITEM ~MISC26~ #0 #0 #0 ~IDENTIFIED~ #5 /* Iol Gem */
ADD_STORE_ITEM ~MISC27~ #0 #0 #0 ~IDENTIFIED~ #6 /* Moonstone Gem */
ADD_STORE_ITEM ~MISC28~ #0 #0 #0 ~IDENTIFIED~ #4 /* Waterstar Gem */
ADD_STORE_ITEM ~MISC29~ #0 #0 #0 ~IDENTIFIED~ #2 /* Ziose Gem */
ADD_STORE_ITEM ~MISC30~ #0 #0 #0 ~IDENTIFIED~ #3 /* Chrysoberyl Gem */
ADD_STORE_ITEM ~MISC31~ #0 #0 #0 ~IDENTIFIED~ #7 /* Star Diopside Gem */
ADD_STORE_ITEM ~MISC32~ #0 #0 #0 ~IDENTIFIED~ #2 /* Shandon Gem */
ADD_STORE_ITEM ~MISC33~ #0 #0 #0 ~IDENTIFIED~ #1 /* Aquamarine Gem */
ADD_STORE_ITEM ~MISC34~ #0 #0 #0 ~IDENTIFIED~ #4 /* Garnet Gem */
ADD_STORE_ITEM ~MISC35~ #0 #0 #0 ~IDENTIFIED~ #12 /* Horn Coral Gem */
ADD_STORE_ITEM ~MISC36~ #0 #0 #0 ~IDENTIFIED~ #6 /* Pearl */
ADD_STORE_ITEM ~MISC37~ #0 #0 #0 ~IDENTIFIED~ #1 /* Sphene Gem */
ADD_STORE_ITEM ~MISC38~ #0 #0 #0 ~IDENTIFIED~ #3 /* Black Opal */
ADD_STORE_ITEM ~MISC39~ #0 #0 #0 ~IDENTIFIED~ #7 /* Water Opal */
ADD_STORE_ITEM ~MISC40~ #0 #0 #0 ~IDENTIFIED~ #12 /* Moonbar Gem */
ADD_STORE_ITEM ~MISC41~ #0 #0 #0 ~IDENTIFIED~ #6 /* Star Sapphire */
ADD_STORE_ITEM ~MISC6N~ #0 #0 #0 ~IDENTIFIED~ #5 /* Sun Gem */
ADD_STORE_ITEM ~RING10~ #0 #0 #0 ~IDENTIFIED~ #5 /* Gold Ring */
ADD_STORE_ITEM ~RING11~ #0 #0 #0 ~IDENTIFIED~ #5 /* Silver Ring */
ADD_STORE_ITEM ~RING12~ #0 #0 #0 ~IDENTIFIED~ #5 /* Onyx Ring */
ADD_STORE_ITEM ~RING13~ #0 #0 #0 ~IDENTIFIED~ #12 /* Jade Ring */
ADD_STORE_ITEM ~RING14~ #0 #0 #0 ~IDENTIFIED~ #20 /* Greenstone Ring */
ADD_STORE_ITEM ~RING15~ #0 #0 #0 ~IDENTIFIED~ #5 /* Bloodstone Ring */
ADD_STORE_ITEM ~RING16~ #0 #0 #0 ~IDENTIFIED~ #2 /* Angel Skin Ring */
ADD_STORE_ITEM ~RING17~ #0 #0 #0 ~IDENTIFIED~ #3 /* Flamedance Ring */
ADD_STORE_ITEM ~RING18~ #0 #0 #0 ~IDENTIFIED~ #3 /* Fire Opal Ring */
ADD_STORE_ITEM ~RING19~ #0 #0 #0 ~IDENTIFIED~ #2 /* Ruby Ring */
ADD_STORE_ITEM ~AMUL02~ #0 #0 #0 ~IDENTIFIED~ #8 /* Necklace */
ADD_STORE_ITEM ~AMUL04~ #0 #0 #0 ~IDENTIFIED~ #2 /* Studded Necklace with Zios Gems */
ADD_STORE_ITEM ~AMUL05~ #0 #0 #0 ~IDENTIFIED~ #3 /* Bluestone Necklace */
ADD_STORE_ITEM ~AMUL06~ #0 #0 #0 ~IDENTIFIED~ #3 /* Agni Mani Necklace */
ADD_STORE_ITEM ~AMUL07~ #0 #0 #0 ~IDENTIFIED~ #5 /* Rainbow Obsidian Necklace */
ADD_STORE_ITEM ~AMUL08~ #0 #0 #0 ~IDENTIFIED~ #5 /* Tiger Cowrie Shell Necklace */
ADD_STORE_ITEM ~AMUL09~ #0 #0 #0 ~IDENTIFIED~ #1 /* Silver Necklace */
ADD_STORE_ITEM ~AMUL10~ #0 #0 #0 ~IDENTIFIED~ #1 /* Gold Necklace */
ADD_STORE_ITEM ~AMUL11~ #0 #0 #0 ~IDENTIFIED~ #1 /* Pearl Necklace */
ADD_STORE_ITEM ~AMUL13~ #0 #0 #0 ~IDENTIFIED~ #4 /* Bloodstone Amulet */
ADD_STORE_ITEM ~POTN08~ #1 #0 #0 ~IDENTIFIED~ #100 /* Potion of Healing */
ADD_STORE_ITEM ~POTN52~ #1 #0 #0 ~IDENTIFIED~ #30 /* Potion of Extra Healing */
ADD_STORE_ITEM ~POTN20~ #1 #0 #0 ~IDENTIFIED~ #10 /* Antidote */
ADD_STORE_ITEM ~POTN42~ #1 #0 #0 ~IDENTIFIED~ #5 /* Potion of Regeneration */
COPY ~aranw/media/stores/c-awtav2.sto~ ~override~
PATCH_IF SOURCE_SIZE > 0x9b BEGIN
SAY NAME2 @154
WRITE_LONG 0x14 170 // sell
WRITE_LONG 0x18 30 // buy
WRITE_SHORT 0x20 95 // diff
ADD_STORE_ITEM ~MISC16~ #0 #0 #0 ~IDENTIFIED~ #5 /* Fire Agate Gem */
ADD_STORE_ITEM ~MISC17~ #0 #0 #0 ~IDENTIFIED~ #8 /* Lynx Eye Gem */
ADD_STORE_ITEM ~MISC18~ #0 #0 #0 ~IDENTIFIED~ #4 /* Sunstone Gem */
ADD_STORE_ITEM ~MISC19~ #0 #0 #0 ~IDENTIFIED~ #10 /* Turquoise Gem */
ADD_STORE_ITEM ~MISC20~ #0 #0 #0 ~IDENTIFIED~ #5 /* Bloodstone Gem */
ADD_STORE_ITEM ~MISC21~ #0 #0 #0 ~IDENTIFIED~ #7 /* Skydrop Gem */
ADD_STORE_ITEM ~MISC22~ #0 #0 #0 ~IDENTIFIED~ #5 /* Andar Gem */
ADD_STORE_ITEM ~MISC23~ #0 #0 #0 ~IDENTIFIED~ #12 /* Jasper Gem */
ADD_STORE_ITEM ~MISC24~ #0 #0 #0 ~IDENTIFIED~ #5 /* Tchazar Gem */
ADD_STORE_ITEM ~MISC25~ #0 #0 #0 ~IDENTIFIED~ #3 /* Zircon Gem */
ADD_STORE_ITEM ~MISC26~ #0 #0 #0 ~IDENTIFIED~ #5 /* Iol Gem */
ADD_STORE_ITEM ~MISC27~ #0 #0 #0 ~IDENTIFIED~ #6 /* Moonstone Gem */
ADD_STORE_ITEM ~MISC28~ #0 #0 #0 ~IDENTIFIED~ #4 /* Waterstar Gem */
ADD_STORE_ITEM ~MISC29~ #0 #0 #0 ~IDENTIFIED~ #2 /* Ziose Gem */
ADD_STORE_ITEM ~MISC30~ #0 #0 #0 ~IDENTIFIED~ #3 /* Chrysoberyl Gem */
ADD_STORE_ITEM ~MISC31~ #0 #0 #0 ~IDENTIFIED~ #7 /* Star Diopside Gem */
ADD_STORE_ITEM ~MISC32~ #0 #0 #0 ~IDENTIFIED~ #2 /* Shandon Gem */
ADD_STORE_ITEM ~MISC33~ #0 #0 #0 ~IDENTIFIED~ #1 /* Aquamarine Gem */
ADD_STORE_ITEM ~MISC34~ #0 #0 #0 ~IDENTIFIED~ #4 /* Garnet Gem */
ADD_STORE_ITEM ~MISC35~ #0 #0 #0 ~IDENTIFIED~ #12 /* Horn Coral Gem */
ADD_STORE_ITEM ~MISC36~ #0 #0 #0 ~IDENTIFIED~ #6 /* Pearl */
ADD_STORE_ITEM ~MISC37~ #0 #0 #0 ~IDENTIFIED~ #20 /* Sphene Gem */
ADD_STORE_ITEM ~MISC38~ #0 #0 #0 ~IDENTIFIED~ #3 /* Black Opal */
ADD_STORE_ITEM ~MISC39~ #0 #0 #0 ~IDENTIFIED~ #7 /* Water Opal */
ADD_STORE_ITEM ~MISC40~ #0 #0 #0 ~IDENTIFIED~ #12 /* Moonbar Gem */
ADD_STORE_ITEM ~MISC41~ #0 #0 #0 ~IDENTIFIED~ #6 /* Star Sapphire */
ADD_STORE_ITEM ~MISC6N~ #0 #0 #0 ~IDENTIFIED~ #5 /* Sun Gem */
ADD_STORE_ITEM ~MISC42~ #0 #0 #0 ~IDENTIFIED~ #3 /* Diamond - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~MISC43~ #0 #0 #0 ~IDENTIFIED~ #2 /* Emerald - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~MISC44~ #0 #0 #0 ~IDENTIFIED~ #2 /* Kings Tears - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~MISC45~ #0 #0 #0 ~IDENTIFIED~ #1 /* Rogue Stone - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~MISC5K~ #0 #0 #0 ~IDENTIFIED~ #1 /* Illithium Ore (200 pounds) - Special Stock (only in c-awtav2) ? as alternative to cheating it in for item creation? */
ADD_STORE_ITEM ~HELM18~ #0 #0 #0 ~IDENTIFIED~ #1 /* Pearly White Ioun Stone (regenerate HP) - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~HELM19~ #0 #0 #0 ~IDENTIFIED~ #1 /* Dusty Rose Ioun Stone (AC +1) - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~HELM20~ #0 #0 #0 ~IDENTIFIED~ #1 /* Pale Green Ioun Stone (bonus HP and THAC0) - Special Stock (only in c-awtav2) */
ADD_STORE_ITEM ~RING21~ #0 #0 #0 ~IDENTIFIED~ #1 /* Ring of Infravision - Special Stock (only in c-awtav02) */
ADD_STORE_ITEM ~RING05~ #0 #0 #0 ~IDENTIFIED~ #1 /* Ring of Invisibility - Special Stock (only in c-awtav02) */
ADD_STORE_ITEM ~RING06~ #0 #0 #0 ~IDENTIFIED~ #1 /* Ring of Protection +1 - Special Stock (only in c-awtav02) */
ADD_STORE_ITEM ~RING10~ #0 #0 #0 ~IDENTIFIED~ #5 /* Gold Ring */
ADD_STORE_ITEM ~RING11~ #0 #0 #0 ~IDENTIFIED~ #5 /* Silver Ring */
ADD_STORE_ITEM ~RING12~ #0 #0 #0 ~IDENTIFIED~ #5 /* Onyx Ring */
ADD_STORE_ITEM ~RING13~ #0 #0 #0 ~IDENTIFIED~ #12 /* Jade Ring */
ADD_STORE_ITEM ~RING14~ #0 #0 #0 ~IDENTIFIED~ #20 /* Greenstone Ring */
ADD_STORE_ITEM ~RING15~ #0 #0 #0 ~IDENTIFIED~ #5 /* Bloodstone Ring */
ADD_STORE_ITEM ~RING16~ #0 #0 #0 ~IDENTIFIED~ #2 /* Angel Skin Ring */
ADD_STORE_ITEM ~RING17~ #0 #0 #0 ~IDENTIFIED~ #3 /* Flamedance Ring */
ADD_STORE_ITEM ~RING18~ #0 #0 #0 ~IDENTIFIED~ #3 /* Fire Opal Ring */
ADD_STORE_ITEM ~RING19~ #0 #0 #0 ~IDENTIFIED~ #2 /* Ruby Ring */
ADD_STORE_ITEM ~AMUL01~ #0 #0 #0 ~IDENTIFIED~ #1 /* Necklace of Missiles - Special Stock (only in c-awtav02) */
ADD_STORE_ITEM ~AMUL12~ #0 #0 #0 ~IDENTIFIED~ #1 /* Laeral's Tear Necklace (3000 gp) - Special Stock (only in c-awtav02) */
ADD_STORE_ITEM ~AMUL02~ #0 #0 #0 ~IDENTIFIED~ #8 /* Necklace */
ADD_STORE_ITEM ~AMUL04~ #0 #0 #0 ~IDENTIFIED~ #2 /* Studded Necklace with Zios Gems */
ADD_STORE_ITEM ~AMUL05~ #0 #0 #0 ~IDENTIFIED~ #3 /* Bluestone Necklace */
ADD_STORE_ITEM ~AMUL06~ #0 #0 #0 ~IDENTIFIED~ #3 /* Agni Mani Necklace */
ADD_STORE_ITEM ~AMUL07~ #0 #0 #0 ~IDENTIFIED~ #5 /* Rainbow Obsidian Necklace */
ADD_STORE_ITEM ~AMUL08~ #0 #0 #0 ~IDENTIFIED~ #20 /* Tiger Cowrie Shell Necklace */
ADD_STORE_ITEM ~AMUL09~ #0 #0 #0 ~IDENTIFIED~ #6 /* Silver Necklace */
ADD_STORE_ITEM ~AMUL10~ #0 #0 #0 ~IDENTIFIED~ #6 /* Gold Necklace */
ADD_STORE_ITEM ~AMUL11~ #0 #0 #0 ~IDENTIFIED~ #7 /* Pearl Necklace */
ADD_STORE_ITEM ~AMUL13~ #0 #0 #0 ~IDENTIFIED~ #4 /* Bloodstone Amulet */
ADD_STORE_ITEM ~POTN08~ #1 #0 #0 ~IDENTIFIED~ #100 /* Potion of Healing */
ADD_STORE_ITEM ~POTN52~ #1 #0 #0 ~IDENTIFIED~ #30 /* Potion of Extra Healing */
ADD_STORE_ITEM ~POTN20~ #1 #0 #0 ~IDENTIFIED~ #10 /* Antidote */
ADD_STORE_ITEM ~POTN42~ #1 #0 #0 ~IDENTIFIED~ #5 /* Potion of Regeneration */
END
PRINT @30009
/* resources : area creation */
PRINT @30037
COPY ~aranw/areas/c-ar01.are~ ~override~
COPY ~aranw/areas/c-ar01.tis~ ~override~
COPY ~aranw/areas/c-ar01.mos~ ~override~
COPY ~aranw/areas/c-ar01.wed~ ~override~
COPY ~aranw/areas/c-ar01ht.bmp~ ~override~
COPY ~aranw/areas/c-ar01lm.bmp~ ~override~
COPY ~aranw/areas/c-ar01sr.bmp~ ~override~
APPEND ~mastarea.2da~
~C-AR01 value~
UNLESS ~C-AR01~
/* area script */
COMPILE ~aranw/baf/c-ar01.baf~
EVALUATE_BUFFER
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
/* Existing Promenade edits */
EXTEND_TOP ~AR0700.BCS~ ~aranw/baf/c-spawnbouncer.baf~
PRINT @30038
/* steal Abandon06 info point and turn it into a ravel region, add entrance point for c-ar01 to use to send party to AR0700 */
COPY_EXISTING ar0700.are override
/* Turn Abandon06 into an entry point for C-AR01, The Broken Sword */
LPF ARGENT_ALTER_AREA_REGION
INT_VAR
type = ~2~
cursor = ~30~
info_strref = RESOLVE_STR_REF(@13144) // The Broken Sword
STR_VAR
region_name = ~Abandon06~
destination_area = ~c-ar01~
entrance_name = ~Trancar01~
END
/* give an exit point for C-AR01, The Broken Sword */
LPF fj_are_structure
INT_VAR
fj_loc_x = 2391
fj_loc_y = 1484
fj_orientation = 4 // w
STR_VAR
fj_structure_type = entrance
fj_name = Exitc-ar01
END
ADD_MAP_NOTE #2254 #1342 ~blue~ @13144
PRINT @30009
/* install scripts */
PRINT @30039
/* underdark trigger */
EXTEND_BOTTOM ~ar2102.bcs~ ~aranw\baf\c-aranunderdarkstart.baf~ /* sets up filter indicating drow avatar and spelunking */
EXTEND_BOTTOM ~ar2500.bcs~ ~aranw\baf\c-aranunderdarkend.baf~ /* shuts down underdark filter */
/* Vampire Scripty Stuff */
EXTEND_BOTTOM ~vampamb.bcs~ ~aranw\baf\c-vampamb.baf~ /* create vampired-aran in area; c-arnvmp */
EXTEND_BOTTOM ~bodhiamb.bcs~ ~aranw\baf\c-aranvampire.baf~ /* bodhi disappears with aran */
EXTEND_BOTTOM ~ar0809.bcs~ ~aranw\baf\c-vampar0809.baf~ /* create vampired-aran in area; c-arnvmp */
EXTEND_BOTTOM ~cleanse.bcs~ ~aranw\baf\c-aranvampirecleanse.baf~ /* restoring aran */
COMPILE ~aranw/baf/c-abvamp.baf~ /* aran vampired cutscene */
COMPILE ~aranw/baf/c-vampai.baf~ /* vampire ai script for c-arnvmp */
COMPILE ~aranw/baf/c-arnvmp.baf~ /* vampire override script for c-arnvmp */
/* Night Talks */
EXTEND_TOP ~player1d.bcs~ ~aranw\baf\c-nighttalk.baf~ /* adds "goaded" dialog initiation for dreamscripts */
EXTEND_TOP ~player1d.bcs~ ~aranw\baf\c-goaded.baf~ /* adds "goaded" dialog initiation for dreamscripts */
/* Regular Scripts */
COMPILE EVALUATE_BUFFER ~aranw/baf/c-aran.baf~ /* override script */
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
COMPILE ~aranw/baf/c-arand.baf~ /* SoA dreamscript */
COMPILE ~aranw/baf/c-aranx.baf~ /* out-of-party combat script */
/* Rest-but-don't-trigger-player1D */
COMPILE ~aranw/baf/c-restco.baf~ /* rest cutscene for camping outside */
COMPILE ~aranw/baf/c-restin.baf~ /* rest cutscene for inn */
COMPILE ~aranw/baf/c-restdg.baf~ /* rest cutscene for dungeon */
COMPILE ~aranw/baf/c-restpp.baf~ /* rest cutscene for pocket plane */
COMPILE ~aranw/baf/c-arnblk.baf~ /* rest cutscene for unknown or simple: Fade To Black */
/* NPC Scripts */
COMPILE ~aranw/baf/c-malcer.baf~ /* override script for Malcer */
COMPILE ~aranw/baf/c-oskut.baf~ /* override script for Oskut */
COMPILE ~aranw/baf/c-taman.baf~ /* override script for Taman */
PRINT @30009
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN /* ToB scripts */
PRINT @30040
COMPILE EVALUATE_BUFFER ~aranw/baf/c-arn25.baf~ // joined ToB script
USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
COMPILE ~aranw/baf/c-aranx.baf~ // default ToB unjoined temporary
COMPILE ~aranw/baf/c-arn25d.baf~ // ToB dreamscript
COMPILE ~aranw/baf/c-act218.baf~ // cutscene: wraith summons
EXTEND_TOP ~cut218g.bcs~ ~aranw/baf/c-wraithend_cut218g.baf~ // get rid of wraith
EXTEND_TOP ~ar6200.bcs~ ~aranw/baf/c-ar6200_epilog_ext.baf~ // epilogues triggered
PRINT @30009
END
PRINT @30133
ACTION_IF MOD_IS_INSTALLED ~GAVIN_BG2/SETUP-GAVIN_BG2.TP2~ ~0~ THEN BEGIN
COMPILE EVALUATE_BUFFER ~aranw/dialog/c-aran_berelindegift.d~
// USING ~aranw/tra/%LANGUAGE%/%tra_version%.tra~
COPY_EXISTING ~BAG03D.STO~ ~override/c-pqcase.sto~
COPY_EXISTING ~BAG03D.itm~ ~override/c-pqcase.itm~
SAY NAME1 ~Ornate Scrivner's Case~
SAY NAME2 ~Ornate Scrivner's Case~
SAY UNIDENTIFIED_DESC ~This beautifully handcrafted oiled leather container is stiffened with silver inlay and ankheg shell inserts, designed with the connoisseur of fine writing implements in mind. The container safely stores multiple small glass and ceramic inkwells for rare inks and reagents, panels for separating different forms of parchment and vellum, and a small cleverly hidden quill-sharpening knife. It appears to be practically indestructable.
STATISTICS:
Weight: 2
~
SAY DESC ~This beautifully handcrafted oiled leather container is stiffened with silver inlay and ankheg shell inserts, designed with the connoisseur of fine writing implements in mind. The container safely stores multiple small glass and ceramic inkwells for rare inks and reagents, panels for separating different forms of parchment and vellum, and a small cleverly hidden quill-sharpening knife. It appears to be practically indestructable.
STATISTICS:
Weight: 2
~
END
/* close out and move custom info .log back to subdirectory for easy reading */
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//"
APPEND ~c-arandebugger01.log~ "//\\//\\ Aran Whitehand Component 0 - End Log//\\//\\/"
APPEND ~c-arandebugger01.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//"
COPY ~override/c-arandebugger01.log~ ~aranw/aranw_0_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
/* Install sounds via FORCED_SUBCOMPONENT */
BEGIN @30012 //component_1_
FORCED_SUBCOMPONENT @30011
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger02.log~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - Begin Log//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
/* Make sure we have a blank music file in the install */
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~Blank.mus~) BEGIN
COPY ~aranw/media/Blank.mus~ ~music~
END
// replace this for .acm music later - but for now, make sure the blank sound reference works
COPY_EXISTING ~songlist.2da~ ~override~
SET_2DA_ENTRY 2 1 2 ~Blank~
SET_2DA_ENTRY 2 2 2 ~Blank.mus~
BUT_ONLY
LAUNCH_ACTION_MACRO ~chooseasoundtrack~
// set up what sounds need to be installed for this component to be covered
ACTION_CLEAR_ARRAY ~sounds~
ACTION_DEFINE_ARRAY ~sounds~ BEGIN
~c-aws001~
~c-aws002~
~c-aws003~
~c-aws004~
~c-aws005~
~c-aws006~
~c-aws007~
~c-aws008~
~c-aws009~
~c-aws010~
~c-aws011~
~c-aws012~
~c-aws013~
~c-aws014~
~c-aws015~
~c-aws016~
~c-aws017~
~c-aws018~
~c-aws019~
~c-aws020~
~c-aws021~
~c-aws022~
~c-aws023~
~c-aws024~
~c-aws025~
~c-aws026~
~c-aws027~
~c-aws028~
~c-aws029~
~c-aws030~
~c-aws031~
~c-aws032~
~c-aws033~
~c-aws034~
~c-aws035~
~c-aws036~
~c-aws037~
~c-aws038~
~c-aws039~
~c-aws040~
~c-aws041~
~c-aws042~
~c-aws043~
~c-aws044~
~c-aws045~
~c-arnfth~
~c-arnfti~
~c-arnltu~
~c-arnltl~
~c-arandf~
~c-arands~
END
// look for the resulting .wavc files and copy them into the game
ACTION_PHP_EACH ~sounds~ AS ~index~ => ~sound~ BEGIN
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~%sound%.wav~) BEGIN
COPY ~aranw/media/wavc/%sound%.wav~ ~override~
END
END
/* specific info block */
APPEND ~c-arandebugger02.log~ ~Component 1 installed. Aran's .cre soundset, Music and Voiced lines were installed. NOTE: NO VOICED LINES ARE CURRENTLY PLACED IN THE PROJECT. The code does not add them at this time. This is component is included for future-proofing, so that the component numbers will remain stable.~
/* general info block */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger02.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger02.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger02.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger02.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger02.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger02.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger02.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger02.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
/* close out and move custom info .log back to subdirectory for easy reading */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - End Log//\\//\\//"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
COPY ~override/c-arandebugger02.log~ ~aranw/aranw_1234_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
BEGIN @30013 //component_2_
FORCED_SUBCOMPONENT @30011
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger02.log~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - Begin Log//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
/* Make sure we have a blank music file in the install */
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~Blank.mus~) BEGIN
COPY ~aranw/media/Blank.mus~ ~music~
END
// replace this for .acm music later - but for now, make sure the blank sound reference works
COPY_EXISTING ~songlist.2da~ ~override~
SET_2DA_ENTRY 2 1 2 ~Blank~
SET_2DA_ENTRY 2 2 2 ~Blank.mus~
BUT_ONLY
LAUNCH_ACTION_MACRO ~chooseasoundtrack~
/* set up what sounds need to be installed for this component to be covered */
ACTION_CLEAR_ARRAY ~sounds~
ACTION_DEFINE_ARRAY ~sounds~ BEGIN
~c-aws001~
~c-aws002~
~c-aws003~
~c-aws004~
~c-aws005~
~c-aws006~
~c-aws007~
~c-aws008~
~c-aws009~
~c-aws010~
~c-aws011~
~c-aws012~
~c-aws013~
~c-aws014~
~c-aws015~
~c-aws016~
~c-aws017~
~c-aws018~
~c-aws019~
~c-aws020~
~c-aws021~
~c-aws022~
~c-aws023~
~c-aws024~
~c-aws025~
~c-aws026~
~c-aws027~
~c-aws028~
~c-aws029~
~c-aws030~
~c-aws031~
~c-aws032~
~c-aws033~
~c-aws034~
~c-aws035~
~c-aws036~
~c-aws037~
~c-aws038~
~c-aws039~
~c-aws040~
~c-aws041~
~c-aws042~
~c-aws043~
~c-aws044~
~c-aws045~
~c-arnfth~
~c-arnfti~
~c-arnltl~
~c-arandf~
~c-arands~
END
/* look for the resulting .wavc files and copy them into the game */
ACTION_PHP_EACH ~sounds~ AS ~index~ => ~sound~ BEGIN
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~%sound%.wav~) BEGIN
COPY ~aranw/media/wavc/%sound%.wav~ ~override~
END
END
/* specific info block */
APPEND ~c-arandebugger02.log~ ~Component 2 installed. Aran's .cre soundset and Music in .wavc were placed into the game.~
/* general info block */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger02.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger02.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger02.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger02.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger02.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger02.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger02.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger02.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
/* close out and move custom info .log back to subdirectory for easy reading */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - End Log//\\//\\//"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
COPY ~override/c-arandebugger02.log~ ~aranw/aranw_1234_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
BEGIN @30014 //component_3_
FORCED_SUBCOMPONENT @30011
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger02.log~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - Begin Log//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
/* Make sure we have a blank music file in the install */
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~Blank.mus~) BEGIN
COPY ~aranw/media/Blank.mus~ ~music~
END
// replace this for .acm music later - but for now, make sure the blank sound reference works
COPY_EXISTING ~songlist.2da~ ~override~
SET_2DA_ENTRY 2 1 2 ~Blank~
SET_2DA_ENTRY 2 2 2 ~Blank.mus~
BUT_ONLY
LAUNCH_ACTION_MACRO ~chooseasoundtrack~
/* set up what sounds need to be installed for this component to be covered */
ACTION_CLEAR_ARRAY ~sounds~
ACTION_DEFINE_ARRAY ~sounds~ BEGIN
~c-aws001~
~c-aws002~
~c-aws003~
~c-aws004~
~c-aws005~
~c-aws006~
~c-aws007~
~c-aws008~
~c-aws009~
~c-aws010~
~c-aws011~
~c-aws012~
~c-aws013~
~c-aws014~
~c-aws015~
~c-aws016~
~c-aws017~
~c-aws018~
~c-aws019~
~c-aws020~
~c-aws021~
~c-aws022~
~c-aws023~
~c-aws024~
~c-aws025~
~c-aws026~
~c-aws027~
~c-aws028~
~c-aws029~
~c-aws030~
~c-aws031~
~c-aws032~
~c-aws033~
~c-aws034~
~c-aws035~
~c-aws036~
~c-aws037~
~c-aws038~
~c-aws039~
~c-aws040~
~c-aws041~
~c-aws042~
~c-aws043~
~c-aws044~
~c-aws045~
END
/* look for the resulting .wavc files and copy them into the game */
ACTION_PHP_EACH ~sounds~ AS ~index~ => ~sound~ BEGIN
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~%sound%.wav~) BEGIN
COPY ~aranw/media/wavc/%sound%.wav~ ~override~
END
END
/* specific info block */
APPEND ~c-arandebugger02.log~ ~Component 3 installed. Choice was to only install Aran's .cre soundset in .wavc format.~
/* general info block */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger02.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger02.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger02.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger02.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger02.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger02.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger02.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger02.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
/* close out and move custom info .log back to subdirectory for easy reading */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - End Log//\\//\\//"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
COPY ~override/c-arandebugger02.log~ ~aranw/aranw_1234_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
BEGIN @30015 //component_4_
FORCED_SUBCOMPONENT @30011
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger02.log~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - Begin Log//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
PRINT @30016
/* Make sure we have a blank music file in the install */
ACTION_IF (NOT FILE_EXISTS_IN_GAME ~Blank.mus~) BEGIN
COPY ~aranw/media/Blank.mus~ ~music~
END
// replace this for .acm music later - but for now, make sure the blank sound reference works
COPY_EXISTING ~songlist.2da~ ~override~
SET_2DA_ENTRY 2 1 2 ~Blank~
SET_2DA_ENTRY 2 2 2 ~Blank.mus~
BUT_ONLY
/* specific info block */
APPEND ~c-arandebugger02.log~ ~Component 4 installed. Choice was to not install any audio - no changes beyond the ALWAYS block were made on this installation~
/* general info block */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger02.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger02.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger02.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger02.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger02.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger02.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger02.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger02.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger02.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
/* close out and move custom info .log back to subdirectory for easy reading */
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger02.log~ "//\\//\\ Aran Whitehand Component 1 or 2 or 3 or 4 - End Log//\\//\\//"
APPEND ~c-arandebugger02.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
COPY ~override/c-arandebugger02.log~ ~aranw/aranw_1234_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
/* Aran's base .cre setup and configuration */
BEGIN @30019 //component_5_
FORCED_SUBCOMPONENT @30018
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger03.log~ // no problem - we want to overwrite on changing any components!
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - Begin Log//\\//\\"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
/* register choice */
OUTER_SET class_choice = 5
/* Ask for choices and patch the .cre */
LAUNCH_ACTION_MACRO ~customized_cre_choice~
/* create the ToB version if ToB is installed */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran7.cre~ ~override/c-aran13.cre~
WRITE_LONG 0x18 2500000 // current XP 2500000, ToB start
WRITE_ASCII 0x2cc ~C-ARN25A~ #8 /* dialogue */
WRITE_ASCII 0x280 ~C-ARAN~ #32 /* DV */
WRITE_ASCII 0x248 ~C-ARN25~ #8 /* override script */
APPEND ~c-arandebugger03.log~ ~ToB .cre patched~
END ELSE BEGIN
PRINT @30024
APPEND ~c-arandebugger03.log~ ~No version of ToB content detected via GAME_IS; .cre not patched~
END
/* specific info block */
APPEND ~c-arandebugger03.log~ ~Component 5 installed. ~
/* general info block */
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger03.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger03.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger03.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger03.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger03.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger03.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger03.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger03.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - End Log//\\//\\//"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger03.log~ ~aranw/aranw_56789_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
BEGIN @30020 //component_6_
FORCED_SUBCOMPONENT @30018
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger03.log~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - Begin Log//\\//\\"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
/* register choice */
OUTER_SET class_choice = 1
/* Ask for choices and patch the .cre */
LAUNCH_ACTION_MACRO ~customized_cre_choice~
/* create the ToB version if ToB is installed */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran7.cre~ ~override/c-aran13.cre~
WRITE_LONG 0x18 2500000 // current XP 2500000, ToB start
WRITE_ASCII 0x2cc ~C-ARN25A~ #8 /* dialogue */
WRITE_ASCII 0x280 ~C-ARAN~ #32 /* DV */
WRITE_ASCII 0x248 ~C-ARN25~ #8 /* override script */
APPEND ~c-arandebugger03.log~ ~ToB .cre patched~
END ELSE BEGIN
PRINT @30024
APPEND ~c-arandebugger03.log~ ~No version of ToB content detected via GAME_IS; .cre not patched~
END
/* specific info block */
APPEND ~c-arandebugger02.log~ ~Component 6 installed. ~
/* general info block */
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger03.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger03.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger03.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger03.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger03.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger03.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger03.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger03.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - End Log//\\//\\//"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger03.log~ ~aranw/aranw_56789_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
BEGIN @30021 //component_7_
FORCED_SUBCOMPONENT @30018
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger03.log~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - Begin Log//\\//\\"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
/* register choice */
OUTER_SET class_choice = 2
/* Ask for choices and patch the .cre */
LAUNCH_ACTION_MACRO ~customized_cre_choice~
/* create the ToB version if ToB is installed */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran7.cre~ ~override/c-aran13.cre~
WRITE_LONG 0x18 2500000 // current XP 2500000, ToB start
WRITE_ASCII 0x2cc ~C-ARN25A~ #8 /* dialogue */
WRITE_ASCII 0x280 ~C-ARAN~ #32 /* DV */
WRITE_ASCII 0x248 ~C-ARN25~ #8 /* override script */
APPEND ~c-arandebugger03.log~ ~ToB .cre patched~
END ELSE BEGIN
PRINT @30024
APPEND ~c-arandebugger03.log~ ~No version of ToB content detected via GAME_IS; .cre not patched~
END
/* specific info block */
APPEND ~c-arandebugger03.log~ ~Component 7 installed. ~
/* general info block */
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger03.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger03.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger03.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger03.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger03.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger03.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger03.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger03.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - End Log//\\//\\//"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger03.log~ ~aranw/aranw_56789_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
BEGIN @30022 //component_8_
FORCED_SUBCOMPONENT @30018
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger03.log~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - Begin Log//\\//\\"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
/* register choice */
OUTER_SET class_choice = 3
/* Ask for choices and patch the .cre */
LAUNCH_ACTION_MACRO ~customized_cre_choice~
/* create the ToB version if ToB is installed */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran7.cre~ ~override/c-aran13.cre~
WRITE_LONG 0x18 2500000 // current XP 2500000, ToB start
WRITE_ASCII 0x2cc ~C-ARN25A~ #8 /* dialogue */
WRITE_ASCII 0x280 ~C-ARAN~ #32 /* DV */
WRITE_ASCII 0x248 ~C-ARN25~ #8 /* override script */
APPEND ~c-arandebugger03.log~ ~ToB .cre patched~
END ELSE BEGIN
PRINT @30024
APPEND ~c-arandebugger03.log~ ~No version of ToB content detected via GAME_IS; .cre not patched~
END
/* specific info block */
APPEND ~c-arandebugger03.log~ ~Component 8 installed. ~
/* general info block */
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger03.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger03.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger03.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger03.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger03.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger03.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger03.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger03.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - End Log//\\//\\//"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger03.log~ ~aranw/aranw_56789_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
BEGIN @30023 //component_9_
FORCED_SUBCOMPONENT @30018
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger03.log~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - Begin Log//\\//\\"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
/* register choice */
OUTER_SET class_choice = 4
/* Ask for choices and patch the .cre */
LAUNCH_ACTION_MACRO ~customized_cre_choice~
/* create the ToB version if ToB is installed */
ACTION_IF GAME_IS ~tob bgt bg2ee~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran7.cre~ ~override/c-aran13.cre~
WRITE_LONG 0x18 2500000 // current XP 2500000, ToB start
WRITE_ASCII 0x2cc ~C-ARN25A~ #8 /* dialogue */
WRITE_ASCII 0x280 ~C-ARAN~ #32 /* DV */
WRITE_ASCII 0x248 ~C-ARN25~ #8 /* override script */
APPEND ~c-arandebugger03.log~ ~ToB .cre patched~
END ELSE BEGIN
PRINT @30024
APPEND ~c-arandebugger03.log~ ~No version of ToB content detected via GAME_IS; .cre not patched~
END
/* specific info block */
APPEND ~c-arandebugger03.log~ ~Component 5 installed. ~
/* general info block */
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger03.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger03.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger03.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger03.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger03.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger03.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger03.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger03.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger03.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger03.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger03.log~ "//\\//\\ Aran Whitehand Component 5 or 6 or 7 or 8 or 9 - End Log//\\//\\//"
APPEND ~c-arandebugger03.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger03.log~ ~aranw/aranw_56789_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
/* Portrait Choices component - not needed on any install as the default portrait choices are already in place. */
BEGIN @30025 //component_10_
REQUIRE_COMPONENT ~setup-aranw.tp2~ ~0~ @30017
PRINT @30105
/* batch file tools or users who change components overwrite mymod.DEBUG, so we create our own that floats with the component. */
COPY ~aranw/media/blank.log~ ~override/c-arandebugger04.log~
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger04.log~ "//\\//\\ Aran Whitehand Optional Component 10 - Begin Log//\\//\\//\\//\\//"
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
OUTER_SPRINT ~arportrait~ ~portrait_value~
OUTER_WHILE (!(IS_AN_INT ~arportrait~) OR (~arportrait~ > 0xe) OR (~arportrait~ < 0x1)) BEGIN
PRINT @30106
ACTION_READLN ~arportrait~
END
ACTION_IF ("arportrait" = 0x1) THEN BEGIN /* Nix's "Default" portrait set (fair hair, fair complexion) */
/* portraits already copied into place as standard resources, so just touch the file to make sure it has the right colors */
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30107
APPEND ~c-arandebugger04.log~ ~Choice 1 - Nix's "Default" portrait set (fair hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
/* portraits already copied into place as standard resources, so just touch the file to make sure it has the right colors */
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 1 - Nix's "Default" portrait set ( fair hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x2) THEN BEGIN /* Peachplum's "Latest" portrait set (brown hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/peachplums_aran_latest_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/peachplums_aran_latest_bg2l.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/peachplums_aran_latest_bg2m.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/peachplums_aran_latest_bg2s.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30108
APPEND ~c-arandebugger04.log~ ~Choice 2 - Peachplum's "Latest" portrait set (brown hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 2 - Peachplum's "Latest" portrait set (brown hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x3) THEN BEGIN /* Berelinde's "Boromir" style (dark brown hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/berelinde_bor_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/berelinde_borl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_borm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_bors.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30109
APPEND ~c-arandebugger04.log~ ~Choice 3 - Berelinde's "Boromir" style (dark brown hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 3 - Berelinde's "Boromir" style (dark brown hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x4) THEN BEGIN /* Berelinde's "Dragon Age" style (dark hair, dark complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/berelinde_da_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/berelinde_dal.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_dam.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_das.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 91 /* skin color (dark chocolate) */
WRITE_BYTE 0x32 0 /* hair color (red-tinted black) */
PRINT @30110
APPEND ~c-arandebugger04.log~ ~Choice 4 - Berelinde's "Dragon Age" style (dark hair, dark complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 91 /* skin color (dark chocolate) */
WRITE_BYTE 0x32 0 /* hair color (red-tinted black) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 4 - Berelinde's "Dragon Age" style (dark hair, dark complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x5) THEN BEGIN /* Berelinde's "Scruffy" style (light brown hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/berelinde_scruffy_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/berelinde_scruffyl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_scruffym.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/berelinde_scruffys.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30111
APPEND ~c-arandebugger04.log~ ~Choice 5 - Berelinde's "Scruffy" style (light brown hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 5 - Berelinde's "Scruffy" style (light brown hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x6) THEN BEGIN /* Macmazey's "Don Pedro" style (dark hair, dark complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/macmazey_donpedro_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/macmazey_donpedrol.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/macmazey_donpedrom.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/macmazey_donpedros.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 91 /* skin color (dark chocolate) */
WRITE_BYTE 0x32 0 /* hair color (red-tinted black) */
PRINT @30112
APPEND ~c-arandebugger04.log~ ~Choice 6 - Macmazey's "Don Pedro" style (dark hair, dark complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 91 /* skin color (dark chocolate) */
WRITE_BYTE 0x32 0 /* hair color (red-tinted black) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 6 - Macmazey's "Don Pedro" style (dark hair, dark complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x7) THEN BEGIN /* Macmazey's "Fantasy Photo" style (long brown hair, light complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/macmazey_longhair_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/macmazey_longhairl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/macmazey_longhairm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/macmazey_longhairs.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30113
APPEND ~c-arandebugger04.log~ ~Choice 7 - Macmazey's "Fantasy Photo" style (long brown hair, light complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 7 - Macmazey's "Fantasy Photo" style (long brown hair, light complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x8) THEN BEGIN /* Macmazey's "Bearded" style (dark hair, light complexion) */
ACTION_IF GAME_IS ~bg2ee~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/mcmazey_beard_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/mcmazey_beardl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_beardm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_beards.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30114
APPEND ~c-arandebugger04.log~ ~Choice 8 - Macmazey's "Bearded" style (dark hair, light complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 8 - Macmazey's "Bearded" style (dark hair, light complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0x9) THEN BEGIN /* Macmazey's "No Beard" style (dark hair, light complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/mcmazey_nobeard_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/mcmazey_nobeardl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_nobeardm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_nobeards.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30115
APPEND ~c-arandebugger04.log~ ~Choice 9 - Macmazey's "No Beard" style (dark hair, light complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 9 - Macmazey's "No Beard" style (dark hair, light complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0xa) THEN BEGIN /* Macmazey's "Horatio Photo" style (dark hair, light complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/mcmazey_photo_h_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/mcmazey_photo_hl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_photo_hm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/mcmazey_photo_hs.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30116
APPEND ~c-arandebugger04.log~ ~Choice 10 - Macmazey's "Horatio Photo" style (dark hair, light complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 10 - Macmazey's "Horatio Photo" style (dark hair, light complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0xb) THEN BEGIN /* Peachplum's "Young Fighter" style (red hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/peachplums_young_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/peachplums_youngl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/peachplums_youngm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/peachplums_youngs.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 13 /* skin color (light pure silver) */
WRITE_BYTE 0x32 4 /* hair color (auburn) */
PRINT @30117
APPEND ~c-arandebugger04.log~ ~Choice 11 - Peachplum's "Young Fighter" style (red hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 13 /* skin color (light pure silver) */
WRITE_BYTE 0x32 4 /* hair color (auburn) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 11 - Peachplum's "Young Fighter" style (red hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0xc) THEN BEGIN /* piper's "Stalwort Bearded Young" style (light brown hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/piper_beard_young_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/piper_beard_youngl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/piper_beard_youngm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/piper_beard_youngs.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30118
APPEND ~c-arandebugger04.log~ ~Choice 12 - piper's "Stalwort Bearded Young" style (light brown hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 12 - piper's "Stalwort Bearded Young" style (light brown hair, fair complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0xd) THEN BEGIN /* piper's "Mature Bearded" style (dark brown hair, medium complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/piper_darker_beard_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/piper_darker_beardl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/piper_darker_beardm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/piper_darker_beards.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 84 /* skin color (peachy) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30119
APPEND ~c-arandebugger04.log~ ~Choice 13 - piper's "Mature Bearded" style (dark brown hair, medium complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 84 /* skin color (peachy) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 13 - piper's "Mature Bearded" style (dark brown hair, medium complexion) installed on c-aran13.cre.~
END
END
ACTION_IF ("arportrait" = 0xe) THEN BEGIN /* piper's "Stalwort Young" style (light brown hair, fair complexion) */
ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
PRINT @30029
COPY ~aranw/media/portraits_bg2ee/piper_nobeard_young_bg2eel.bmp~ ~override/c-aranwl.bmp~
END ELSE BEGIN
PRINT @30030
COPY ~aranw/media/portraits_bg2/piper_nobeard_youngl.bmp~ ~override/c-aranwl.bmp~
COPY ~aranw/media/portraits_bg2/piper_nobeard_youngm.bmp~ ~override/c-aranwm.bmp~
COPY ~aranw/media/portraits_bg2/piper_nobeard_youngs.bmp~ ~override/c-aranws.bmp~
END
COPY_EXISTING ~c-aran7.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 3 /* hair color (light gold) */
PRINT @30120
APPEND ~c-arandebugger04.log~ ~Choice 14 - piper's "Stalwort Young" style (light brown hair, fair complexion) installed on c-aran7.cre.~
ACTION_IF FILE_EXISTS_IN_GAME ~c-aran13.cre~ THEN BEGIN // ToB .cre file
COPY_EXISTING ~c-aran13.cre~ ~override~
WRITE_BYTE 0x2F 12 /* skin color (light carnation pink) */
WRITE_BYTE 0x32 2 /* hair color (dark gold) */
PRINT @30041
APPEND ~c-arandebugger04.log~ ~Choice 14 - piper's "Stalwort Young" style (light brown hair, fair complexion) installed on c-aran13.cre.~
END
END
/* specific info block */
APPEND ~c-arandebugger04.log~ ~Component 10 installed.~
/* general info block */
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger04.log~ ~The .tra file says that the version of Aran Whitehand being installed is %aranw_version%~
APPEND ~c-arandebugger04.log~ ~WeiDU thinks that this is Component %COMPONENT_NUMBER%~
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\"
APPEND ~c-arandebugger04.log~ ~Weidu defined variables on this install:~
APPEND ~c-arandebugger04.log~ ~Author: %TP2_AUTHOR%~
APPEND ~c-arandebugger04.log~ ~Language = %LANGUAGE% ~
APPEND ~c-arandebugger04.log~ ~Architecture = %WEIDU_ARCH% ~
APPEND ~c-arandebugger04.log~ ~Operating System = %WEIDU_OS% ~
APPEND ~c-arandebugger04.log~ ~User Directory = %USER_DIRECTORY% ~
APPEND ~c-arandebugger04.log~ ~Save Game Single Player Directory = %SAVE_DIRECTORY% ~
APPEND ~c-arandebugger04.log~ ~Save Game Multi Player Directory = %MPSAVE_DIRECTORY% ~
APPEND ~c-arandebugger04.log~ ~Running .exe = %WEIDU_EXECUTABLE%~
APPEND ~c-arandebugger04.log~ ~Mod name (as seen by WeiDU) = %TP2_FILE_NAME%~
APPEND ~c-arandebugger04.log~ ~Installation type is: %INTERACTIVE%
( 1 = install is being done interactively (IE you launched setup-mymod.exe and you’re installing mymod), or 0 = the install is being done non-interactively (IE you launched setup-mymod.exe and now weidu is reinstalling othermod due to the domino uninstall and reinstall).~
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
APPEND ~c-arandebugger04.log~ "//\\//\\ Aran Whitehand Optional Component 10 - End Log//\\//\\//\\//\\//\\"
APPEND ~c-arandebugger04.log~ "//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//\\//\\//\\//\\/"
COPY ~override/c-arandebugger04.log~ ~aranw/aranw_opt10_debugger.log~
PRINT @30009
/* Remind users about SETUP-ARANW.DEBUG and the custom .log files in aranw */
PRINT @30103
PRINT @30131
PRINT @30009
/* end of file. Finis. C'est tout. That's all. Waaaaay too much time and craziness spent on this - hope you enjoy the mod! */