[MOD] Targeting UI Extension now with External Camera - (Nov 27, 2013)

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

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

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

[MOD] Targeting UI Extension now with External Camera - (Nov 27, 2013)

Post by Observe » Sat, 23. Nov 13, 07:54

Targeting UI Extension with External Camera

Version: 1.1 - Date: Nov 24, 2013

Now with external camera view!

Here is a YouTube video demonstrating how this mod works and what you can do with it.

Why this mod:

Currently (this will change soon), Rebirth has no good way of targeting enemy ships. This mod, extends the UI by adding a targeting menu with keyboard selectable commands.

In addition, one of the commands will trigger an external camera view of the selected target. The duration of the full-screen view is 5 seconds and can be repeated for extended viewing.

(click-able image)
[ external image ]

Where to get it: Coming soon

Installation:

1. Extract mod files into Rebirth extensions folder
2. Verify mod is selected (startup menu)

How to access it:

1. Open Modes
[ external image ]

2. Open Targeting
[ external image ]

3. Targeting UI Menu
[ external image ]

Notes:

- You must exit the Targeting menu if you want to access other Mission objectives.
- You must press option key 1 (keyboard) to escape full-screen mode (version 1.2)

What it does:

This mod extends the UI by adding a new menu with various targeting commands.

Available commands:

1. Next Enemy: selects the nearest enemy within 30km
2. Auto Target: selects the last object to attack you
3. Targeting Off: Turns off the active targeting display
4. Toggle Data: Toggles the target information display
5. External Camera: Triggers full-screen external view of the target

Features:

- Displays data for enemy speed, distance, hull, shields
- Displays video of enemy in the monitor
- Missile alert and tracking
- Full-screen external view of target

Future plans:

- Option to filter by different factions and relations
- Option to filter by object type (e.g. ships, crates, stations etc)
- Detailed list of all enemy in the area.
- Other things to do with "Strategic Management Command" that I can't think of at the moment.

How it works:

The mod consists of several files:

MainMenu.xml: Here I replace the normal main menu #6 (Close) with a Targeting option which opens a new menu.
osr_target_ext.xml: Mission Director (MD) code processes the new targeting commands.
OsrOrbit.xml: Cutscene camera for player ship.
OsrViewFromPlayerShip.xml: Cutscene camera for non-player target.

Notes: I determined I we don't need the original "Close" option in the main menu, because since we have keyboards, we can use the Escape key. This was necessary because we have limited menu options available to us for custom UI menu additions.

Screenshots taken using external camera (click-able images)

[ external image ]

[ external image ]
Last edited by Observe on Sun, 18. May 14, 17:58, edited 21 times in total.

Ruiner82
Posts: 85
Joined: Thu, 28. Jul 11, 08:32
x3tc

Post by Ruiner82 » Sat, 23. Nov 13, 08:25

Wow great work, this looks very promising.


User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sat, 23. Nov 13, 14:10

At this point I'm inclined to believe that the devs are simply scared of opening up the LUA parts of the interface. =P
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

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

Post by Observe » Sat, 23. Nov 13, 16:38

Thanks guys! Please let me know how this works with your system; since at this point the mod is still "experimental" (read alpha).

One thing I've been thinking, is possibly this could be added as a ware and purchased as a ship upgrade?

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

Post by Observe » Sat, 23. Nov 13, 17:32

Now I'm looking at using an "Options" key in the targeting menu to select the search criteria. For example, I can search for different types of objects in space, including:

- Next Zone (useful as navigation aid when exploring outside highways)
- Next Crate
- Next Resources (ore, hydrogen, etc)
- Next Station

I could have 6 variations, but I haven't decided which exactly would be most useful.

Suggestions?

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

Post by Observe » Sat, 23. Nov 13, 19:58

Next update (this weekend) will include an external camera button.

[ external image ]

This can be helpful when you want to have a look at your immediate surroundings. :)

Dungeoncrawler
Posts: 1093
Joined: Sun, 7. Dec 03, 05:32
x3tc

