patching <3 D:

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

patching <3 D:

Post by iforgotmysocks »

Izi patching. Who wants to bet if that works just now? :D

Code: Select all

<diff>
  <add sel="/mdscript/cues/cue[@name='Chapter_03']/cues/cue[@name='Part_5']/cues/cue[@name='P5_Split_Intro_Conv_End']/cues/cue[@name='P5_Split_Intro_Conv_2_End']
/cues/cue[@name='P5_Kol_Leaves_Colony']/cues/cue[@name='P5_Fly_To_Argon_Station']/cues/cue[@name='P5_Docked_At_Argon_Station']
/cues/cue/cues/cue[@name='P5_Find_Inventory']/cues/cue[@name='P5_Pick_Up_Kol']/cues/cue[@name='P5_Pick_Up_Kol_Wait']
/cues/cue[@name='P5_Pick_Up_Kol_Conv_End']/cues/cue[@name='P5_Kol_Leaves_Argon_Station_Conv_End']/cues/cue[@name='P5_Return_Kol_To_Split']/actions">
    <set_job_active job="'rya_destroyer_copper_sector02'" activate="true"/>
  </add>
</diff>

Edit: Added line breaks to code to prevent ultra-wide forum template stretching. X2-Illuminatus
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

why so complicated? cue names are unique enough as identifier, no need to deliver the XPath from the root (and also looks cleaner):

Code: Select all

<diff>
  <add sel="//cue[@name='P5_Return_Kol_To_Split']/actions">
    <set_job_active job="'rya_destroyer_copper_sector02'" activate="true"/>
  </add>
</diff> 
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 ;)
iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks »

Oh yay. xD

I completely forgot about that. Thanks. :D

Return to “X Rebirth - Scripts and Modding”