[MOD] External Camera (UI Extension) V1.3 - Updated June 14, 2014

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

[MOD] External Camera (UI Extension) V1.3 - Updated June 14, 2014

Post by Observe »

External Targeting Camera

[ external image ]

Whether in combat or site-seeing. Expand your eye on the universe with the Observe Space Research (OSR) targeting camera extension. Great enhancement for dogfighting or seeing what your enemy is doing when you wouldn't normally be able to view them. In addition, detailed target information is displayed on your screen to let you know what your target is doing.

Instructions:

Download (subscribe) from Steam Workshop here.

The Targeting extension is activated via your main control menu.

- Select "Modes" (1)
- Select "Targeting" (6).
- Select "Fullscreen" (1). Displays the active target (or Skunk if none) full-screen.
- Select (1) again to exit full-screen.
- Select "Reset Camera" (2). Resets the camera to Skunk external.
- Select "Stop Mode" (3). Deactivates the targeting extension and exits the menu.
- Select "Cycle Views" (4). Cycles between 4 different viewing perspectives *
- Select "Details Off" (5). Turns off/on the text display of target details.
- Select "Exit Menu" (6). Keeps the extension active and returns you to the previous menu

* Cycle Views (4) Modes:

- Follow: Camera is positioned behind and slightly to the left of the Skunk
- Follow Ecliptic: Same as above, except the vertical view is set to an artificial horizon
- Front View: Camera is positioned looking at the front of the Skunk
- Targeted Object: Camera looks at the targeted object (if there is one).
- Fixed Position: A fixed position camera looks at your ship. You can move around this position to see the Skunk from all angles.

Notes:

- Remember you exit full-screen mode by pressing the number one (1) on your keyboard (same key you use to enter full-screen.

Images:

(click to enlarge)
[ external image ]

[ external image ]

[ external image ]
Last edited by Observe on Mon, 16. Jun 14, 18:33, edited 14 times in total.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Update: New version.

Changes:

- When you have no target selected, you will see an external camera view of the Skunk.

Coming up next: Full-screen display of camera views.
SupraRZ
Posts: 319
Joined: Fri, 11. Oct 13, 12:02
x4

Post by SupraRZ »

Wow can't belive I'm seeing this.....!!! :D

Excellent.....can't wait to try this .....unfortunately I'm stuck on a night shift .....
:(

Thank you very much.....
Atrocious
Posts: 165
Joined: Mon, 15. May 06, 20:13

Post by Atrocious »

Awesome mod!

I have a bit of feedback from playing around with it:
- Can you remove the sound that happens when the info is updated? That seems really unnecessary and actually annoys me, but I guess it may be caused by the game itself.
- I would prefer the monitor to be more opaque. Currently, in my cockpit (combat), the monitor is kind of transparent and the view of ships blurs with the view of space behind it.
- The skunk could be a bit more centered/moved to the left.
- Selecting a highway or superhighway does not show anything on the screen and the info shown is rather useless. Maybe skip that selection and keep the previous one?
- After selecting "Targeting" you could close the menu?
- When you enter a ROV the info monitor will still bleep, but the info shown does not change (i.e. distance is the distance to the ship, not to the drone). Would probably make sense to disable the display then.

Whatever you can or will do. Great work either way!
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Great feedback!
Atrocious wrote:Can you remove the sound that happens when the info is updated? That seems really unnecessary and actually annoys me, but I guess it may be caused by the game itself.
I know what you mean and I'm working on that. If nothing else, next update will have a toggle for the detail text.
Atrocious wrote:I would prefer the monitor to be more opaque. Currently, in my cockpit (combat), the monitor is kind of transparent and the view of ships blurs with the view of space behind it.
I also prefer the combat monitor and I know what you mean. I'll give it some thought.
Atrocious wrote: The skunk could be a bit more centered/moved to the left.
I'll take a look at that.
Atrocious wrote:Selecting a highway or superhighway does not show anything on the screen and the info shown is rather useless. Maybe skip that selection and keep the previous one?
Agreed. Will fix.
Atrocious wrote:After selecting "Targeting" you could close the menu?
I'm adding some commands, so another sub-level is needed.
Atrocious wrote:When you enter a ROV the info monitor will still bleep, but the info shown does not change (i.e. distance is the distance to the ship, not to the drone). Would probably make sense to disable the display then.
Agreed. Will change.

Thanks! :)
Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp »

This sounds fun - can't wait to finish plot and give it a go.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Update: Version 1.10 available

Changes:

- Added command to turn off target details text *
- Added command to reset camera **
- Fixed false targets (highways, dockingbay, npc, buttons etc)
- Fixed (stopped) operation when in a drone
- Fixed (stopped) operation when docked
- Various code optimizations

* This also turns off the text refresh sound that some people have found to be annoying. I'm still investigating other solutions to that.

** Reset Camera: This forces the camera to its initial condition of viewing the Skunk.
Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp »

Nice one 8)

