[MOD] UFO - Ultimate Fleet Overhaul (V0.6.1 Beta, 3rd February 2015)

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

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

Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

Hi guys and gals,

I decided to check out how X:Rebirth has developed since I last played it, and as part of that I also updated UFO to be compatible with version 3.10 (i.e. be accessible via the sidebar). However, I don't have much time for testing right now.

Would some of you here be willing to test whether all features are still working with the new version?

Cheers,
MJ
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Good to see you back :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Re: [MOD] UFO - Ultimate Fleet Overhaul (V0.5.0 Beta, 1st May 2014)

Post by w.evans »

Mad_Joker wrote:the UFO scripts only become active once a ship is assigned to a fleet. Therefore, as long as a ship is not in a fleet, all other mods should work correctly with that ship.
Hey Mad_Joker,

I use cicero111's Captain AI Overhaul and Better Turrets which alter the movement and turret firing scripts. If I understand correctly, cicero111's mods will still be active on those ships which are not in the player fleet, but will UFO correctly overwrite them when assigned to the player fleet? Not sure what the load order is, and what overwrites what when.

edit: just took a look at your files and, I guess I didn't realize the extent of your "complete rewrite from scratch." It appears that there are absolutely no conflicts other than fight.attack.object.drone.leader.xml. Ok, firing it up.
Mad_Joker wrote:Would some of you here be willing to test whether all features are still working with the new version?
Don't know what "all features" means, but I'll certainly report back if there are any problems.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

Ran into a problem. I feel like I'm missing something obvious, but I couldn't find the Fleet Management menu. Looked in all of the menus in the sidebar. I did find the old Fleet Management menu when I reactivated legacy menus, but that caused a UI lockup -- no commands registered except with an alt-tab which resets all of the menus.

I am running UFO from the steam workshop, as well as LibMJ, also from the steam workshop.

edit: looks like the ego_ problem introduced in X Rebirth v3.00. Egosoft renamed all of the contents of [ui\addons\] with an "ego_" prefix.
Last edited by w.evans on Mon, 12. Jan 15, 22:22, edited 1 time in total.
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

