[noch nicht gelöst] meine start.xml ist kaputt!

Hier ist der ideale Ort um über Scripts und Mods für X³: Terran Conflict und X³: Albion Prelude zu diskutieren.

Moderators: Scripting / Modding Moderators, Moderatoren für Deutsches X-Forum

Raumkraut93
Posts: 1368
Joined: Wed, 18. Mar 09, 22:20
x3tc

[noch nicht gelöst] meine start.xml ist kaputt!

Post by Raumkraut93 »

Hi,

ich hab ein problem. ich hab nen neuen Start in die start.xml eingefügt und es neu eingebunden. wenn ich jetzt allerdings einen spielstart starte, egal welchen, dann haben alle keine ausrüstung und sonstiges, es wird also die komplette start.xml ignoriert! ich hab auch schonmal eine neue *clean* start.xml neu extrahiert, und den spielstart wieder eingefügt, und es klappt wieder nicht!

Ich hab definitiv keinen Fehler in der Datei selbst gemacht, da nichts "unterschlängelt" ist in VWD!

Was kann es sein?
Last edited by Raumkraut93 on Tue, 28. Apr 09, 18:50, edited 1 time in total.
Raumkraut93
Posts: 1368
Joined: Wed, 18. Mar 09, 22:20
x3tc

Post by Raumkraut93 »

So, eine ganz normale, vollkommen unmodifizierte start.xml funktioniert. aber sobald ich meinen start einfüge, geht es nichtmehr. Auch keine normalen Starts mehr. keine ahnung warum.

Hier ist mal der code, obwohl ich mir eigentlich sicher bin das er richtig ist:

Code: Select all

              <do_when value="{player.gamestart}" exact="71317" comment="Boronischer Friedenskämpfer">
                <reward_player>
                  <money exact="5000"/>
                  <notoriety>
                    <relation race="argon" operation="set" exact="neutral+3"/>
                    <relation race="boron" operation="set" exact="friend"/>
                    <relation race="paranid" operation="set" exact="enemy"/>
                    <relation race="split" operation="set" exact="min"/>
                    <relation race="teladi" operation="set" exact="neutral-2"/>
                    <relation race="goner" operation="set" exact="neutral-4"/>
                    <relation race="pirate" operation="set" exact="enemy"/>
                    <relation race="khaak" operation="set" exact="min" mutual="1"/>
                    <relation race="xenon" operation="set" exact="min" mutual="1"/>
                    <relation race="atf" operation="set" exact="{lookup.notoriety@notop1}"/>
                    <relation race="terran" operation="set" exact="foe" mutual="1"/>
                    <relation race="yaki" operation="set" exact="foe" mutual="1"/>
                  </notoriety>
                  <equipment>
                    <ware typename="SS_SHIELD_B" exact="2"/>
                    <ware typename="SS_WARE_TECH213" exact="{player.ship.equipment.SS_WARE_TECH246.maxcount}/2+1" comment="Engine Tunings"/>
                    <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                    <ware typename="SS_WARE_TECH246" exact="{player.ship.equipment.SS_WARE_TECH246.maxcount}/3+1" comment="Rudder Optomisation"/>
                    <ware typename="SS_WARE_TECH251" exact="({player.ship.equipment.SS_WARE_TECH251.maxcount}*3)/4+1" comment="Cargo Bay Extension"/>
                    <ware typename="SS_LASER_IOND" exact="4"/>
                    <ware typename="SS_LASER_PAC" exact="2"/>
                    <ware typename="SS_WARE_SW_NEW19" exact="1"/>
                    <ware typename="SS_WARE_SW_NEW20" exact="1"/>
                  </equipment>
                  <map>
                    <sector x="0" y="0"/>
                    <sector x="1" y="0"/>
                    <sector x="2" y="0"/>
                    <sector x="3" y="0"/>
                    <sector x="3" y="1"/>
                    <sector x="3" y="2"/>
                    <sector x="5" y="8"/>
                    <sector x="5" y="9"/>
                    <sector x="6" y="9"/>
                    <sector x="7" y="9"/>
                    <sector x="8" y="9"/>
                    <sector x="18" y="14"/>
                    <sector x="17" y="14"/>
                    <sector x="17" y="15"/>
                    <sector x="18" y="15"/>
                    <sector x="16" y="15"/>
                    <sector x="18" y="1"/>
                    <sector x="18" y="2"/>
                    <sector x="18" y="3"/>
                    <sector x="17" y="3"/>
                  </map>
                </reward_player>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="0" y="0"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="0" y="0"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="1" y="0"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="1" y="0"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="2" y="0"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="2" y="0"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="3" y="0"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="3" y="0"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="3" y="1"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="3" y="1"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="3" y="2"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="3" y="2"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="5" y="8"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="5" y="8"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="5" y="9"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="5" y="9"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="6" y="9"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="6" y="9"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="7" y="9"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="7" y="9"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="8" y="9"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="8" y="9"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="18" y="14"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="18" y="14"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="17" y="14"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="17" y="14"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="17" y="15"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="17" y="15"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="18" y="15"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="18" y="15"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="16" y="15"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="16" y="15"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="18" y="1"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="18" y="1"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="18" y="2"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="18" y="2"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="18" y="3"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="18" y="3"/>
                </find_station>
                <find_gate group="this.gates" multiple="1" max="6">
                  <sector x="17" y="3"/>
                </find_gate>
                <find_station group="this.gates" multiple="1" max="15" class="dock">
                  <sector x="17" y="3"/>
                </find_station>
                <set_group_known group="this.gates" known="1"/>
                <set_value name="Terran Link Plot" exact="1"/>
                <set_value name="HUB Plot" exact="1"/>
                <set_value name="HQ Plot" exact="1"/>
              </do_when>
