OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kuro on 29 Sep 2003, 08:41:36
-
Hello,
i am sure there is a tutoriual for the command line option of OFP. But i can not find it. Please help.
I mean.
e.g. operationflashpoint.exe /mod="mymod" /skipstart /onlyp3 ....
I am looking for a tutorial which explains all the "/mod="mymod" /skipstart /onlyp3" options behind the start command.
Greetings
Kuro
-
:o Hi Kuro
Would u mind explaining to me what you are talking about - maybe i could help you then - or maybe not
Rhys
-
He's talking about all those little commands you can add to your .exe file or desktop shortcut to start OFP
like the one I use most looks like:
"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -nosplash -mod=hisky
it allows you to remove the "splash screens" at startup ... or run a modfolder such as the Hisky pack ;)
skipstart /onlyp3
those two I've never seen before ;)
to my knowledge there isn't any tutorial on that .... at least that I've come across...
:cheers:
-
Thanks,
sorry my examples "skipstart /onlyp3" were not actual commands line options. I just want to give an fictive example to explain what i am talking of.
In OFP Lauchner you have a not of nice possibilities, my idea was that these choices are done by command lines options.
Greetings
Kuro
-
Oh shit - nice one...
So all i have to do to make one like you have (Kaliyuga) is create a desktop Icon for OFP with the TARGET OPTION as :-
"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -nosplash
Correct or not ?
May i ask why u have a game in your Program File Folder of oyur HDD ?
Rhys
-
May i ask why u have a game in your Program File Folder of oyur HDD ?
That's because the intall proggy suggests that folder
by default, and i didn't either care about changing the
default install-path => my OFP is also in Program Files folder,
as it's for most of the OFP comunity i guess.
~S~ CD
-
yep if you add -nosplash to the end of your target you won't have to sit through those screens at start up ;)
And like Chris said.. the folder I have my game installed in is the Default one when you run the setup/install program ;)
:cheers:
-
Cool :D Thanks guys... Much appreciated ;D
Sorry if you thought i was poking my nose in :-[
Rhys
-
I did a little search around the net, but could only find some pieces of parameters. Just like the ones listed here; -nosplash -mod .. and those. Also the parameters used with dedicated servers came out strong.
I guess it would be possible to compile a listing of all these but there isn't one already made as far as I know of.
-
So:- i am understanding that :-
1. ---- -nosplash makes the game load without the credits, copyright stuff at the beginning... Instead of changing the target int eh desktop icon properties bar you can use the one allready made in CHOFPSE ....
2. ----- -mod..... what does this one do guys ? Something to do wiht addons maybe ?
Rhys
-
Modfolders my man.....
you can place a folder in your:
C:\Program Files\Codemasters\OperationFlashpoint
directory containing a certain set off addons
for example you make a bunch of folders:
BAS
Desert
Snow
WW2
Nam
Throw the addons into those folders instead of your addons folder..
then if you want to run OFP with your addons folder and those addons loaded you have a shortcut for each one
"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -mod=BAS
all these commands can stack as well so you can have something like
FLASHPOINT192BETA.EXE" -nosplash -mod=BAS -mod=Desert -mod=Nam
as long as there is a space between each command
:cheers:
-
Well, as a matter of fact, there is a tutorial in the editors section just about this called
Speed up Loading / Command Line Args
it doesnt seem to have an author but here's the command lines it lists:
List of Command Line Arguments
IMPORTANT : All of these must include the dash at the beginning.
-window
This runs the demo in a window vs full screen.
-nosplash
This eliminates the intro screens at the beginning of the demo. Really speeds it up so you can test your missions faster.
-twomon
Allows you to support two monitors. Got verification it works in Win2000. Not sure about WinME yet.
-dx
Not sure. I didn't notice anything different
-noland
This didn't seem to do anything for me
-nodmusic
No digital music? Didn't seem to do anything since the music still played.
-nosound
Turns the sound levels all the way to 0. You need to manually reset the levels in the demo's option screen if you use this argument.
-piii
Pentium III? This didn't seem to do anything for me.
-tl
Made all the game textures a bland single color and the 3d model shapes were funky. Drak reckons it turns on hardware texture and lightning.
-notex
No textures. This eliminated all textures in the game.
-benchmark
I didn't see any difference with this.
-logfiles
This was interesting. It creates a subdirectory called "Files Used" and it contains a log file that corresponds to each pbo file in the DTA subdirectory. Each logfile lists the files from the corresponding pbo file that are actually used.
-
-twomon
Allows you to support two monitors. Got verification it works in Win2000. Not sure about WinME yet.
This works very poorly, which really dissapoints me. OFP would be great if I could use both of my monitors. With this enabled, the aspect ratio is all messed up - everything in-game appears too wide. It appears that the game just takes the scene and stretches it to twice its normal width. :(
-
:o Thanks Kaliyuga :o
Much appreciated for that little introduction on that. Thanks a lot..
@ The other posters...
Thanks boys but i have all i need know ;D
Rhys
-
Hello Kurayami,
i think this can help you with the Problem of two screens. Could you test it.
http://www.theavonlady.org/theofpfaq/sp/fov.htm (http://www.theavonlady.org/theofpfaq/sp/fov.htm)
Greetings
Kuro
-
Kaliyuga... Please could you help me?
I cannot get the -mod option to work...
I ahev tried the following in the "Target" line of the properties of a shortcut for OFP...
"D:\My Games\Operation Flashpoint\OperationFlashpoint\FLASHPOINTRESISTANCE.EXE" -mod=BAS
I have tried numerous letter combinations (caps on and caps off etc) but no luck
And i have ALL and JUST BAS Addons in the BAS FOlder in my OFP Directory ;D
COuld you or someone please help me ?
Rhys
-
checked out the Avon Lady's FAQ:
you need to have an addons folder inside your named folder.. then use that command line..
:cheers: