Thread: Laser Paladin
View Single Post
Old 12-07-2003, 07:28 AM   #3 (permalink)
2312222
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

Take a look at the FactionUnit.ini file, there you'll find the Paladin. Search for "AmericaTankPaladin" and when you found it look out for that code:

Code:
  ; *** AUDIO Parameters ***
  VoiceSelect = PaladinTankVoiceSelect
  VoiceMove = PaladinTankVoiceMove
  VoiceGuard = PaladinTankVoiceMove
  VoiceAttack = PaladinTankVoiceAttack
  SoundMoveStart = PaladinTankMoveStart
  SoundMoveStartDamaged = PaladinTankMoveStart

  UnitSpecificSounds
    ; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
    VoiceCreate     = PaladinTankVoiceCreate
    TurretMoveLoop = TurretMoveLoop
    SoundEject = PilotSoundEject
    VoiceEject = PilotVoiceEject
    VoiceCrush = PaladinTankVoiceCrush
    VoiceEnter = PaladinTankVoiceMove
  End
Now that you've got the name of the sound, like for example: "PaladinTankVoiceSelect" open the Voice.ini and search for that string "PaladinTankVoiceSelect". You'll find something like this:

Code:
AudioEvent PaladinTankVoiceSelect
  Sounds = vpalsea vpalseb vpalsec vpalsed vpalsee vpalsef 
  Control = random
  Volume = 90
  Type = ui voice player
End
The first line is simply the name of the Soundeffect. "Sounds" calls the different sound files that are located in the "AudioEnglish.big" file in the Generals directory or if you already exported the big file, search in the \Data\Audio\Sounds\English directory in the Generals directory. "vpalsea" for example refers to the file "vpalsea.wav", "vpalseb" to "vpalseb.wav". You see that the file extensions aren't needed in the inis. "Control = random" tells the game to select any of these sounds randomly without following the order of the file names, "Volume = 90" simply sets the volume, and "Type = ui voice player" defines the type of sound and for example in this case in makes clear that only the player himself can hear the sound not anyone else.

If you want to change something you have to alter FactionUnit.ini, or the Voice.ini and / or some new sound files you put into the \Data\Audio\Sounds\English directory.

Hope that helped and happy modding.

- HEXman
2312222 is offline   Reply With Quote