Operation Flashpoint Dragon Rising OFDR Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

OFDR.exe parameters

4 posters

Go down

OFDR.exe parameters Empty OFDR.exe parameters

Post by rasp Mon 25 Mar 2013, 23:11

Hello,

While i'm playing OFDR, I always join Lan servers. Every time, I have to open the game, skip the intros and choose the right menus.
Is there a way to open directly the game to the LAN servers list ? If anything could make the access quicker (as skip automatically the intros), do not hesitate !

thanks, Rasp

rasp

Points : 3
Reputation : 0
Join date : 2013-03-25

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by TheGeneral Mon 25 Mar 2013, 23:36

Not sure if anyone has actually tried this tbh, Are you on about how the arma operates a no splash sort of affair?
TheGeneral
TheGeneral
Admin

Points : 780
Reputation : 35
Join date : 2012-12-15

http://maniacaldog.wix.com/keepdralive

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by Regg Tue 26 Mar 2013, 04:52

OFDR.exe definitely accepts command line parameters, as can be seen when launching a mission from the editor...

Code:
"C:\Program Files (x86)\Codemasters\OF Dragon Rising\OFDR.exe" -mission "Mission Editor/MyMission" --LiveLink
After sorting through the strings in the exe (via SysInternals Process Explorer), I found the following strings starting with '-'. There are certainly a lot more, but these are the most word-like.

--LiveLink
-chameleon
-mission
-profileopts


On another note, while browsing all the strings, there seems to be one section with all the Lua function and constant names. I can't claim to be 100% familiar with all the available functions, but there appear to be several that are not documented in the mission editor (e.g. OFP:isBleeding)
Regg
Regg
Veteran

Points : 143
Reputation : 10
Join date : 2013-02-22

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by TheGeneral Tue 26 Mar 2013, 09:53

I did save the undocumented functions thread somewhere from the old Cm forum, I'll have a look and dig it out if I still have it. I should have, but this thread deals with as much as could be found that were added as extra functions and how they can be used.
TheGeneral
TheGeneral
Admin

Points : 780
Reputation : 35
Join date : 2012-12-15

http://maniacaldog.wix.com/keepdralive

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by Regg Tue 26 Mar 2013, 22:25

Gotta love the WayBack Machine at archive.org!!!

http://web.archive.org/web/20100325102523/http://community.codemasters.com/forum/operation-flashpoint-dragon-rising-mission-editing-modding-chat-zone-123/398240-more-undocumented-functions.html
Since Templar discovered the scriptedCheckpoint command I decided to
poke around inside the OFP table to see what else was in there that
wasn't in the documentation. After a quick scan these are the functions
I've found. Quite a few look interesting! Unfortunately, I have no
way to find the number or type of parameters that each function takes so
some experimentation will be necessary.

Edit The name in parentheses is the name of the forum member that figured out how to use that function.

  • clearLookAt
  • deployCounterMeasures (RIKKI_B)
  • gameplaySprint (RIKKI_B)
  • getBuildMode
  • getMovementStyle
  • getPlatform (RIKKI_B)
  • heal (TemplarGFX)
  • isBleeding (RIKKI_B)
  • isPrimaryPlayer (this was already present in the Autocomple and LuaSyntax XML files).
  • particleEffect (RIKKI_B)
  • playOffmapSpeech (RIKKI_B)
  • scriptedCheckpoint (TemplarGFX)
  • selectCamera (Lonesume_Wolf)
  • setAIInaccuracyOn
  • setAiCommandId
  • setMovementStyle
  • showEndPoses
  • showPopupAndIcon
  • showPopusAndIconHold
  • spawnEntity
  • spawnEntityAtLocation
  • spawnEntitySetAtEntityPosition (RIKKI_B)
  • swapTo1stPersonCamera
  • swapTo3rdPersonCamera
  • triggerSequence
  • unlockAward

[Edit] The Autocomplete.xml and LuaSyntax.xml files that include the known functions above can be downloaded from here.

I just picked a random date in 2010, so this thread could have been updated. Does anyone know when CM shut down the OFDR forum? It looks as if archive.org is even mirroring all the files posted!
Regg
Regg
Veteran

Points : 143
Reputation : 10
Join date : 2013-02-22

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by TheGeneral Tue 26 Mar 2013, 23:32

they closed the forum in August last year.

Thats the thread I was on about btw. Thanks for finding it, I actually forgot to look for it.
TheGeneral
TheGeneral
Admin

Points : 780
Reputation : 35
Join date : 2012-12-15

http://maniacaldog.wix.com/keepdralive

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by Regg Wed 27 Mar 2013, 03:04

When I get the time, I'll merge the changes to the Lua syntax xml files with the EDX updates. Unless someone beats me to it.
Regg
Regg
Veteran

Points : 143
Reputation : 10
Join date : 2013-02-22

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by tjdagger Wed 27 Mar 2013, 10:00

Regg wrote:When I get the time, I'll merge the changes to the Lua syntax xml files with the EDX updates. Unless someone beats me to it.
Hi Regg,
I believe Tvig already included the "known" working commands into the auto complete Lua syntax xml.
I do recall helping him identify the working ones. Some do not work and where excluded by design.
But feel free to check and confirm, and even play with some of the ones not included as we may have missed some.
Cheers,

tjdagger
Admin

Location : Silverdale, Queensland, Australia
Points : 107
Reputation : 7
Join date : 2012-12-17
Age : 49

Back to top Go down

OFDR.exe parameters Empty Re: OFDR.exe parameters

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum