View Single Post
  #1  
Old 09-16-2011, 11:45 AM
klem's Avatar
klem klem is offline
Approved Member
 
Join Date: Nov 2007
Posts: 1,651
Default Build/Play Messages using Scripting

I was wondering if it would be possible to use the Actor voices to give audible messages to players instead of those large across the screen texts to replace messages such as:
GamePlay.gpHUDLogCenter(new Player[] {player},"Stukas in sector A B 2 3")

This example would use the following files in:
....\parts\bob\speech\gb\Actor1\Stukas.ogg
....\parts\bob\speech\gb\Actor1\In_square.ogg
....\parts\bob\speech\gb\Actor1\A.ogg
....\parts\bob\speech\gb\Actor1\B.ogg
....\parts\bob\speech\gb\Actor1\2.ogg
....\parts\bob\speech\gb\Actor1\3.ogg

but I have no idea what scripting would be used.

Could perhaps be used with a Passthrough Trigger etc.

Could it be used as a general module to detect a Group entering a Sector and use that to send the audio? I know the RDF is supposed to do that but I have never been sure that it does it for anything other than AI.
__________________
klem
56 Squadron RAF "Firebirds"
http://firebirds.2ndtaf.org.uk/



ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU
Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders
Reply With Quote