Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Bullhorn on October 06, 2007, 04:16:17 am

Title: New member,long time modder
Post by: Bullhorn on October 06, 2007, 04:16:17 am
Hi All,

Been playing FS2 since release, very happy with the SCP development, quite impressive.

Working on some small missions now, as apart of a short campaign; I have 2 queries.

Q1. How do i get my custommusic to play?
I am aware that FS2 changes music depending on the situation,etc.Im trying to use the SEXP play-from-file, triggered to when a cruiser jumps in, but no joy so far :(

- MUSIC
     +When
         + Has-arrived-delay
                     - 0
                     - GTC Flanker
          + play-sound-from-file
                     - C:\Games\FreeSpace2\SBmus.ogg
                     - 1

suggestions?

Q2. I have several suns in my mission- a primary, scale 9, secondary scale .8; also 2 more, scale .1, .2.
 The tiny suns are used to adda bit more depth to the sceneray, but they still have their glare :(
(i havescreenies, dunno how to paste them into this post ;/)
do i need to greatete them as seperate new nebulae, or isis it possible to create a sun with no glare?

Silly questions, I know, but please do help :)
Many thanks,
BH




Title: Re: New member,long time modder
Post by: karajorma on October 06, 2007, 04:51:31 am
For the first one I'd say that you should make a folder in Data called Sound (if one doesn't already exist) and place the file there. Then simply give the filename without the path.

If you gave a path you'd have problems with people who don't have FS2 installed in C:\Games\Freespace2 like you do. So all you need is the name of the file. As long as it's in your sound folder FS2 will find it for you.
Title: Re: New member,long time modder
Post by: Bullhorn on October 07, 2007, 11:23:26 am
Perfect!
There is a folder callded Sounds in Data already, with 2 sub folders in it; i just placed my sound file directly in, and the game found it perfectly.

Many thanks!

Reagrds,
BLN
Title: Re: New member,long time modder
Post by: Darius on October 08, 2007, 09:48:32 am
Putting the music in "Music" works fine as well, and you don't need to put a path for the file name.

In fact, I don't think it makes a difference which folder in "data" you put the music file in :)
Title: Re: New member,long time modder
Post by: Bob-san on October 08, 2007, 10:51:16 am
Using the SCP, it's generally recommended to start a mod folder if you're changing anything. Basically, make a folder (such as C:\Games\Freespace2\MOD1) and then open up the launcher and set the mod tab to load it, or type in -mod MOD1 on the input line (it's where you configure startup flags). I assume you already know that, but even I forget quite often to setup the -mod line. Other then that, you can copy the basic \Freespace2\Data folder into each mod folder. The game recognizes files in the following priority (from least to greatest): basic *.VP's, basic Data folder, mod *.VP's, and then mod Data folder. That being said, it's still not a great idea to pollute your basic Data folder with mod files. You can use the same -mod flag in FRED as well.
Title: Re: New member,long time modder
Post by: Bullhorn on October 10, 2007, 02:54:39 pm
Thanks everyone :)

last question- how do i put screenshots ointo this post? :/

reagrds,
BLHN
Title: Re: New member,long time modder
Post by: jr2 on October 11, 2007, 02:16:15 am
www.tinypic.com Upload them... then use the direct image url with [lvlshot]http: // imagepath.jpg[/lvlshot]
Title: Re: New member,long time modder
Post by: Bullhorn on October 15, 2007, 12:03:04 pm
Many thanks!

BHN
Title: Re: New member,long time modder
Post by: Titan on October 24, 2007, 04:30:46 pm
:welcomeblue:

woohoo, first beam! Welcome dude, we can always use more modders. Cant wait to see your screenies, i suck at backrounds.  ;)