QuoteStep 2 - PREPARING YOUR OGG CONVERSION FILES
XXXXXXXa.wav : Battle Cry
XXXXXXXb.wav : Becoming Leader
XXXXXXXc.wav : Tired
XXXXXXXd.wav : Bored
XXXXXXXe.wav : Badly Wounded
XXXXXXXf.wav : Selected 1
XXXXXXXg.wav : Selected 2
XXXXXXXh.wav : Selected 3
XXXXXXXi.wav : Action Acknowledgement 1
XXXXXXXj.wav : Action Acknowledgement 2
XXXXXXXk.wav : Action Acknowledgement 3
XXXXXXXl.wav : Being Hit
XXXXXXXm.wav : Dying
XXXXXXXn.wav : In Forest
XXXXXXXo.wav : In City
XXXXXXXp.wav : In Dungeon
XXXXXXXq.wav : Daytime
XXXXXXXr.wav : Nighttime
XXXXXXXs.wav : Action Acknowledgement 4
XXXXXXXt.wav : Action Acknowledgement 5
XXXXXXXu.wav : Action Acknowledgement 6
XXXXXXXv.wav : Action Acknowledgement 7
XXXXXXXw.wav : Reaction to Party Member Death
XXXXXXXx.wav : Rare Select 1
XXXXXXXy.wav : Rare Select 2
XXXXXXXz.wav : Critical Hit Given
XXXXXXX1.wav : Critical Miss
XXXXXXX2.wav : Target Immune
XXXXXXX3.wav : Inventory Full
XXXXXXX4.wav : Successfully Picked A Pocket
XXXXXXX5.wav : Successfully Hid In shadows
XXXXXXX6.wav : Spell Disrupted
XXXXXXX7.wav : Set A Trap
XXXXXXX8.wav : Battle Cry 2
XXXXXXX9.wav : Battle Cry 3
XXXXXXX0.wav : Selected 6
XXXXXXX_.wav : Action Acknowledgement 8
QuoteAnd so on.
MyMod\Sound\oggdec.exe MyMod\Sounds\xxxxxxxa.ogg
MyMod\Sound\oggdec.exe MyMod\Sounds\xxxxxxxb.ogg
MyMod\Sound\oggdec.exe MyMod\Sounds\xxxxxxx_.ogg
QuoteCopy MyMod\Sounds\*wav Override\*.wav - This line will copy all the converted Wav files from your sound directory to the BGII SoA override folder, which is where they need to be in order to play.
Copy MyMod\Sounds\*wav Override\*.wav
Del MyMod\Sound\*.wav
Quote
IF
True()
THEN
RESPONSE #100
CutSceneId("Mymod")
SetName(0001) // MyMod
SetPlayerSound(Myself,0002,INITIAL_MEETING)
SetPlayerSound(Myself,0003,EXISTANCE5)
SetPlayerSound(Myself,0004,BATTLE_CRY1)
SetPlayerSound(Myself,0005,LEADER)
SetPlayerSound(Myself,0006,TIRED)
SetPlayerSound(Myself,0007,BORED)
SetPlayerSound(Myself,0008,DAMAGE)
SetPlayerSound(Myself,0009,SELECT_COMMON1)
SetPlayerSound(Myself,0010,SELECT_COMMON2)
SetPlayerSound(Myself,0012,SELECT_COMMON3)
SetPlayerSound(Myself,0013,SELECT_ACTION1)
SetPlayerSound(Myself,0014,SELECT_ACTION2)
SetPlayerSound(Myself,0015,SELECT_ACTION3)
SetPlayerSound(Myself,0015,HURT)
SetPlayerSound(Myself,0016,DYING)
SetPlayerSound(Myself,0017,AREA_FOREST)
SetPlayerSound(Myself,0018,AREA_CITY)
SetPlayerSound(Myself,0019,AREA_DUNGEON)
SetPlayerSound(Myself,0020,AREA_DAY)
SetPlayerSound(Myself,0021,AREA_NIGHT)
SetPlayerSound(Myself,0022,SELECT_ACTION4)
SetPlayerSound(Myself,0023,SELECT_ACTION5)
SetPlayerSound(Myself,0024,SELECT_ACTION6)
SetPlayerSound(Myself,0025,SELECT_ACTION7)
SetPlayerSound(Myself,0026,REACT_TO_DIE_GENERAL)
SetPlayerSound(Myself,0027,SELECT_RARE1)
SetPlayerSound(Myself,0028,SELECT_RARE2)
SetPlayerSound(Myself,0029,CRITICAL_HIT)
SetPlayerSound(Myself,0030,CRITICAL_MISS)
SetPlayerSound(Myself,0031,TARGET_IMMUNE)
SetPlayerSound(Myself,0032,INVENTORY_FULL)
SetPlayerSound(Myself,0033,PICKED_POCKET)
SetPlayerSound(Myself,0034,EXISTANCE1)
SetPlayerSound(Myself,0035,EXISTANCE2)
SetPlayerSound(Myself,0036,EXISTANCE3)
SetPlayerSound(Myself,0037,BATTLE_CRY2)
SetPlayerSound(Myself,0038,BATTLE_CRY3)
SetPlayerSound(Myself,0039,SELECT_COMMON6)
SetPlayerSound(Myself,0040,INITIAL_MEETING)
SetPlayerSound(Myself,0041,HAPPY)
SetPlayerSound(Myself,0042,UNHAPPY_ANNOYED)
SetPlayerSound(Myself,0043,UNHAPPY_SERIOUS)
SetPlayerSound(Myself,0044,UNHAPPY_BREAKING_POINT)
END
Quote
REPLACE ~0001~ ~MYMOD~ //IT'S NAME
REPLACE ~0002~ ~FIRST DIALOG LINE HERE~
REPLACE ~0003~ ~MY MOD's BIOGRAPHY.~
REPLACE ~0004~ ~~ [XXXXXXXI]REPLACE ~0005~ ~~ [XXXXXXXJ]
REPLACE ~0006~ ~~ [XXXXXXX2]
ETC..............
QuoteAs with most file names in the Infinity Engine, make sure that this doesn't exceed 8 characters. In this instance, I mean the MXMyMod file name. Change the .txt extension to a .mus extension and add it to your sound directory folder. It's important to note as well, that you have to do this for each soundtrack you intend to add. One file WILLNOT cater for all your additions.
MXMYMOD
1
A @TAG END
Quote
MD Music\MxMyMod
QuoteThis is probably the longest line that you're going to have to add to the bat file and is the line that instructs the snd2acm.exe to take your ogg-wav converted file and turn it into an ACM file. The last elements of this part of the tutorial simply deal with getting the ACM file into the directory you created earlier. The coding looks like this:-
MyMod\Sounds\Snd2acm.exe -wav MyMod\Sounds\MxMyMod.wav MyMod\Sounds\MxMyModA.acm
Quote
Copy MyMod\sounds\MxMod.acm Music\MxMyMod
Del MyMod\Sounds\MxMyMod.acm
QuoteThe variable %MyMod% is now associated with the number of this MUS file. Example usage of this is as follows:-
COPY ~MyMod\Sounds\MxMyMod.mus~ ~Music\MxmyMod.mus~
ADD_MUSIC ~MyMod~ ~Music\MxMyMod.mus~
Quote
COPY ~mymod/script.bcs~ ~override/script.bcs~
REPLACE_TEXTUALLY 999999 ~%MyMod%~