I love that you added range :)

It bugs me that of all the bits of info put up on the vanilla main monitor, range-to-target is not one of them. lol. We either have to try and read the small, sometimes-hard-to-see-coloured number next to the object on the HUD or if they are behind us, take a look at the map or turn towards them...

"Yisha, thanks for undocking us so ably."
"It's the least I can do, buddy!"
~~~Pew! Pew! Pew!~~~
"Huh, getting shot again....I really should stop shooting civilians..."
"It's OK Ren, they were red! ...they must have deserved it, right?"
[control+E]
"Hmm...one of those darn fighters again..."
~~~Pew! Pew! Pew!~~~
"Ok, that's the last of them, Ren!"
~~~Zeeeeeckkkk~~~
"What the...."
[hmm, best not look at the map...damn things cross-wired with the ignition and we'd be dead in the water....(control+E)]
"Ah, Taranis...I wonder how far away it is. Maybe we can run or maybe we take cover. I'll take us around."
"Great idea, Ren!"
~~~Zeeeeeckkkk~~~
"Sound's ominously.. ah yes, it's approaching plasma range now..."
"Great stuff, Ren!"
~~~Zeee...boom!~~~
Game over Ren! Game over!
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Next update (hopefully today) will include a full-screen mode for the target and Skunk cameras.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Update: Version 1.2 available now.

Changes:

- Added full-screen mode *

* Remember you exit full-screen mode using the same key as you use for entering it. Escape key won't work for this.

Skunk in highway (click to enlarge):

[ external image ]
User avatar
YorrickVander
Posts: 2767
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Shiney :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Thanks. :)

OP images updated.
User avatar
NZ-Wanderer
Posts: 1627
Joined: Thu, 5. Aug 04, 01:57
x4

Post by NZ-Wanderer »

Hmmm, this worked yesterday, but today when I load it I go (1) then (6) and do not get the exit/stop commands any more :(
Link to the list of Mods working in X4-Foundations and also Link to the list of Mods working in X-Rebirth

NOTE: I play with a modded game, so any reports I make outlining suggestions/problems/bugs/annoyances, are made with mods installed and running.
User avatar
YorrickVander
Posts: 2767
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Worked fine for me...
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

NZ-Wanderer wrote:Hmmm, this worked yesterday, but today when I load it I go (1) then (6) and do not get the exit/stop commands any more
I'm not sure if my latest updates may have caused a burp. How about try deactivate the mod (extensions menu), exit, load saved game, save, reactivate extension, exit, load saved game.

Let me know if that works. If not, I have another suggestions.

Thanks
User avatar
NZ-Wanderer
Posts: 1627
Joined: Thu, 5. Aug 04, 01:57
x4

Post by NZ-Wanderer »

yup, that worked, thanks very much :)
Must have been a glitch in the updating...
Link to the list of Mods working in X4-Foundations and also Link to the list of Mods working in X-Rebirth

NOTE: I play with a modded game, so any reports I make outlining suggestions/problems/bugs/annoyances, are made with mods installed and running.
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Thanks for letting me know! At least we'll know what to do if others have that situation.

Thanks
User avatar
Observe
Posts: 5325
Joined: Fri, 30. Dec 05, 17:47
xr

Post by Observe »

Update: Version 1.21 now available.

Changes:

- changed range and other details to display as integers (no decimals) instead of floats. This make it much easier to keep track of what's going.

This update is fully compatible with savegames.
jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d »

Nice. :)
Entusiasta da série X3! The best game.
Atrocious
Posts: 165
Joined: Mon, 15. May 06, 20:13

Post by Atrocious »

Thank you for this mod!

Just to let you know, I saw some errors in the debug log. Nothing severe, just fyi.
[=ERROR=] [CutsceneManager::StopCutscene] Could not find cutscene {OsrDisplayScene_ViewFromPlayerShip}
[=ERROR=] Invalid call to RegisterEvent(). Given function already registered for the event: 'updateHolomap'
[=ERROR=] Error in MD cue md.Osr_target_ext.Player_Highway<inst:23d67>: Signalled cue has no corresponding listeners
* Expression: Target_Null

Return to “X Rebirth - Scripts and Modding”