Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Mika on October 29, 2005, 04:10:12 pm
-
Hi
Just linking some of my missions together to a campaign prequel, I encountered another problem. I can't find information how to manage what weapons and ships are available for player in campaign missions.
The FRED walkthrough doesn't mention this at all, so how for example, if my first mission is flown with Ulysseus, and second with Hercules, how do I remove Ulysseus so that player cannot select it to fly the second mission?
Does this have something to do with allow-ship or allow-weapon? At what point these SEXP should be given?
Mika
-
No, just go to team loadouts in FRED and deselect the Ulysses.
-
It works like this. When you make a campaign you use the team loadout options to select which ships and weapons you want to be available at the start of the campaign.
If you want to allow the player to have the Herc after mission 3 then you add an allow-ship SEXP to an event which occurs when the player successfully completes mission 3. From then on the game will act as if you'd allowed the herc in the team loadout option.
The mission itself has a seperate team loadout option which only affects which ships will be available to you in that mission. When you are playing a mission in the tech room the mission loadout is the only one that matters. When you are playing a campaign a ship will only be allowed if you have made it available in the mission and have also made it available to the campaign (either from the campaign team loadout or by using allow-ship).
There is an exception to this. If you make the player ship a class that he hasn't been given permission to fly then he'll get to use that ship in the mission (The Bahka is a good example of this. You're never actually given permission to fly it anywhere in the game but you still get to fly it in Bearbaiting and High Noon).
-
Thank you. I suppose I'll take a look at every mission I've created to make them actually give the ships and weapons as originally thought.
Mika