Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Game_Master64 on February 17, 2007, 07:43:14 pm

Title: Bypass Max Pilots?
Post by: Game_Master64 on February 17, 2007, 07:43:14 pm
Not sure if this goes here, but is there a way to bypass the max pilot thing?
Title: Re: Bypass Max Pilots?
Post by: taylor on February 17, 2007, 08:46:24 pm
... Create fewer pilots??
Title: Re: Bypass Max Pilots?
Post by: FUBAR-BDHR on February 17, 2007, 10:23:53 pm
Move the ones your not currently using to another directory.  If you need them move them back and move some other ones out.  Although I'm with Taylor just have fewer pilots.
Title: Re: Bypass Max Pilots?
Post by: takashi on February 26, 2007, 09:52:09 pm
you would have too rely like playing mods from the data directory for that many pilots.

anyway, change the max pilots by doing a little messing around in the table files until you find something specifying the max number of pilots. then change it.
Title: Re: Bypass Max Pilots?
Post by: taylor on February 26, 2007, 10:48:12 pm
anyway, change the max pilots by doing a little messing around in the table files until you find something specifying the max number of pilots. then change it.
No, you can't change it, it's a hard-coded limit in the binary.
Title: Re: Bypass Max Pilots?
Post by: takashi on February 27, 2007, 09:32:51 pm
then go downloaded the uncompiled source code and learn programming. its hard, but if you real want so many pilot files.....
Title: Re: Bypass Max Pilots?
Post by: Turey on February 28, 2007, 02:08:25 am
then go downloaded the uncompiled source code and learn programming. its hard, but if you real want so many pilot files.....

Limits in code are almost always there for one of these two reasons:
1. If the limit wasn't there, it'd break something else (The interface art, retail behavior, whatever.)
2. The person who put the limit in honestly didn't see a reason why anyone would need to go past it (Why do you need more than a page worth of pilots?)

There are exceptions, but the vast majority of limits fall into one of these two categories.
Title: Re: Bypass Max Pilots?
Post by: Grizzly on March 03, 2007, 10:13:36 am
Instead of the Freespace\Data\Pilots folder, put each mod pilot into the Freespace\Mod\Data\Pilots\ Folder
 
Title: Re: Bypass Max Pilots?
Post by: AlexG on March 07, 2007, 11:27:06 am
Oh, that's a good idea. Anything else I need to move in order to make that work? BTW, the reason I do this is because I like to have a new pilot for each campaign I play so that I can go back and play any mission I want to. Otherwise if I go to another campaign and then want to play, say, "Their Finest Hour," I would have to replay everything thus far. That's why I make so many pilots.
Title: Re: Bypass Max Pilots?
Post by: karajorma on March 07, 2007, 12:08:16 pm
Otherwise if I go to another campaign and then want to play, say, "Their Finest Hour," I would have to replay everything thus far.

Or you could just go to the flight simulator and press CTRL+SHIFT+S. :)
Title: Re: Bypass Max Pilots?
Post by: taylor on March 07, 2007, 12:45:04 pm
Instead of the Freespace\Data\Pilots folder, put each mod pilot into the Freespace\Mod\Data\Pilots\ Folder
Pilots are hard-coded to come from data/players/ and that's it, you can't change that.  Pilot files in any other directory are ignored.


And the pilot file code has been setup to run multiple campaigns with the same pilot.  There isn't nearly enough error correction/handling in the current code to deal with how people tend to use it, but it does work.  To minimize the risk of corruption just use similar campaigns with each pilot (like any TBP campaign with a TBP pilot, any FSPort campaigns with a FSPort pilot, etc.).  Basically, if the ship and weapons tables are the same then you can't mess up a pilot file by using it with multiple campaigns.  Where you get corruption is from using very different data with the same pilot and not being aware of what you need to do to prevent any corruption in the first place.  The new pilot file code that is in the works will be able to handle all of that for you though, so one pilot can easily manage any number of campaigns.  The only reason to change pilots at that point, is if you need different detail or control settings for another campaign.

But if keeping progress isn't important then just do what karajorma said, use the show-all hotkey to show all missions in the simroom and play from there.
Title: Re: Bypass Max Pilots?
Post by: AlexG on March 08, 2007, 04:00:45 pm
Otherwise if I go to another campaign and then want to play, say, "Their Finest Hour," I would have to replay everything thus far.

Or you could just go to the flight simulator and press CTRL+SHIFT+S. :)

...oh REALLY? Is that a cheat or a feature? I would lose all my medals, of course, but who cares? The missions are what matter.
Title: Re: Bypass Max Pilots?
Post by: karajorma on March 08, 2007, 05:27:57 pm
You wouldn't lose them. You just wouldn't gain any new ones from flight sim missions :)
Title: Re: Bypass Max Pilots?
Post by: takashi on March 11, 2007, 10:47:29 pm
ctrl-sft-s extends the list to include missions from previous campaings? 0.O

*goes off to test*
Title: Re: Bypass Max Pilots?
Post by: taylor on March 12, 2007, 02:02:42 am
ctrl-sft-s extends the list to include missions from previous campaings? 0.O
No, it just shows all missions from the currently active campaign, since normally these don't show up unless you have already completed said mission.  The CTRL-SHIFT-S hotkey also works in the techroom for ships, weapons and intel entries, as well as the cutscene viewer in newer builds (post-3.6.9).
Title: Re: Bypass Max Pilots?
Post by: takashi on March 16, 2007, 08:05:42 pm
im guessing you forgot that it can cause major spoilers?
Title: Re: Bypass Max Pilots?
Post by: Water on March 16, 2007, 10:40:13 pm
im guessing you forgot that it can cause major spoilers?

:lol: - Unlikely- That shouldn't be a issue for anyone posting in this area