Hello,
I'am trying to add custom warehouse station to De Vriese.
For base i copy the "struct_bt_alb_warehouse_macro" rename it to "struct_bt_ca_warehouse_macro" and create new index in "macro".
Then i added this station as connection to zone_49.
Last i found that warehouse used "trade.station.tradingstation" script to set wares to bay and sell, and add my new "struct_bt_ca_warehouse_macro" into it.
As a result a get fully working station with one problem, script didn't add wares to cargo, and trade offers on station are disable.
I thought i did wrong edit in AIscript and try it with changing trade offers on Plutarch stock, everything work's fine.
i gonna burn
Can't get why there if no trade offer's in my station
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
I'm not sure what exactly you are doing but to make a station offer trades you need to add a manager and run a script on him/her. Here an example:
Cheers Euclid
Code: Select all
<create_cue_actor cue="this" name="$manager" macro="macro.character_ar_female_manager_macro">
<select race="race.argon" tags="tag.manager"/>
<page exact="10109"/>
<owner exact="faction.player" />
<skills>
<skill type="boarding" exact="1"/>
<skill type="combat" exact="2"/>
<skill type="engineering" exact="1"/>
<skill type="leadership" exact="4"/>
<skill type="management" exact="5"/>
<skill type="morale" exact="4"/>
<skill type="navigation" exact="1"/>
<skill type="science" exact="2"/>
</skills>
</create_cue_actor>
<set_entity_type entity="$manager" type="entitytype.manager"/>
<add_actor_to_platform actor="$manager" dockingbay="$Stationdock.component"/>
<assign_trade_manager actor="$manager" object="$Station"/>
<set_actor_account actor="$manager" />
<start_script object="$manager" name="'trade.station.player'"/>
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786