[MOD] X Rebirth Lost Sectors v1.5.0
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Обновил архив.
Лог ошибок 1.2.6 .
Лог ошибок 1.2.6 .
Code: Select all
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_s_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_l_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 LIBXML2: file:///extensions%2Flostsectors%2Fassets%2Funits%2Fsize_s%2Fmacros%2Funits_size_s_split_m8_macro?ext=xml%20xml.gz line 74, error 76: Opening and ending tag mismatch: connections line 25 and macro
connectionsmacro
[General] 0.00 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-111.902f' is not of type angle
* Expression: -111.902f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-36.5467f' is not of type angle
* Expression: -36.5467f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '15.2839f' is not of type angle
* Expression: 15.2839f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '66.2162f' is not of type angle
* Expression: 66.2162f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-51.4243f' is not of type angle
* Expression: -51.4243f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '83.5451f' is not of type angle
* Expression: 83.5451f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-110.387f' is not of type angle
* Expression: -110.387f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-55.1863f' is not of type angle
* Expression: -55.1863f
[General] 5.04 ======================================
[General] 5.04 ======================================
[=ERROR=] 5.04 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '38.8333f' is not of type angle
* Expression: 38.8333f
[General] 5.04 ======================================
[General] 63.70 ======================================
[=ERROR=] 63.70 Error in AI script move.jump on entity 0x10ca5: Invalid space for <find_zone>
* Expression: $targetzone
[General] 63.70 ======================================
[General] 63.70 ======================================
[=ERROR=] 63.70 Error in AI script move.jump on entity 0x10ca5: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 63.70 ======================================
[General] 69.34 ======================================
[=ERROR=] 69.34 Error in AI script move.jump on entity 0x10b94: Invalid space for <find_zone>
* Expression: $targetzone
[General] 69.34 ======================================
[General] 69.34 ======================================
[=ERROR=] 69.34 Error in AI script move.jump on entity 0x10b94: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 69.34 ======================================
[General] 73.11 ======================================
[=ERROR=] 73.11 Error in AI script move.jump on entity 0x10af8: Invalid space for <find_zone>
* Expression: $targetzone
[General] 73.11 ======================================
[General] 73.11 ======================================
[=ERROR=] 73.11 Error in AI script move.jump on entity 0x10af8: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 73.11 ======================================
[General] 78.67 ======================================
[=ERROR=] 78.67 Error in AI script move.jump on entity 0x10ad1: Invalid space for <find_zone>
* Expression: $targetzone
[General] 78.67 ======================================
[General] 78.67 ======================================
[=ERROR=] 78.67 Error in AI script move.jump on entity 0x10ad1: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 78.67 ======================================
[General] 80.59 ======================================
[=ERROR=] 80.59 Error in AI script move.jump on entity 0x10b6d: Invalid space for <find_zone>
* Expression: $targetzone
[General] 80.59 ======================================
[General] 80.59 ======================================
[=ERROR=] 80.59 Error in AI script move.jump on entity 0x10b6d: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 80.59 ======================================
[General] 81.39 ======================================
[=ERROR=] 81.39 Error in AI script move.jump on entity 0xf052: Invalid space for <find_zone>
* Expression: $targetzone
[General] 81.39 ======================================
[General] 81.39 ======================================
[=ERROR=] 81.39 Error in AI script move.jump on entity 0xf052: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 81.39 ======================================
[General] 90.91 ======================================
[=ERROR=] 90.91 Error in AI script move.jump on entity 0x1256c: Invalid space for <find_zone>
* Expression: $targetzone
[General] 90.91 ======================================
[General] 90.91 ======================================
[=ERROR=] 90.91 Error in AI script move.jump on entity 0x1256c: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 90.91 ======================================
[General] 93.28 ======================================
[=ERROR=] 93.28 Error in AI script move.jump on entity 0xe574: Invalid space for <find_zone>
* Expression: $targetzone
[General] 93.28 ======================================
[General] 93.28 ======================================
[=ERROR=] 93.28 Error in AI script move.jump on entity 0xe574: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 93.28 ======================================
[General] 93.49 ======================================
[=ERROR=] 93.49 Error in AI script move.jump on entity 0x10a7d: Invalid space for <find_zone>
* Expression: $targetzone
[General] 93.49 ======================================
[General] 93.49 ======================================
[=ERROR=] 93.49 Error in AI script move.jump on entity 0x10a7d: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 93.49 ======================================
[General] 97.87 ======================================
[=ERROR=] 97.87 Error in AI script move.jump on entity 0xf028: Invalid space for <find_zone>
* Expression: $targetzone
[General] 97.87 ======================================
[General] 97.87 ======================================
[=ERROR=] 97.87 Error in AI script move.jump on entity 0xf028: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 97.87 ======================================
[General] 99.98 ======================================
[=ERROR=] 99.98 Error in AI script move.jump on entity 0xe5c2: Invalid space for <find_zone>
* Expression: $targetzone
[General] 99.98 ======================================
[General] 99.98 ======================================
[=ERROR=] 99.98 Error in AI script move.jump on entity 0xe5c2: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 99.98 ======================================
[General] 102.18 ======================================
[=ERROR=] 102.18 Error in AI script move.jump on entity 0xe54d: Invalid space for <find_zone>
* Expression: $targetzone
[General] 102.18 ======================================
[General] 102.18 ======================================
[=ERROR=] 102.18 Error in AI script move.jump on entity 0xe54d: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 102.18 ======================================
[General] 106.06 ======================================
[=ERROR=] 106.06 Error in AI script move.jump on entity 0x10067: Invalid space for <find_zone>
* Expression: $targetzone
[General] 106.06 ======================================
[General] 106.06 ======================================
[=ERROR=] 106.06 Error in AI script move.jump on entity 0x10067: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 106.06 ======================================
[General] 106.25 ======================================
[=ERROR=] 106.25 Error in AI script move.jump on entity 0x16d3e: Invalid space for <find_zone>
* Expression: $targetzone
[General] 106.25 ======================================
[General] 106.25 ======================================
[=ERROR=] 106.25 Error in AI script move.jump on entity 0x16d3e: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 106.25 ======================================
[General] 107.51 ======================================
[=ERROR=] 107.51 Error in AI script move.jump on entity 0xffe0: Invalid space for <find_zone>
* Expression: $targetzone
[General] 107.51 ======================================
[General] 107.51 ======================================
[=ERROR=] 107.51 Error in AI script move.jump on entity 0xffe0: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 107.51 ======================================
[General] 113.22 ======================================
[=ERROR=] 113.22 Error in AI script move.jump on entity 0xeda8: Invalid space for <find_zone>
* Expression: $targetzone
[General] 113.22 ======================================
[General] 113.22 ======================================
[=ERROR=] 113.22 Error in AI script move.jump on entity 0xeda8: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 113.22 ======================================
[General] 125.57 ======================================
[=ERROR=] 125.57 Error in AI script move.jump on entity 0x125e4: Invalid space for <find_zone>
* Expression: $targetzone
[General] 125.57 ======================================
[General] 125.57 ======================================
[=ERROR=] 125.57 Error in AI script move.jump on entity 0x125e4: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 125.57 ======================================
[General] 126.03 ======================================
[=ERROR=] 126.03 Error in AI script move.jump on entity 0x159a7: Invalid space for <find_zone>
* Expression: $targetzone
[General] 126.03 ======================================
[General] 126.03 ======================================
[=ERROR=] 126.03 Error in AI script move.jump on entity 0x159a7: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 126.03 ======================================
[General] 166.82 ======================================
[=ERROR=] 166.82 Error in AI script move.jump on entity 0x10103: Invalid space for <find_zone>
* Expression: $targetzone
[General] 166.82 ======================================
[General] 166.82 ======================================
[=ERROR=] 166.82 Error in AI script move.jump on entity 0x10103: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 166.82 ======================================
[General] 176.52 ======================================
[=ERROR=] 176.52 Error in AI script move.jump on entity 0x11a57: Invalid space for <find_zone>
* Expression: $targetzone
[General] 176.52 ======================================
[General] 176.52 ======================================
[=ERROR=] 176.52 Error in AI script move.jump on entity 0x11a57: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 176.52 ======================================
[General] 186.13 ======================================
[=ERROR=] 186.13 Error in AI script move.jump on entity 0x10c7e: Invalid space for <find_zone>
* Expression: $targetzone
[General] 186.13 ======================================
[General] 186.13 ======================================
[=ERROR=] 186.13 Error in AI script move.jump on entity 0x10c7e: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 186.13 ======================================
[General] 200.07 ======================================
[=ERROR=] 200.07 Error in AI script move.jump on entity 0xed81: Invalid space for <find_zone>
* Expression: $targetzone
[General] 200.07 ======================================
[General] 200.07 ======================================
[=ERROR=] 200.07 Error in AI script move.jump on entity 0xed81: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 200.07 ======================================
[General] 200.95 ======================================
[=ERROR=] 200.95 Error in AI script move.jump on entity 0xffb0: Invalid space for <find_zone>
* Expression: $targetzone
[General] 200.95 ======================================
[General] 200.95 ======================================
[=ERROR=] 200.95 Error in AI script move.jump on entity 0xffb0: Evaluated value 'null' is not of type component
* Expression: $beaconzone
[General] 200.95 ======================================
[General] 206.91 ======================================
[=ERROR=] 206.91 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\props\enginesystems\props_enginesystems_engine_m_sp_data\anim_engine_flame_distortion-lod0.xmf!
[General] 206.91 ======================================
[General] 206.91 ======================================
[=ERROR=] 206.91 AssetManager::GetAssetIntern() invalid handle(255:16777215)
[General] 206.91 ===
ne попробуй укоротить имя файла, это может помочь. Только не забудь его изменить во всех текстах.
К примеру :
Полный лог
https://drive.google.com/file/d/0B0UPtt ... sp=sharing
К примеру :
Code: Select all
anim_efdi-lod0.xmf
Code: Select all
[=ERROR=] 206.91 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\props\enginesystems\props_enginesystems_engine_m_sp_data\anim_engine_flame_distortion-lod0.xmf!
https://drive.google.com/file/d/0B0UPtt ... sp=sharing
This is the English forum, guys.
Have a great idea for the current or a future game? You can post it in the [L3+] Ideas forum.
X4 is a journey, not a destination. Have fun on your travels.
X4 is a journey, not a destination. Have fun on your travels.
No,
- I use Win 10 64 Bit
- GOG version of X-Rebirth (4.00)
Looks like I will have to disable all mods and have a look at it again.
I use CWIR (latest version) + Lost sectors MD addon on nexus CWIR page.
Will enable just your mod and see what happens.
Spaisibo for the quick response.
Indeed they do rotate. My mistake. Must have been tired.
- I use Win 10 64 Bit
- GOG version of X-Rebirth (4.00)
Looks like I will have to disable all mods and have a look at it again.
I use CWIR (latest version) + Lost sectors MD addon on nexus CWIR page.
Will enable just your mod and see what happens.
Spaisibo for the quick response.
Indeed they do rotate. My mistake. Must have been tired.
Code: Select all
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-111.902f' is not of type angle
* Expression: -111.902f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-36.5467f' is not of type angle
* Expression: -36.5467f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '15.2839f' is not of type angle
* Expression: 15.2839f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '66.2162f' is not of type angle
* Expression: 66.2162f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-51.4243f' is not of type angle
* Expression: -51.4243f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '83.5451f' is not of type angle
* Expression: 83.5451f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-110.387f' is not of type angle
* Expression: -110.387f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-55.1863f' is not of type angle
* Expression: -55.1863f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '38.8333f' is not of type angle
* Expression: 38.8333f
[General] 5.02 ======================================
[General] 197.19 ======================================
[=ERROR=] 197.19 LIBXML2: file:///extensions%2Flostsectors%2Fassets%2Funits%2Fsize_s%2Fmacros%2Funits_size_s_split_m8_macro?ext=xml%20xml.gz line 74, error 76: Opening and ending tag mismatch: connections line 25 and macro
connectionsmacro
[General] 197.19 ======================================
units_size_s_split_m8_macro
is not closed tag
Code: Select all
</connections>
Code: Select all
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_s_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_l_macro' in file 'index\macros'
in the file
PlacedObjects_LS.xml
Code: Select all
line 25
<!-- <rotation yaw="-111.90192" pitch="-36.54674" roll="15.2839"/> -->
line 35
<!-- <rotation yaw="66.21623" pitch="-51.42434" roll="83.54505"/> -->
line 45
<!-- <rotation yaw="-110.3866" pitch="-55.18633" roll="38.83332"/> -->
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-55.1863f' is not of type angle
* Expression: -55.1863f
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
lot of lod errors about the new ships
anyway, you should check your folder with something like FreeCommander(Portable), you can here bash rename all files and folder to lower chars
i can't say now exactly, but the programm sill find some big chars, maybe this procedure can solve some problems
Code: Select all
[General] 36201.86 ======================================
[=ERROR=] 36201.86 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\props\enginesystems\props_enginesystems_engine_m_sp_data\anim_engine_flame_distortion-lod0.xmf!
[General] 36201.86 ======================================
[General] 36239.06 ======================================
[=ERROR=] 36239.06 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\units\size_m\units_size_m_split_miner_bulk_data\part_front-lod2.xmf!
[General] 36239.06 ======================================
[General] 36239.06 ======================================
[=ERROR=] 36239.06 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\units\size_m\units_size_m_split_miner_bulk_data\part_gun-lod3.xmf!
[General] 36239.06 ======================================
[General] 36239.06 ======================================
[=ERROR=] 36239.06 [Mesh::Mesh] could not find a valid meshsource for mesh extensions\lostsectors\assets\units\size_m\units_size_m_split_ts_bulk_data\part_containers-lod3.xmf!
[General] 36239.06 ======================================
i can't say now exactly, but the programm sill find some big chars, maybe this procedure can solve some problems
Cheers KrYcHokE,
i think i might have something for you that let others integrate your Mod into existing Savegames.
start_Loststations.xml
This will check every Station in the Universe for existing control entities and, if needed, initiate all found Stations.
Credits to UniTrader for the help with that.
But one big Question... can someone translate this at last into english?
Regards and from the first impressions... the System and integration is awesome.
i think i might have something for you that let others integrate your Mod into existing Savegames.
start_Loststations.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Start_LostStations" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="Start_LostStations">
<conditions>
<event_game_loaded/>
</conditions>
<delay exact="1s"/>
<actions>
<find_station name="$allstations" multiple="true" space="player.galaxy"/>
<do_all exact="$allstations.count" counter="$i">
<set_value name="$controllable" exact="$allstations.{$i}"/>
<signal_objects param2="$allstations.{$i}" param="'init station'" object="player.galaxy"/>
<do_if value="$controllable.tradenpc.exists and $controllable.engineer.exists and $controllable.defencenpc.exists" negate="true">
<include_actions ref="md.InitUniverse.InitStationActions"/>
</do_if>
</do_all>
</actions>
</cue>
</cues>
</mdscript>
Credits to UniTrader for the help with that.
But one big Question... can someone translate this at last into english?
Regards and from the first impressions... the System and integration is awesome.
Alright,
i have spent some hours now in the Lost Sector and i MUST say... it is breath taking.
Beside the translation this is really quality work... much more quality than all my mods together.
If i could vote i would promote it for an official Expansion.
Regards and keep the quality.
edit:
I'm on a basic english translation at the moment... no guarantee for quality.
if some native english player wants to correct what i have translated feel free.
i will include a link as soon as i have finished the base stuff.
regards
edit²:
done, very basic translation... i bet there are lots of context errors but it is readable.
apologies for the raw link in advance
https://drive.google.com/file/d/0B2Fx_g ... sp=sharing
at the upper right corner should be the download button...
i have spent some hours now in the Lost Sector and i MUST say... it is breath taking.
Beside the translation this is really quality work... much more quality than all my mods together.
If i could vote i would promote it for an official Expansion.
Regards and keep the quality.
edit:
I'm on a basic english translation at the moment... no guarantee for quality.
if some native english player wants to correct what i have translated feel free.
i will include a link as soon as i have finished the base stuff.
regards
edit²:
done, very basic translation... i bet there are lots of context errors but it is readable.
apologies for the raw link in advance
https://drive.google.com/file/d/0B2Fx_g ... sp=sharing
at the upper right corner should be the download button...
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
i would suggest to use instead
because the include_actions and signal_objects code do the same
and Weaponplattforms doesn't have a tradenpc, so would processed senseless multiple times.
Also it would be good to skip some owner that will/should be not processed
AND delete your VARs after working would nice too, otherwise this will be in the savegame forever
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Start_LostStations" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="Start_LostStations">
<conditions>
<event_game_loaded/>
</conditions>
<delay exact="1s"/>
<actions>
<find_station name="$allstations" multiple="true" space="player.galaxy"/>
<do_all exact="$allstations.count" counter="$i">
<set_value name="$controllable" exact="$allstations.{$i}"/>
<do_if value="$controllable.owner.id" list=['player', 'ownerless']>
<continue />
</do_if>
<do_if value="$controllable.engineer.exists and $controllable.defencenpc.exists" negate="true">
<include_actions ref="md.InitUniverse.InitStationActions"/>
<!--signal_objects param2="$controllable" param="'init station'" object="player.galaxy"/-->
</do_if>
</do_all>
<remove_value name="$controllable"/>
<remove_value name="$allstations"/>
</actions>
</cue>
</cues>
</mdscript>
and Weaponplattforms doesn't have a tradenpc, so would processed senseless multiple times.
Also it would be good to skip some owner that will/should be not processed
AND delete your VARs after working would nice too, otherwise this will be in the savegame forever
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
the highway stations you can land on and the huge ad signs used to have a full crew of manager, engineer and defense officer...
i am not 100% sure but i might think that the 'init station' parameter only gives stations what they need to fully function.
at last it does in my CHT mod... and there i restrict it to only 3 station macros.
what we could do is to restrict the md only to the new system, sector in maelstrom and the station in fields of opportunity.
or we check... like in my code... every single station in the whole universe if they need the (vanilla) initialisation.
i am happy with any solution... because i am to greedy to start a new game for the mod
i am not 100% sure but i might think that the 'init station' parameter only gives stations what they need to fully function.
at last it does in my CHT mod... and there i restrict it to only 3 station macros.
what we could do is to restrict the md only to the new system, sector in maelstrom and the station in fields of opportunity.
or we check... like in my code... every single station in the whole universe if they need the (vanilla) initialisation.
i am happy with any solution... because i am to greedy to start a new game for the mod
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
signal_objects 'init station' is only a cue that runs the same include_actions then your code, but only for a single request and without further condition
the original code you postet did it simple twice
logical would be to run first include_actions and then check again for controlnpcs and in case nobody in restore hull and send the signal_objects (but that just for fun and shouldn't required ever)
the original code you postet did it simple twice
logical would be to run first include_actions and then check again for controlnpcs and in case nobody in restore hull and send the signal_objects (but that just for fun and shouldn't required ever)
okay... i did a quick edit in my CHT station init MD, changed some values and i got this.
what do you think? would this work as intended?
search all existing stations and if needed init the stations.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Start_LostStations" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="Start_LostStations">
<conditions>
<event_game_loaded/>
</conditions>
<delay exact="1s"/>
<actions>
<find_station name="$allstations" multiple="true" space="player.galaxy"/>
<do_all exact="$allstations.count" counter="$i">
<signal_objects param2="$allstations.{$i}" param="'init station'" object="player.galaxy"/>
</do_all>
<remove_value name="$allstations"/>
</actions>
</cue>
</cues>
</mdscript>
search all existing stations and if needed init the stations.
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
not good!
whats wrong with my code ?
https://forum.egosoft.com/viewtopic.php ... 55#4667255
now you produce a lot of overhead, because you process all running stations too
the use of include_actions is ok
anyway you could search stations of the new spaces only
and the reason why i'm not fan of your code is, about the lack of possibility to destroy stations, i use ownerless for "destroyed" stations without controlenties, so you will start abandoned stations again - so you "sabotage" game mechanics of other mods *virtual slap send to eMYNOCK*
whats wrong with my code ?
https://forum.egosoft.com/viewtopic.php ... 55#4667255
now you produce a lot of overhead, because you process all running stations too
the use of include_actions is ok
anyway you could search stations of the new spaces only
and the reason why i'm not fan of your code is, about the lack of possibility to destroy stations, i use ownerless for "destroyed" stations without controlenties, so you will start abandoned stations again - so you "sabotage" game mechanics of other mods *virtual slap send to eMYNOCK*