Post by Dungeoncrawler » Sun, 24. Nov 13, 00:36

Observe wrote:Next update (this weekend) will include an external camera button.

[ external image ]

This can be helpful when you want to have a look at your immediate surroundings. :)
External camera view FTW! Thank you sir.

User avatar
Crip67
Posts: 62
Joined: Wed, 8. Feb 06, 21:55
x4

Post by Crip67 » Sun, 24. Nov 13, 13:23

NICE....I will be giving this a go :twisted: will this work on big ships as well (turrets)?

its good to see you still modding here :D

Realspace
Posts: 1372
Joined: Wed, 15. Nov 06, 10:21
x4

Post by Realspace » Sun, 24. Nov 13, 21:04

Observe wrote:Next update (this weekend) will include an external camera button.

[ external image ]

This can be helpful when you want to have a look at your immediate surroundings. :)
really?? wow!, that had to be in the game, u're doing the patches before the devs!!

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

Post by Observe » Sun, 24. Nov 13, 22:36

Major update version 1.1.

This new version fixes some minor bugs and adds an external camera command for viewing the selected target full-screen.

I have created a YouTube video demonstrating how this mod works and what you can do with it.

Thanks!

Screenshot using external camera (click-able image):
[ external image ]

jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d » Sun, 24. Nov 13, 22:44

TEARS in my eyes :lol: :lol: :lol: :lol:
Entusiasta da série X3! The best game.

Tuttle
Posts: 4
Joined: Tue, 24. Apr 12, 19:43
x3ap

Post by Tuttle » Sun, 24. Nov 13, 23:26

Thank you very much!!

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

Post by Observe » Mon, 25. Nov 13, 00:17

FYI: Next version will include a "Next Zone" command as a navigation aid for use when bypassing local highways. Part of the reason for that, is since the very beginning when I wanted to create a "no highways" mod, I realized I would need to add some navigation commands to make it more practical.

Actually, come to think of it, I may make a separate navigation extension mod, and perhaps even a separate camera extension mod as well. I'll see what makes most sense as I go along. :)

jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d » Mon, 25. Nov 13, 01:18

Observe

If possible, create camera externa to player ship.

:D
Entusiasta da série X3! The best game.

Bobucles
Posts: 2259
Joined: Fri, 25. Dec 09, 03:56
x3tc

Post by Bobucles » Mon, 25. Nov 13, 03:40

A targeting MENU? I just need ONE button:
- Target thing in center (preference for closer targets)

So I can bind it to the right thumbstick.

BlueSabor
Posts: 124
Joined: Tue, 27. Jul 04, 19:41
x4

Post by BlueSabor » Mon, 25. Nov 13, 04:26

"Fantastic this adds even more immersion for me!" Thank you. :D
Windows 11 Pro 64-bit
ROG STRIX X570-F GAMING (AM4)
AMD Ryzen 9 5950X 16-Core Processor
Corsair H100i ELITE CAPELLIX RGB
Corsair Vengeance LPX Black 32GB 3600MHz AMD Ryzen Tuned DDR4
LG TV OLED55C141B (3840x2160@120Hz)
Gigabyte AORUS GeForce GTX 1080 Ti
Samsung SSD 870 EVO 1TB

HETPE3B
Posts: 56
Joined: Fri, 16. Mar 12, 00:02

Post by HETPE3B » Mon, 25. Nov 13, 05:01

this is great!
is it even possible to make it like old one?
i mean another screen in upper left corner? since "the big screen"
will be map... as devs promise....

User avatar
Baconnaise
Posts: 619
Joined: Sat, 23. Nov 13, 15:50
x4

Post by Baconnaise » Mon, 25. Nov 13, 06:36

You're doing God's work son.

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Mon, 25. Nov 13, 10:45

Gazz wrote:At this point I'm inclined to believe that the devs are simply scared of opening up the LUA parts of the interface. =P
I can only imagine what a XR MARS would be... :o
I fly an OWP. What about you?

Post Reply

Return to “X Rebirth - Scripts and Modding”