Ich habe eine Mod geschrieben, die Waffenplattformen an Sprungtoren und Sprungbojen erschafft. Die Mod funktioniert auch. Nun habe ich das Problem, dass ein kleiner Würfel an dieser stelle zurück bleibt. Es bleibt auch ein Eintrag, in der Holomap zurück. Die Stationen tauchen random auf und verschwinden nach der Zerstörung. So soll es sein.
Hier ist der Part wie ich die Stationen verschwinden lasse.
und bitte an die anderen nur auf selbst erschaffene Stationen anwenden, sonnst gibt es kaputte Savegames!
<cue name="Defence_Station_Reset" instantiate="true" checkinterval="5min">
<conditions>
<check_all>
<count_stations min="1" macro="macro.struct_econ_weapon_ar_defence_macro" owner="faction.xenon" space="player.galaxy">
<match_summarised_adsign operational="true" max="0"/>
<match_summarised_efficiencyupgrade operational="true" max="0"/>
<match_summarised_shield operational="true" max="0"/>
<match_summarised_surfacedestructible operational="true" max="0"/>
<match_summarised_turret operational="true" max="0"/>
</count_stations>
</check_all>
</conditions>
<delay exact="2s"/>
<actions>
<find_station groupname="$Waffenplattform" macro="macro.struct_econ_weapon_ar_defence_macro" owner="faction.xenon" space="player.galaxy">
<match_summarised_adsign operational="true" max="0"/>
<match_summarised_efficiencyupgrade operational="true" max="0"/>
<match_summarised_shield operational="true" max="0"/>
<match_summarised_surfacedestructible operational="true" max="0"/>
<match_summarised_turret operational="true" max="0"/>
</find_station>
<do_all exact="$Waffenplattform.count" counter="$Counter">
<set_value name="$Station" exact="$Waffenplattform.{$Counter}"/>
<do_if value="$Station.exists">
<get_control_entities groupname="$Entities" object="$Station"/>
<destroy_group group="$Entities"/>
<set_owner object="$Station" faction="faction.ownerless"/>
<find_object_component groupname="$Waffenplattform_Station_Modules" object="$Station" multiple="true">
<match_parent class="class.station"/>
</find_object_component>
<destroy_group group="$Waffenplattform_Station_Modules" explosion="true"/>
<set_summarised_adsign_state object="$Station" state="wreck" exact="$Station.summary.numadsigns.all"/>
<set_summarised_efficiencyupgrade_state object="$Station" state="wreck" exact="$Station.summary.numefficiencyupgrades.all"/>
<set_summarised_shield_state object="$Station" state="wreck" exact="$Station.summary.numshields.all"/>
<set_summarised_surfacedestructible_state object="$Station" state="wreck" exact="$Station.summary.numsurfacedestructible.all"/>
<set_summarised_turret_state object="$Station" state="wreck" exact="$Station.summary.numturrets.all"/>
</do_if>
</do_all>
</actions>
</cue>
was muss ich noch einfügen damit die grauen Einträge aus der Liste der Holomap verschwinden. Die Liste wird sonst immer Länger
Wie kann ich Stationen die erschaffen wurden, wieder verschwinden lassen
Hier ist der ideale Ort um über Scripts und Mods für X Rebirth zu diskutieren.
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
1 post
• Page 1 of 1
-
- Posts: 184
- Joined: Fri, 15. Aug 14, 08:38
Wie kann ich Stationen die erschaffen wurden, wieder verschwinden lassen
Post by STB2199 » Wed, 6. Jul 16, 07:50
1 post
• Page 1 of 1
Return to “X Rebirth - Scripts und Modding”
Jump to
- English Forums
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technical Support
- ↳ X4: Foundations - Scripts and Modding
- ↳ Construction Community
- ↳ X Wiki Discussion
- ↳ X Rebirth Universe
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technical Support
- ↳ X Rebirth - Scripts and Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts and Modding
- ↳ X Trilogy Universe
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support
- ↳ X³: Terran Conflict / Albion Prelude - Scripts and Modding
- ↳ X³: Reunion, X²: The Threat, X-T and X-BTF - Technical Support
- ↳ X³: Reunion - Scripts and Modding
- ↳ X²: The Threat - Scripts and Modding
- ↳ Creative Universe
- ↳ Off Topic English
- Deutschsprachige Foren
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technische Unterstützung
- ↳ X4: Foundations - Scripts und Modding
- ↳ X Rebirth Universum
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technische Unterstützung
- ↳ X Rebirth - Scripts und Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts und Modding
- ↳ X Trilogie Universum
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technische Unterstützung
- ↳ X³: Terran Conflict / Albion Prelude - Scripts und Modding
- ↳ X³: Reunion, X²: Die Bedrohung, X-T und X-BTF - Technische Unterstützung
- ↳ X³: Reunion - Scripts und Modding
- ↳ X²: Die Bedrohung - Scripts und Modding
- ↳ Kreative Zone
- ↳ Off Topic Deutsch
- Forum Français
- ↳ X4: Foundations
- ↳ Support et Aide pour X4: Foundations
- ↳ Script et Modding pour X4: Foundations
- ↳ L'Univers X Rebirth
- ↳ Support et Aide pour X Rebirth
- ↳ Script et Modding pour X Rebirth
- ↳ Support et Aide pour la Trilogie X
- ↳ L'Univers de la Trilogie X
- ↳ Script et Modding pour la Trilogie X
- ↳ Off Topic Français
- Forum Italiano
- ↳ X4: Foundations
- ↳ Supporto Tecnico per X4: Foundations
- ↳ Script e Modding per X4: Foundations
- ↳ L'Universo di X Rebirth
- ↳ Script e Modding per X Rebirth
- ↳ Supporto Tecnico per X Rebirth
- ↳ L'Universo della Trilogia di X
- ↳ Script e Modding per la Trilogia di X
- ↳ Supporto Tecnico per la Trilogia di X
- ↳ Off Topic Italiano
- Polskie Fora
- ↳ Polskie / Polish X-Forum
- ↳ Polskie / Polish Off Topic
- Other Languages
- ↳ Česky / Czech X-Forum
- ↳ Dansk / Danish X-Forum
- ↳ Español / Spanish X-Forum
- ↳ Nederlands / Dutch X-Forum
- ↳ Português / Portuguese X-Forum
- ↳ Русский / Russian X-Forum
- DevNet: General
- ↳ MSCI Reference
- DevNet: X4: Foundations
- DevNet: X Rebirth
- ↳ XR - Technical Troubleshooting