Hi , just hopeing to make the split M3 and M4 purchasable from a small ship trader. I've been looking in the files but can't seam to figure out how to alter the buy and sell list of the small or medium ship traders. I even tried adding the M3 and M4 to the Large shipyard . they appear in the list , and i can select them up until i select buy ... and it tells me it can't (or more accuratly " Whats the real order! " in a snooty argon voice >.< .
any help would be appreciated
thank you.
Will
hi - looking for correcte file
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
Hey Will,
Haven't tested it, but I think they're in the shipyard macros in assets\structures\Economy\production\macros\
For example, struct_econ_prod_shipm_dv_macro.xml has:
Am assuming that the ship trader then simply accesses the list of wares available in the station inventory that's accessible via the dock that he/she's responsible for.
edit: adding "shp_s_split_m3" and "shp_s_split_m4" to <production wares="..."> and to the <item ... /> lists in this file should add them for purchase to the DeVries-type shipyard(s).
ps. will probably require new gamestart or save edit unless you know how to use the patch command to patch the save file, maybe via MD. (I haven't figured it out yet.)
Haven't tested it, but I think they're in the shipyard macros in assets\structures\Economy\production\macros\
For example, struct_econ_prod_shipm_dv_macro.xml has:
Code: Select all
<production wares="shp_m_canteran_01 shp_m_canteran_02 shp_m_crystal_transporter shp_m_container_transporter shp_m_plasma_transporter shp_m_energy_transporter shp_m_plasma_collector shp_m_nividium_collector shp_m_ice_collector shp_m_hydrogen_collector">
<queue>
<item ware="shp_m_canteran_01" />
<item ware="shp_m_canteran_02" />
<item ware="shp_m_crystal_transporter" />
<item ware="shp_m_container_transporter" />
<item ware="shp_m_plasma_transporter" />
<item ware="shp_m_energy_transporter" />
<item ware="shp_m_plasma_collector" />
<item ware="shp_m_nividium_collector" />
<item ware="shp_m_ice_collector" />
<item ware="shp_m_hydrogen_collector" />
</queue>
</production>
edit: adding "shp_s_split_m3" and "shp_s_split_m4" to <production wares="..."> and to the <item ... /> lists in this file should add them for purchase to the DeVries-type shipyard(s).
ps. will probably require new gamestart or save edit unless you know how to use the patch command to patch the save file, maybe via MD. (I haven't figured it out yet.)
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
would work but one point here is not accurate: small Ship Traders offer all Ships the Station has in Storage, not only the ones of the respective Production Modulew.evans wrote:Hey Will,
Haven't tested it, but I think they're in the shipyard macros in assets\structures\Economy\production\macros\
For example, struct_econ_prod_shipm_dv_macro.xml has:Am assuming that the ship trader then simply accesses the list of wares available in the station inventory that's accessible via the dock that he/she's responsible for.Code: Select all
<production wares="shp_m_canteran_01 shp_m_canteran_02 shp_m_crystal_transporter shp_m_container_transporter shp_m_plasma_transporter shp_m_energy_transporter shp_m_plasma_collector shp_m_nividium_collector shp_m_ice_collector shp_m_hydrogen_collector"> <queue> <item ware="shp_m_canteran_01" /> <item ware="shp_m_canteran_02" /> <item ware="shp_m_crystal_transporter" /> <item ware="shp_m_container_transporter" /> <item ware="shp_m_plasma_transporter" /> <item ware="shp_m_energy_transporter" /> <item ware="shp_m_plasma_collector" /> <item ware="shp_m_nividium_collector" /> <item ware="shp_m_ice_collector" /> <item ware="shp_m_hydrogen_collector" /> </queue> </production>

Also note that Producing M size Ships in an S Production Module might not work without further modding and vice versa
(Big Shiptraders on the other hand only offer the Ships their respective Buildmodule has to offer and, as OP noticed, can only build those which can practically dock there)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
He he. Thanks for the save, UniTrader. Sorry, didn't notice that there are "ships" macros as well (for s-sized ships.)
Yup. The file you want is, then, either:
struct_econ_prod_ships_dv_macro.xml
struct_econ_prod_ships_macro.xml
or struct_econ_prod_ships_ol_macro.xml
(or make your own!)
depending on where you want 'em.
Yup. The file you want is, then, either:
struct_econ_prod_ships_dv_macro.xml
struct_econ_prod_ships_macro.xml
or struct_econ_prod_ships_ol_macro.xml
(or make your own!)
depending on where you want 'em.
-
- Posts: 15
- Joined: Fri, 23. Jan 15, 21:21
wierd
ok - uh - my struct_econ_prod_shipm_macro doesn't have those values .... ??
Thankyou for your help.
will
ok - i'll try looking at my Xcat and see if something is broken somewhere .<?xml version="1.0" encoding="utf-8"?>
<!--Exported by: Benedikt (192.168.3.146) at 22.10.2013_11-40-29-->
<macros>
<macro name="struct_econ_prod_shipm_ol_macro" class="destructible">
<component ref="struct_econ_prod_shipm" />
<properties>
<identification name="{20107,3901}" description="{20107,3902}" unique="0" />
<explosiondamage value="100000" />
<hull max="3600000" />
<effects>
<explosion ref="explosion_station_01" />
<sefx_hack_disabled ref="hack_deactivated_m" />
</effects>
<secrecy level="4" />
</properties>
</macro>
</macros>
Thankyou for your help.
will
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23