The new version isn't uploaded to the workshop yet since development isn't completely done (e.g. the fight.attack.object.drone.leader.xml script I have isn't compatible with the current version of X:R).

I have uploaded the beta version to this mod's nexus site. You can find it at the bottom of the Files tab under the Miscellaneous section.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

Sorry, missed that. At the very bottom of the page. Looks like the virus scan isn't done yet.
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

w.evans wrote:Sorry, missed that. At the very bottom of the page. Looks like the virus scan isn't done yet.
You couldn't find it because I only uploaded it when I posted my last post :D

Also, the Fleet Management menu should be accessible via the "Info" section of the sidebar (i.e. MAINMENU-2-6).

Lastly, the version I uploaded has the Debug mode set to full, which will cause loads of debug output. Sometimes this causes the game to run a bit slower. If you have any issues you can either change the value in the UFO.xml file from the .cat files (if you know how) or you can change it inside the game (only lasts till restart or reload though). To do that simply open the Fleet menu and press the info icon in the upper left corner.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

Yup, got it. Here's your report:

Fleet Management menu accessible.
All menu functions appear to function properly.
Created fleet of 3 capships, assigned aggressive behavior, break formation, maximum engagement distance = 10km (default)
Had them Move to Zone: from Far Out / Distant Fume to Straining Coppice -- Leader status reads "Fly to Straining Coppice - Fly to nil" Followers status read "Follow CV/H 01 - Arawn - Jumping"
Fleet leader jumped to Straining Coppice, consumed no fuel, status readout unchanged. (There's supposed to be a mission-generated Arawn there.)
Fleet followers stayed (assuming that they're powering up to jump.)
I flew to Straining Coppice via highways.
Fleet of three ships was there waiting when I arrived. All three ships in formation, but not moving. Leader's status readout still unchanged.
Adjusting engagement distance to maximum caused the fleet to attack the hostile ship in zone.
One of the Skunk's status displays changed to read "Real-time Fleet Status Report"
Moving roughly in formation, they moved to take the hostile Arawn down, and man, was that awesome!
Leader's status still unchanged, but at this point, I don't care!

ps. would a copy of my debuglog be useful? Looks routine other than a problem with fight.attack.object.drone.leader.xml, and you know about that.

edit: except for this one maybe:
debuglog wrote:[=ERROR=] Error in AI script ufo.capital.commander.move.to.zone on entity 0x5b77: Property lookup failed: $Fleet
* Expression: $Fleet.$lCommand.{2}.{1}
undefined variable?
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

w.evans wrote:edit: except for this one maybe:
debuglog wrote:[=ERROR=] Error in AI script ufo.capital.commander.move.to.zone on entity 0x5b77: Property lookup failed: $Fleet
* Expression: $Fleet.$lCommand.{2}.{1}
undefined variable?
Yeah, that sometimes randomly happens. This is because I am using an experimental and hacky way of creating hashtables/dictionaries/maps/whatever you want to call them. And that doesn't work 100%, but 99%. If you could upload your debug log to pastebin though that would be appreciated.

Thanks,
MJ
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

exceeded the limit at pastebin. uploaded at google drive. you could get it here
Sabre6
Posts: 89
Joined: Wed, 18. Apr 07, 02:04
x3tc

Post by Sabre6 »

Mad_Joker

Thanks you :!: :!: :!: :!: I have been hoping you would come back and updated this Mod. It reminds me so much of X3. I will also get back feed back if she is broken, not sure what broken would be seems how I never used the mod before. :!:

FYI is this still need:
You will need to download LibMJ to use UFO.
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

Sabre6 wrote:FYI is this still need:
You will need to download LibMJ to use UFO.
Yes, this is still the case. However, in the beta download from the link above, the newest unreleased version of LibMJ is included, which has facilities for adding items to the sidebar.
Sabre6
Posts: 89
Joined: Wed, 18. Apr 07, 02:04
x3tc

Post by Sabre6 »

Ok, Thanks again for the update, loading now.
Sabre6
Posts: 89
Joined: Wed, 18. Apr 07, 02:04
x3tc

Post by Sabre6 »

MainMenu I can't see the fleet management

number 6 is Automated Emergency Jump

Will I need to shut this off you think???
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

Sabre6 wrote:MainMenu I can't see the fleet management

number 6 is Automated Emergency Jump

Will I need to shut this off you think???
Is "Automated Emergency Jump" using the SidebarExtender? If so, it shouldn't matter, since my implementation should be compatible with SidebarExtender. Can you see any UFO related debugging output? That should at least make clear whether UFO has correctly loaded.
hellya
Posts: 4
Joined: Sun, 7. Dec 14, 01:07

Post by hellya »

Hello Mad_Joker,

Your Mod was one of the mods I first looked at getting 3 months back when I bought the game. Sadly, the original state of the game probably made you run away.

So far I have been messing with your mod and found very few things wrong with it. One I have found and it appears I am not the first:

- Commanding ship does not show current actions correctly. EX: Jumping to nil.

Other than that, amazing work and I hope the game keeps your interests again.

I do have a shameless wish list for myself when it comes to your mod.

- Give the option for surface targets or hull when fighting.
- Allow us to operate from capital bridge, jump to system while on bridge.
- Info menu quick button, attack object/stop attack.
- Stop attack on boarding party launch.

I know nothing of modding, so my requests are blind at best. I think this mod is one of the best as is, so I hope I was not offensive.

I will keep trying to break the mod and give you updates.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

hellya wrote:- Give the option for surface targets or hull when fighting.
Yes, please. If it helps, cicero111 got this working in his BetterTurrets mod.
hellya
Posts: 4
Joined: Sun, 7. Dec 14, 01:07

Post by hellya »

Commanding ship gets stuck with "Flying to" even though they have arrived.

I have had following ships not jump with the commanding ship. I will try to get it to repeat. It might have something to with combat.
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

hellya wrote:- Commanding ship does not show current actions correctly. EX: Jumping to nil.
I have found and fixed the issue. Thanks for letting me know.
hellya wrote: I do have a shameless wish list for myself when it comes to your mod.

- Give the option for surface targets or hull when fighting.
- Allow us to operate from capital bridge, jump to system while on bridge.
- Info menu quick button, attack object/stop attack.
- Stop attack on boarding party launch.
Sadly, I am currently not planning to make any functional changes, but only update the mod so that it works correctly with 3.10.
hellya wrote:Commanding ship gets stuck with "Flying to" even though they have arrived.
This is intended for now. Will be changed if I ever decide to implement a patrol command.
hellya wrote:I have had following ships not jump with the commanding ship. I will try to get it to repeat. It might have something to with combat.
If you set the launch options for X:R in steam to "-debug all -logfile rebirth.log" you will find a log file in MyDocuments\Egosoft\Rebirth. This should help you figure out what is going wrong. Alternatively you can upload the log file some site and I'll have a look.

Cheers,
MJ
Sabre6
Posts: 89
Joined: Wed, 18. Apr 07, 02:04
x3tc

Post by Sabre6 »

It says everything opens and installs when I start the game. Shows Limg is loading and UFO .o5 is loading. Where would I find the Debug info?? is the a log file?? Oh I see in the post the unreleased version of Libmj. So is this not the one from steam??

Return to “X Rebirth - Scripts and Modding”