Edit:
Thank you YorrickVander! fixed the issue
_______________________________________
I have try to do this with he normal replace code from a save before tradeship was created. I have made a modify Rahanas (energy & container) so I was wanting to make it the ship we get instead of stock.
Code: Select all
<diff>
<replace sel="/mdscript[@name='Plot_ep1_ch1']/cues/cue[@name='P2_Meet_Borman_Conv_2_End']/create_ship[@name='macro.units_size_l_kit_hybrid_02_macro']">
macro.units_size_l_kit_hybrid_02_mk5_macro
</replace>
</diff>
Code: Select all
<diff>
<replace sel="/mdscript[@name='Plot_ep1_ch1']/cues/cue[@name='P2_Meet_Borman_Conv_2_End']">
<cue name="P2_Meet_Borman_Conv_2_End">
<conditions>
<event_conversation_finished actor="$Yisha" outcome="P2_Meet_Borman_Conv_2"/>
</conditions>
<actions>
<start_script object="$Borman_Ship.pilot" name="'move.jump'">
<param name="destination" value="$Alb_FarOutSec_Zone29"/>
<param name="position" value="position.[0,0,0km]"/>
<param name="skipcharge" value="true"/>
<param name="ignorefuel" value="true"/>
<param name="nonstop" value="true"/>
<param name="forcejump" value="true"/>
</start_script>
<!--was previously units_size_l_kit_liquid_01_macro and units_size_l_kit_bulk_01_macro-->
<create_ship name="$TradeShip" macro="macro.units_size_l_kit_hybrid_02_mk5_macro" zone="$ALB_InnerworldSec_Zone12">
<owner exact="faction.player" overridenpc="true"/>
<pilot actor="null"/>
<defence actor="null"/>
<engineer actor="null"/>
<units>
<unit category="unitcategory.transport" mk="1" exact="50" />
<unit category="unitcategory.welder" mk="1" amount="24"/>
</units>
<cargo>
<wares list="[ware.fuelcells]">
<fillpercent min="70" max="80"/>
</wares>
</cargo>
<position x="-5050m" y="1200m" z="17900m"/>
<rotation yaw="-128deg" pitch="-3deg"/>
</create_ship>
<set_object_min_hull object="$TradeShip" exact="5"/>
<create_mission cue="Part_2" name="{30301,1021}" description="{30301,1021}" difficulty="level.easy" faction="faction.heartofalbion" type="missiontype.plot" abortable="false">
<briefing>
<objective step="2" action="objective.flyto" object="$TradeShip"/>
</briefing>
</create_mission>
<set_objective cue="Part_2" step="2" action="objective.flyto" object="$TradeShip"/>
</actions>
<cues>
<cue name="P2_Fly_To_Trade_Ship_Conv_Init">
<delay exact="10s"/>
<actions>
<start_conversation priority="100" actor="$Yisha" conversation="P2_Fly_To_Trade_Ship_Conv"/>
</actions>
</cue>
</replace>
</diff>
Can someone tell me what I am missing?