Another Single player mission SS-TGS

This is the place for all questions related to modding Starshatter.
Post Reply
User avatar
mbrien
Posts: 32
Joined: Sun Dec 11, 2005 2:26 am

Another Single player mission SS-TGS

Post 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.
Attachments
custom002.txt
(3.27 KiB) Downloaded 24 times
Mark Brien
US Army
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Another Single player mission SS-TGS

Post 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",
"Don't give up the ship!"
-Captain James Lawrence

onegoodman
Posts: 20
Joined: Sat Sep 23, 2006 11:31 pm

RE: Another Single player mission SS-TGS

Post 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|]
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Another Single player mission SS-TGS

Post by Zanthras »

uh, I thought I gave a pretty good explanation...guess I fail to see what I missed.
 
oh well...
"Don't give up the ship!"
-Captain James Lawrence

User avatar
mbrien
Posts: 32
Joined: Sun Dec 11, 2005 2:26 am

RE: Another Single player mission SS-TGS

Post 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.
Mark Brien
US Army
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Another Single player mission SS-TGS

Post 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

USAF Ret.
onegoodman
Posts: 20
Joined: Sat Sep 23, 2006 11:31 pm

RE: Another Single player mission SS-TGS

Post 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.
Post Reply

Return to “Starshatter Modding Forum”