[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: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

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

Post by Observe » Sat, 23. Nov 13, 08: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)
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
Image

2. Open Targeting
Image

3. Targeting UI Menu
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)

Image

Image
Last edited by Observe on Sun, 18. May 14, 17:58, edited 21 times in total.

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

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

Wow great work, this looks very promising.

Realspace
Posts: 593
Joined: Wed, 15. Nov 06, 11:21
xr

Post by Realspace » Sat, 23. Nov 13, 14:38

Thank you Observe!

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Sat, 23. Nov 13, 15: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: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

Post by Observe » Sat, 23. Nov 13, 17: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: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

Post by Observe » Sat, 23. Nov 13, 18: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: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

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

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

Image

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

Dungeoncrawler
Posts: 1074
Joined: Sun, 7. Dec 03, 06:32
x3tc

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

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

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, 22:55
x4

Post by Crip67 » Sun, 24. Nov 13, 14: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: 593
Joined: Wed, 15. Nov 06, 11:21
xr

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

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

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: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

Post by Observe » Sun, 24. Nov 13, 23: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):
Image

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

Post by jeroll3d » Sun, 24. Nov 13, 23: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 » Mon, 25. Nov 13, 00:26

Thank you very much!!

User avatar
Observe
Posts: 2877
Joined: Fri, 30. Dec 05, 18:47
xr

Post by Observe » Mon, 25. Nov 13, 01: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: 646
Joined: Thu, 26. Jun 08, 02:28
x3ap

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

Observe

If possible, create camera externa to player ship.

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

Post Reply

Return to “X Rebirth - Scripts and Modding”