Fleets not working in Farnham's Legacy

General discussion about X³: Farnham's Legacy.

Moderators: Moderators for English X Forum, Moderators for the X3:FL Forums

Post Reply
Mauster
Posts: 3
Joined: Tue, 31. May 22, 15:58
x3fl

Fleets not working in Farnham's Legacy

Post by Mauster » Fri, 6. Jan 23, 03:47

Good afternoon.
Fleets not working in X3: Farnham's Legacy.

The fleet leader has only one COMMAND_CALLTOARMS command.
Fleet subordinates have the COMMAND_JOINWITHFLEET command available.
Also, fleet subordinates have commands that should be available to the fleet leader COMMAND_FLEET_ATTACK, COMMAND_FLEET_ATTACKALLENEMIES, COMMAND_FLEET_INVADESECTOR, COMMAND_FLEET_DEFENDSTATION, COMMAND_FLEET_DEFENDSECTOR.
The fleet leader does not have these commands.
Running these commands through a subordinate fleet causes a reaction only from him, and the fleet itself with the leader is inactive.

!init.ship.globalscriptmap.std

Code: Select all

$race = null
...
* - Fleet commands -----------------
global script map: set: key=COMMAND_CALLTOARMS, class=Ship, race=$race, script=!ship.cmd.fleet.calltoarms, prio=0
global script map: set: key=COMMAND_JOINWITHFLEET, class=Ship, race=$race, script=!ship.cmd.fleet.join, prio=0
global script map: set: key=COMMAND_FLEET_RESUPPLY, class=Ship, race=$race, script=!ship.cmd.fleet.resupply, prio=0
global script map: set: key=COMMAND_FLEET_INVADESECTOR, class=Ship, race=$race, script=!ship.cmd.fleet.invade.std, prio=0
global script map: set: key=COMMAND_FLEET_DEFENDSTATION, class=Ship, race=$race, script=!ship.cmd.fleet.dstation.std, prio=0
global script map: set: key=COMMAND_FLEET_DEFENDSECTOR, class=Ship, race=$race, script=!ship.cmd.fleet.defendsector.std, prio=0
global script map: set: key=COMMAND_FLEET_ATTACKALLENEMIES, class=Ship, race=$race, script=!ship.cmd.fleet.attackall.std, prio=0
global script map: set: key=COMMAND_FLEET_ATTACK, class=Ship, race=$race, script=!ship.cmd.fleet.attack.std, prio=0
global script map: set: key=COMMAND_FLEET_PATROL, class=Ship, race=$race, script=!ship.cmd.fleet.patrol.std, prio=0
!init.ship.commandupgrade

Code: Select all

* --- Fleet commands ------------------
$upgrade = [TRUE]
set script command upgrade: command=COMMAND_CALLTOARMS  upgrade=$upgrade
set script command upgrade: command=COMMAND_JOINWITHFLEET  upgrade=$upgrade
!init.ship.commandpreload

Code: Select all

set ship command preload script: command=COMMAND_FLEET_ATTACK script=!ship.cmd.fleet.attack.pre
set ship command preload script: command=COMMAND_FLEET_DEFENDSECTOR script=!ship.cmd.fleet.defendsector.pre
set ship command preload script: command=COMMAND_FLEET_DEFENDSTATION script=!ship.cmd.defend.station.pl
set ship command preload script: command=COMMAND_FLEET_INVADESECTOR script=!ship.cmd.fleet.invade.pre
Fleet Composition
Image

Fleet leader
Image Image

Fleet subordinates
Image Image Image Image Image

It is not clear how a condition is added to display items in the menu of ships of these commands so that commands are added only to the leader of the fleet and not to the subordinates of the fleet.
This works correctly in X3: Albion Prelude and the reverse logic works in X3: Farnham's Legacy.

p.s. \L\x3story.obj is suspected. What is this file and what does it contain?
When replacing the x3story.obj file from X3: Albion Prelude to X3: Farnham's Legacy and starting a new game, the fleet management commands work properly, but the game becomes broken :)

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: Fleets not working in Farnham's Legacy

Post by Cycrow » Fri, 6. Jan 23, 11:48

The x3story like is the game code. Using the AP version won't work as it'll be missing all of the stuff added for FL.

You can use the unofficial patch, which fixes the fleet commands

Mauster
Posts: 3
Joined: Tue, 31. May 22, 15:58
x3fl

Re: Fleets not working in Farnham's Legacy

Post by Mauster » Fri, 6. Jan 23, 14:13

Where to download unofficial patch?

iXenon
Posts: 177
Joined: Wed, 1. Jun 22, 20:00

Re: Fleets not working in Farnham's Legacy

Post by iXenon » Fri, 6. Jan 23, 14:19

Mauster wrote:
Fri, 6. Jan 23, 14:13
Where to download unofficial patch?
Check this page. The description looks amazing, but I personally want to get X-TREME ratings on official patch first and then switch to that unofficial one. May be at that moment we would have 1.3.5 where unfocused jumps would make sense.

Mauster
Posts: 3
Joined: Tue, 31. May 22, 15:58
x3fl

Re: Fleets not working in Farnham's Legacy

Post by Mauster » Fri, 6. Jan 23, 15:19

The commands were corrected but did not work normally.
At the "attack all" command, the subordinates stand and wait until the fleet leader engages the enemy.
After they enter the battle and continue to kill enemies.
And the leader of the fleet, after killing the first enemy, remains in place and waits.
Sometimes he loses the command to destroy enemies. :-(

p.s. The supply of the TS fleet with transport works fine.

Post Reply

Return to “X³: Farnham's Legacy”