Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on June 28, 2002, 01:10:41 pm
-
MIssion LOader, keeping with Freespace's tradion of FRED :D
MILO would be a stripped-down version of Freespace for quick-loading; no tech room or multiplayer and the like. Just the briefing and maybe the command briefings for the mission would be functional, to allow quick testing of missions.
It could then be run by FRED to quickly test a mission; it could also be run separately, with something like "milo C:\Games\Freespace\Data\Missions\shivanpie.fs2", with an optional switch "-nobriefing" to go directly to the mission with the default ships.
Not sure how much work this would be, but it would be a big help to FREDers :nod:
-
Yeah, I agree with you there. :nod: It's a pain in the ass having to load FreeSpace just to test a mission.
-
At the moment I have to have FS2 open and minimise to change, then back up to test it (and now testing from a .vp (to lazy to put them in a folder???) I have to pack it in first!)
Your idea is new and fresh - stright from the fridge!
I like it!
-
Two problems with this:
1 - We have more pressing matters to attend right now.
2 - If we modify the source code heavily we'd have to make a second version for the Milo release every time we change something which is a lot more work each time around. It'd be better to wait untill we've got the main changes in place and are just working on little things before stripping it all down to just the game engine - saving major long run workload.
Still a good idea :)
-
this could be made into a seperate project and could be recompiled periodicaly, actualy compileing this first would alow us to test changes faster, I am hopeing someone gets this done quick, but not me
-
I don't think that is too important, as you can have FS2 and FRED 2 running at the same time by alt-tabbing.
-
The whole point is that you're skipping the loading up, selecting pilot, tech room, missions, then the mission you want. It's a shortcut, that's all!
-
Wasn't there a function like that in FRED2, but didn't work ?
-
Personally, I think it's a great idea. Just a stripped down Freespace for mission testing only. Just chop off large chunks of code and have a window spawn with the list of missions; select the one you want and it'll take you straight to the briefing.
-
Originally posted by Skippy
Wasn't there a function like that in FRED2, but didn't work ?
There's a "Run FreeSpace 2" function if that's what you mean. It has been fixed many times over. :p
-
FIxed ? Not for me :p
-
Likewise - I've got the latest version of FS2, and the 'Run FreeSpace 2' option in FRED2 still doesn't work!:sigh:
-
rename fs2.exe to fs.exe.
voila, fixed :p
-
Originally posted by venom2506
rename fs2.exe to fs.exe.
voila, fixed :p
... or, try this:
patch FRED2\FREDView.cpp, line 4074:
original line:
r = CreateProcess("..\\..\\Fs.exe", NULL, NULL, NULL, FALSE, 0, NULL, "..\\..", &si, &pi);
replace with:
r = CreateProcess("..\\..\\fs2.exe", NULL, NULL, NULL, FALSE, 0, NULL, "..\\..", &si, &pi);
Not tested (no MSVC at home), but it should work. I think.
-
Originally posted by venom2506
rename fs2.exe to fs.exe.
voila, fixed :p
Or just copy fs2.exe and rename the copy fs.exe :D
-
Originally posted by WMCoolmon
Or just copy fs2.exe and rename the copy fs.exe :D
I said this in another thread devoted to the subject and was flamed for supporting bloatware and evil memory-hogging mega-corporations :rolleyes:
-
See, told you! Many times over :p
-
Originally posted by penguin
... or, try this:
patch FRED2\FREDView.cpp, line 4074:
original line:
r = CreateProcess("..\\..\\Fs.exe", NULL, NULL, NULL, FALSE, 0, NULL, "..\\..", &si, &pi);
replace with:
r = CreateProcess("..\\..\\fs2.exe", NULL, NULL, NULL, FALSE, 0, NULL, "..\\..", &si, &pi);
Not tested (no MSVC at home), but it should work. I think.
it works, is in in my modification
btw added a autoload multi mission commandline
very basic stuff check your spelling
freespace2.exe -almission kicksomebut will load kicksomebut.fs2 multiplayer mission.
be sure it is spelled correct and it is a multiplayer mission or else i think odd stuff will happen, since I included no checks for wheter the mission exist or is a multiplayer mission. meaning if mission specs is not multiplayer or in the mission dir. the game will chrash.
-
could you get this to load a single player mission
-
Is this stuff on the CVS? Coz if it isn't, if definitely should be.
-
Look at the committ comments, you can browse the CVS online :)
If not, add it :)
-
well i thought about singleplayer, but would that not open the door for cheating. but if ppl want it then ok. i'll give it a look. should not be to hard since the quick loading functions is already there.
will add it soon.