Page 1 of 1

Another Single player mission SS-TGS

Posted: Mon Nov 06, 2006 11:14 am
by mbrien
This is my first attempt at making a mission. Does anyone know where you would need to save a WAV file to add your own radio message not just with the text?

Thanks
feedback will be great.

OK rember this is a TXT File and you will need to save as a .DEF file.

RE: Another Single player mission SS-TGS

Posted: Mon Nov 06, 2006 12:50 pm
by Zanthras
For a sound or wav file to play it should be stored in a folder specific to sounds within the SS/mods folder. The caveat to this is that it will only play one of two ways.

One is the mission needs to be made into a dat file. If you dont know how to create a dat file, let me know I can pass along the process to you.

Secondly would be by using a modified shortcut for the SS exe file. I believe it's something like this, but it's been a while since I had this set up. If I am wrong about the command string perhaps somebody could set the record straight by posting the correct string. Using this method will only work if the sound/wav file resides in the path set. Those that play your mission would not hear the sound unless you pass along all the wav files and they store them exactly as the event string calls for them.

"C:\Matrix Games\Starshatter\Stars -filesys.exe"

Here is an example of an event that uses a wav file, note the reference to the folder and file name.


event: {
  id:               31,  
  time:            95.0,
  delay:           0.0,
  event:           Message,
  event_sound:     "Ss/Mods/sounds/whistle2.wav",
  event_message:   "Loki this is Mikail - How's your status?",
  event_chance:    100,
  trigger:         "Time",

RE: Another Single player mission SS-TGS

Posted: Mon Nov 06, 2006 6:41 pm
by onegoodman
ORIGINAL: mbrien

... Does anyone know where you would need to save a WAV file to add your own radio message not just with the text?

If you are using the ingame editor then select your mission event and when you edit it there is a 'sound' field you can enter text into. Type the filename of your .wav file including the .wav extension (forget the directory), then save your sound in the Mods/Sounds/ folder. An errlog gets generated in the SS:TGS root folder, which helped me to find out were it was trying to load the sound from.

ORIGINAL: Zanthras
For a sound or wav file to play it should be stored in a folder specific to sounds within the SS/mods folder.

Must read other peoples posts, instead of glancing over them. [8|]

RE: Another Single player mission SS-TGS

Posted: Mon Nov 06, 2006 9:14 pm
by Zanthras
uh, I thought I gave a pretty good explanation...guess I fail to see what I missed.
 
oh well...

RE: Another Single player mission SS-TGS

Posted: Mon Nov 06, 2006 10:05 pm
by mbrien
Thanks for the input I got the ingame text down as you may see in the mission I posted, I will have to try the audio as I will use my MP3 player and record some radio calls and then add them to the game and see how it works. Again thanks for all the info.

RE: Another Single player mission SS-TGS

Posted: Tue Nov 07, 2006 3:18 am
by Dragonlead
Zanthras,

Your command line needs to drop the .exe at the very end and move it to read Stars.exe - filesys, otherwise it is correct.

V/R


RE: Another Single player mission SS-TGS

Posted: Tue Nov 07, 2006 7:09 am
by onegoodman
ORIGINAL: Zanthras

uh, I thought I gave a pretty good explanation...guess I fail to see what I missed.

oh well...

Your explanation was good, I just failed to read it properly.