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.

FREECAM EXAMPLE

3 posters

Go down

FREECAM EXAMPLE Empty FREECAM EXAMPLE

Post by John J. Stevens Sat 25 Oct 2014, 20:00

Decided to load up DR for some images of structures to recreate - thought the EDX/FreeCam would be the way to go but the simplefreecam.mssn provided in the 2013EDX release just allows me to go ELEVATE and DE-ELEVATE.   Thought there was an example file that allowed us to fly a camera around? Am I missing something?
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by TheGeneral Sat 25 Oct 2014, 22:05

no mate, you can't fly freecam as if t were a spectator cam in Arma unfortunatley.
TheGeneral
TheGeneral
Admin

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

http://maniacaldog.wix.com/keepdralive

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Tue 28 Oct 2014, 06:12

Sure you can. I'll need to update for the new EDX and put another one up. I'm not making any promises on time, but this is not the first request for this so I'll try to get it together.

Cheers Very Happy
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by TheGeneral Tue 28 Oct 2014, 09:20

oh I thought you couldn't! Sorry JJ, been awhile since I delved into the edx.
TheGeneral
TheGeneral
Admin

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

http://maniacaldog.wix.com/keepdralive

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by John J. Stevens Tue 28 Oct 2014, 11:00

hey, thanks for the info - thought I was missing was losing my mind - would other missions that used the CAM also be affected?  Anyway, an update would be great so I can do some screen caps.
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Sun 02 Nov 2014, 21:33

I've had a brief chance to examine the camera script. You can use the existing script, but there needs to be one modification made to it. If you look in the top of the script there is an EDX:registerPlayer function in the onMissionStart. You will need to create a function called onEDXInitialized and move the EDX:registerPlayer function there instead. That will make the script work.

To access the camera directional controls you need to first activate the camera with numpad 1, then turn numlock off. This will give you complete control over camera movement. using the arrow keys on the numpad. Let me know if you need any further assistance. I will try to post an updated script and some more detailed instructions at some point.

Cheers Very Happy
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by John J. Stevens Tue 04 Nov 2014, 10:26

Tried this in the file SIMPLE FREECAM, with no luck - still only enter/exit/direction/up and down work with numpad active - nothing when not in numpad mode except the expected key response.

running ofpdr-hotkeys.exe as admin and the above keys response already show half of the stuff is working.

going to compile and see if running outside the editor makes a diff - there was something that we could not test in the editor, can't remember what

function onMissionStart()
EDX:initCams()
freeCam = EDX:createCamera()
EDX:setCamera(freeCam, "tvig0r0us", 1, 0, 0, false)
end

function onEDXInitialized()
EDX:registerPlayer("tvig0r0us")
end
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Tue 04 Nov 2014, 23:09

Are you certain you were using the most recent hotkey executable? The older one only recognized the numeric input and would not work with the numlock off until expanded by TJDagger. Otherwise, the code you used is correct and should work. The copy that I used to verify this is the same as the one available in the download. Let me know if you can get it going and I'll see about getting a real working copy out. I also need to post an EDX update.

Cheers  Very Happy
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by John J. Stevens Wed 05 Nov 2014, 10:44

Good to know I understood the code patch - anyway, it would probably be best to understand how to best use/install the Autohotkey program (version) with your and other missions.

With Autohotkey being as expanded as it is, should a new OFDR version be compiled - old controls grandfathered with new codes added since Autohotkey provides bitmap display and graphic overlays for huds - I looked at the code but am a bit too rusty.  

Might make for a nice addon to EDX since they work together already.
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Wed 05 Nov 2014, 12:39

Try using this version:

http://www.moddb.com/mods/this-is-war/downloads/ofdr-hotkey-application

Just put it in your game folder like the old one. I haven't looked at the autohotkey script in so long I would have to relearn the whole thing.

Cheers Very Happy
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Fri 14 Nov 2014, 12:17

Hey John, did you ever get this resolved??
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by John J. Stevens Sun 16 Nov 2014, 21:09

that is the next thing I have been looking to do - will post shortly
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by John J. Stevens Mon 01 Jun 2015, 23:43

did the update and found the camera rising and falling but with no control, bank, direction (with and without numlock) - any ideas?
John J. Stevens
John J. Stevens
Admin

Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by tvig0r0us Fri 05 Jun 2015, 04:53

It's really been so long since I messed with it I don't remember. If I get a chance I'll see what I can figure out.

Cheers Very Happy
tvig0r0us
tvig0r0us
Admin

Location : Nky
Points : 266
Reputation : 29
Join date : 2013-10-16

http://www.moddb.com/members/tvig0r0us

Back to top Go down

FREECAM EXAMPLE Empty Re: FREECAM EXAMPLE

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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