Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: karajorma on May 15, 2009, 12:05:12 pm

Title: How to make a dogfight mission in FRED.
Post by: karajorma on May 15, 2009, 12:05:12 pm
I wrote a tutorial on how to make Dogfight missions for BtRL a long time ago while I was still on the team. Apparently that thread was deleted after I left but since andicirk requested a tutorial (http://www.hard-light.net/forums/index.php/topic,63082.0.html) and I happened to have one sitting around I figured I might as well drag this one off my hard drive. :)

----------------------------------------------

At the risk of putting myself out of a job I've decided to make a guide on how to use FRED to make simple multiplayer missions. Although I won't be covering the real meat of how to use FRED (i.e how to use SEXPs) I will show how even someone who has never used FRED before can stick together a working mission in a matter of minutes.
 Bear in mind that FRED is constantly being upgraded by the SCP so by the time you look at it your copy of FRED may have features that you can't see in my screenshots.
 If you're really interested in FREDding I highly recommend reading the FS2 walkthrough as about 90% of that will be relevent to you.

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-01.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-02.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-03.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-04.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-05.jpg)or simply press CTRL+W. The Wing Dialog will now open.
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-06.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-07.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-08.jpg) The first button will zoom you out until you can see the whole of the selected ship. The second one will zoom you out until you can see the names of every ship in the mission. In this case selecting the mining ship and zooming based on it will actually give your the better view than zooming based on all the names so do this. (If for some reason you find yourself unable to select the mining vessel by clicking on it press H and you'll call up a list which makes it easier to select).
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-09.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-10.jpg)In the picture below I simply dragged the Miner off to the right using the mouse then after selecting the Y axis button dragged it up a few hundred metres. Play about with moving ships around using the mouse as you'll need to get reasonably comfortable doing this.
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-11.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-12.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-13.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-14.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-15.jpg)

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-16.jpg)
anti-clockwise the sun will be from straight in front of you when you start FRED.
Bank rotates the image on the spot by the chosen number of degrees.
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-17.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-18.jpg)
[/list]

(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-19.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-20.jpg)
(http://homepage.ntlworld.com/karajorma/Misc-Pics/BtRL/Walkthrough-21.jpg)
And there you go. A working mission in probably under 30 minutes work. There are some things you can do to clean it up (For instance I forgot to rotate the vipers so that they start off looking at the miner) but it should prove that FRED is pretty easy to work with. Look forwards to seeing your missions soon.[/list][/list]
Title: Re: How to make a dogfight mission in FRED.
Post by: captain-custard on May 15, 2009, 12:55:37 pm
bows before the master , thanks
Title: Re: How to make a dogfight mission in FRED.
Post by: karajorma on May 15, 2009, 12:58:45 pm
No problem. Like I said I had it sitting on my HD anyway cause I backed it up in case it mysteriously disappeared. So posting it here was pretty simple.
Title: Re: How to make a dogfight mission in FRED.
Post by: FUBAR-BDHR on May 15, 2009, 03:12:03 pm
Or the short short version:

Extract a simple dogfight mission from FS2.
Copy it to your mod
Open it in notepad
Change all the Ulysses to your default ship.
Open in FRED
Tweak the rest.

Title: Re: How to make a dogfight mission in FRED.
Post by: karajorma on May 15, 2009, 03:22:33 pm
Actually if you try that it would crash out immediately because the game can't parse missions which include ships in the loadout options that aren't in the tables. :p

Fixed in my branch though (hopefully). :)
Title: Re: How to make a dogfight mission in FRED.
Post by: FUBAR-BDHR on May 15, 2009, 03:26:29 pm
I've been doing it since 3.6.9 without a problem.  Sure it gives me warnings but lets me continue and changes them all to Ulysses. 
Title: Re: How to make a dogfight mission in FRED.
Post by: JGZinv on May 15, 2009, 05:38:19 pm
Very nice kara...
Title: Re: How to make a dogfight mission in FRED.
Post by: eliex on May 15, 2009, 07:51:38 pm
Very instructive, thanks.  :)
Title: Re: How to make a dogfight mission in FRED.
Post by: Napseeker on May 17, 2009, 12:48:54 am
Great tutorial!  Thanks and hopes for many more...
Title: Re: How to make a dogfight mission in FRED.
Post by: dragonsniper on May 19, 2009, 06:39:03 pm
Great tutorial as always. :yes: