FREECAM EXAMPLE
3 posters
Operation Flashpoint Dragon Rising OFDR Forums :: OPERATION FLASHPOINT: DRAGON RISING :: OFDR EDITING :: MISSION EDITOR EXPANSION (EDX)
Page 1 of 1
FREECAM EXAMPLE
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- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
no mate, you can't fly freecam as if t were a spectator cam in Arma unfortunatley.
Re: FREECAM EXAMPLE
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
Cheers
Re: FREECAM EXAMPLE
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- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
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
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
Re: FREECAM EXAMPLE
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
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- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
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
Cheers
Re: FREECAM EXAMPLE
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.
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- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
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
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
Re: FREECAM EXAMPLE
that is the next thing I have been looking to do - will post shortly
John J. Stevens- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
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- Admin
- Location : WV/PA
Points : 285
Reputation : 22
Join date : 2012-12-19
Re: FREECAM EXAMPLE
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
Cheers
Operation Flashpoint Dragon Rising OFDR Forums :: OPERATION FLASHPOINT: DRAGON RISING :: OFDR EDITING :: MISSION EDITOR EXPANSION (EDX)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|