Raumkraut93
Posts: 1368
Joined: Wed, 18. Mar 09, 22:20
x3tc

Post by Raumkraut93 »

hat wirklich niemand eine idee?
Sticks
Posts: 216
Joined: Thu, 29. Nov 07, 15:35
x4

Post by Sticks »

Dumme Frage, hast du auch die gamestarts.xml angepasst?
Raumkraut93
Posts: 1368
Joined: Wed, 18. Mar 09, 22:20
x3tc

Post by Raumkraut93 »

ja, hab ich natürlich :P

Code: Select all

  <gamestart id="71317" name="{1900,713171}" description="{1900,713172}" difficulty="{1900,713173}" image="start01" plot="1">
    <player name="{1900,713174}" species="{1900,713175}" gender="{1900,713176}" age="{1900,713177}"/>
    <!-- Saturn -->
    <sector x="11" y="1"/>
    <ship typename="SS_SH_USC_M4"/>
  </gamestart>
die funktioniert auch.

Aber alle anderen Spielstarts funktionieren auch nicht mehr, sobald ich meine start.xml einfüge! D.h., man kann sie zwar alle starten, hat aber keine von den Daten die in der starts.xml stehen, wie z.b. ausrüstung oder money ...

Auch wenn ich ne neue Start.xml nehme und diese modifiziere mit meinem spielstart, dann geht sie auch nicht mehr (sämtliche einträge dort!)

PS: Ich versteh es nicht ... wenn ich die ganzen daten aus der start.xml einem anderen spielstart zurodne, klappt es, aber sobald ich einen neuen spielstart einfüge, funktioniert keiner der starts mehr richtig!
Und ichhab nirgendwo etwas vergessen, sonst wäre irgendwas unterschlängelt ... ich hab aber alles 2x durchgeguckt und den gleichen fehler mache ich bestimmt nicht 6x ... und ich hab auch schon erfahrung damit und es hat vor dem Patch 2.0a immer geklappt, jezt nicht mehr, obwohl ich alles genauso mache wie vorher...

Eventuell hat Ego mit Patch 2.0a irgendwas reingebracht (vl. auch ausversehen?) was das erstellen von neuen starts unmöglich macht, vielleicht wegen irgendeiner signatur oder ähnlichem?
|K.O.S.H.
Posts: 3728
Joined: Fri, 19. Dec 03, 10:36
x3tc

Post by |K.O.S.H. »

wenn du also einen alten sielstart überschreibst, dnan geht es?

eventuell ist ja die anzahl der starts begrenzt.

das xml-dokument ist valid?
Wing Commander Mod - German Topic
06.07.11 - v1.1 RELEASED!
User avatar
Generalwest
Posts: 2764
Joined: Thu, 31. May 07, 18:07
x4

Post by Generalwest »

ich kann nicht behaupten das die anzahl begrenzt is verweis dazu unis costum mod.

einen Fehler in der Ausarbeitung der starts.xml konnte ich auch nicht finden. Was mich aber interessiert ist ob er es richtig eingebaut hat. Eventuell Zeile Verutscht und zwischen den <do when></do wen> Tags gerutscht? Zu viele?

Ich würde nochmal eine starts xml extrahieren und den gesamten abschnitt den du hier gepostet hast nochmal einfügen.

71.317 als id ist etwas arg weit oben. Ob die Engien das verträgt hab ich nie getestet.

Return to “X³: Terran Conflict / Albion Prelude - Scripts und Modding”