Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started 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
-
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.
-
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
-
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 :)
-
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.
-
Thanks everyone :)
last question- how do i put screenshots ointo this post? :/
reagrds,
BLHN
-
www.tinypic.com Upload them... then use the direct image url with [lvlshot]http: // imagepath.jpg[/lvlshot]
-
Many thanks!
BHN
-
:welcomeblue:
woohoo, first beam! Welcome dude, we can always use more modders. Cant wait to see your screenies, i suck at backrounds. ;)