Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Vindicator83 on January 28, 2016, 03:00:53 am

Title: How to use skyboxes?
Post by: Vindicator83 on January 28, 2016, 03:00:53 am
Good morning, after playing some campaigns this week i started to so some fredding for myself
like  escort, jump node defense , station defese etc just basic stuff

 how i setup skyboxes because when  im importing one the background is still black? can someone link to the procedure/tutorial, i downloaded from an old thread some of them they come in maps/models directories
Title: Re: How to use skyboxes?
Post by: Nyctaeus on January 28, 2016, 03:48:50 am
Shouldn't it belong to modding or fredding board?

And as for your problem, place dds files in "maps" folder, place pof file in "models" folder. I guess you have your modfolder, right?
FRED is sometimes displaying skybox as blackness, unless you have skybox files placed in proper folders. Ingame result may be different than what you see in FRED.
Title: Re: How to use skyboxes?
Post by: The E on January 28, 2016, 06:04:44 am
In order to actually use a model as a skybox, open the background editor, and enter the skybox model name in the text field in the lower right corner. Then save the mission, this causes FRED to reload it and display the skybox.
Title: Re: How to use skyboxes?
Post by: Bryan See on February 01, 2016, 10:31:01 pm
Or you could do it via an indirect way. Edit a mission file using a text editor, then add $Skybox Model: line at the header, preferably under the $AI profile line in the mission header.
Title: Re: How to use skyboxes?
Post by: The E on February 01, 2016, 11:27:34 pm
Or you could do it via an indirect way. Edit a mission file using a text editor, then add $Skybox Model: line at the header, preferably under the $AI profile line in the mission header.

This is a completely stupid suggestion that should be ignored. Yes, you can edit mission files in a text editor, but you should not do this unless you really know what you are doing.
Title: Re: How to use skyboxes?
Post by: niffiwan on February 01, 2016, 11:29:03 pm
Or you could do it via an indirect way. Edit a mission file using a text editor, then add $Skybox Model: line at the header, preferably under the $AI profile line in the mission header.

And note that every mission I've checked has $Skybox Model: before $AI Profile: ! DO NOT FOLLOW THIS ADVICE!
Title: Re: How to use skyboxes?
Post by: The E on February 02, 2016, 12:13:21 am
And even if Bryan had given the correct location, there is no preferred spot for the line to go. It absolutely has to be in that one place, putting it anywhere else will cause parsing errors.
Title: Re: How to use skyboxes?
Post by: Bryan See on February 02, 2016, 06:34:23 am
To solve this problem, put it under the last three values of the +Viewer orient, +SquadReassignName, +SquadReassignLogo $Starting wing names, $Squadron wing names, or $Team-versus-team wing names (if any one of the latter five are specified), but below the $AI Profile: line.
Title: Re: How to use skyboxes?
Post by: The E on February 02, 2016, 06:43:10 am
Let me be absolutely clear on this: Editing mission files by hand is absolutely not recommended and should only be done if what you want to do cannot be done using the FRED editors. It's something only people with long experience in working with the engine should ever do. Your advice, well-intentioned as it may be, is utterly useless in this instance and I strongly recommend you stop giving it.
Title: Re: How to use skyboxes?
Post by: Bryan See on February 02, 2016, 08:21:13 am
OK, fine with me.
Title: Re: How to use skyboxes?
Post by: AdmiralRalwood on February 02, 2016, 11:25:30 am
below the $AI Profile: line
In case it wasn't already clear, putting "$Skybox Model:" below "$AI Profile:" will never, ever, ever work.