How to set behavior options that can be changed when the ship is a subordinate.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
unit098
- Posts: 4
- Joined: Sat, 24. Dec 16, 17:03

How to set behavior options that can be changed when the ship is a subordinate.
I noticed that with the vanillia autotrade behavior that is assigned when you tell a ship to trade for a station, you can still change its ware baseket. I was wondering of anyone knew how you could make behavior settings that are not locked for subordinates. I was looking at order.trade.routine.xml and thought <input_param name="canplayeroverride" value="true"/> was how you could do it, I tried using that but the param I attached it to was still greyed out
when the sun falls the true gods shall rise
-
ChemODun
- Posts: 612
- Joined: Mon, 12. Feb 07, 21:58

Re: How to set behavior options that can be changed when the ship is a subordinate.
I think when you say subordinates you mean the mimic behaviour.
If yes, then take in account they managed by order assist.
What this order does - it takes known order with param from commander and called it as a script, not as an order.
So, the only way is - or manually reassign the ships or change the primary order to call such reassign if parameter is changed.
If yes, then take in account they managed by order assist.
What this order does - it takes known order with param from commander and called it as a script, not as an order.
So, the only way is - or manually reassign the ships or change the primary order to call such reassign if parameter is changed.
Multiply entropy by absolute zero
Freedom in space
Freedom in space
-
unit098
- Posts: 4
- Joined: Sat, 24. Dec 16, 17:03

Re: How to set behavior options that can be changed when the ship is a subordinate.
I am refering to the behaviors that get assigned when you assign a ship to another ship/station. As an example the AutoTrade behavior that gets assigned when you have a ship trade for a station. Even though the ship is assigned to a station, you can still change the ware basket in the behavior, when usually the settings for the behaviopr are greyed out when the ship is a assinged to something. I am wondering how you can setup behavior settings that can be changed even when the ship is assinged to a comander
when the sun falls the true gods shall rise
-
ChemODun
- Posts: 612
- Joined: Mon, 12. Feb 07, 21:58

Re: How to set behavior options that can be changed when the ship is a subordinate.
Directly on subordinate - it's not possible.
Multiply entropy by absolute zero
Freedom in space
Freedom in space
-
unit098
- Posts: 4
- Joined: Sat, 24. Dec 16, 17:03

Re: How to set behavior options that can be changed when the ship is a subordinate.
But it happens in the base game already. With an assigned trader you can modify the ware basket of the subordinate [ external image ]
when the sun falls the true gods shall rise
-
ChemODun
- Posts: 612
- Joined: Mon, 12. Feb 07, 21:58

Re: How to set behavior options that can be changed when the ship is a subordinate.
You do not hear me ...
There is a different modes to run an order - as order and as script inside other order.
When you assign the ship to a station, there is an order of trader or miner runs on ship (ship pilot entity) as an order.
When you run some order in fleet in mimic mode - it's mostly run as order.assist which run "inside" the trade or mining order as a script, not an order.
And pass to them parameters from a commander.
And UI can show in interface parameters of an order, not a script, which runs inside. And you can see only order.assist params.
And it is right way of doing ... because if you set a mimic mode for some ship - it has fully mimic the commander, without possibility to have a different params.
There is a different modes to run an order - as order and as script inside other order.
When you assign the ship to a station, there is an order of trader or miner runs on ship (ship pilot entity) as an order.
When you run some order in fleet in mimic mode - it's mostly run as order.assist which run "inside" the trade or mining order as a script, not an order.
And pass to them parameters from a commander.
And UI can show in interface parameters of an order, not a script, which runs inside. And you can see only order.assist params.
And it is right way of doing ... because if you set a mimic mode for some ship - it has fully mimic the commander, without possibility to have a different params.
Multiply entropy by absolute zero
Freedom in space
Freedom in space
