[MOD] X Rebirth Lost Sectors v1.5.0

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

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

Post Reply
SiD_azer
Posts: 56
Joined: Thu, 28. Apr 16, 13:31
x4

Post by SiD_azer » Tue, 18. Apr 17, 18:51

ok with two stars 1, 2, and gaian mods also

SiD_azer
Posts: 56
Joined: Thu, 28. Apr 16, 13:31
x4

Post by SiD_azer » Fri, 21. Apr 17, 12:54

so far so good with the path you sent me, maybe time for a new release ? :)

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Post by KrYcHokE » Fri, 21. Apr 17, 19:54

Before i shoul fix some log errors :)

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Fri, 21. Apr 17, 20:28

Create one file without patches. There will be no confusion. :)

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Post by KrYcHokE » Fri, 21. Apr 17, 21:39

С моим интернетом накладно все ассеты перезаливать каждый раз, в версии 1.3 перепакую все.

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Fri, 21. Apr 17, 22:57

Вот в шапку добавь - 1.25

https://yadi.sk/d/2ZDicXyA32SipE

Я на сайте обновляю , так что это постоянная ссылка .

http://apocalypse.moy.su/forum/180-896- ... 1476608196

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Post by KrYcHokE » Fri, 21. Apr 17, 23:46

Добавил

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Fri, 28. Apr 17, 14:40

Обновил архив.

Лог ошибок 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 ===

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Fri, 28. Apr 17, 14:42

ne попробуй укоротить имя файла, это может помочь. Только не забудь его изменить во всех текстах.

К примеру :

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

Nanook
Moderator (English)
Moderator (English)
Posts: 27865
Joined: Thu, 15. May 03, 20:57
x4

Post by Nanook » Fri, 28. Apr 17, 19:13

This is the English forum, guys. :wink:
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.

dertien
Posts: 274
Joined: Tue, 22. Feb 05, 13:27
x2

Post by dertien » Sun, 30. Apr 17, 00:21

Great mod.

Is there a way to make the rings rotate on the XL ship Dispater?

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Post by KrYcHokE » Sun, 30. Apr 17, 01:09

It animated, you use linux?

dertien
Posts: 274
Joined: Tue, 22. Feb 05, 13:27
x2

Post by dertien » Sun, 30. Apr 17, 13:33

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.

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Thu, 25. May 17, 09:53

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 ======================================

the file

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
not needed

User avatar
Marvin Martian
Posts: 3547
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian » Thu, 25. May 17, 17:47

lot of lod errors about the new ships

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 ======================================
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

User avatar
eMYNOCK
Moderator (DevNet)
Moderator (DevNet)
Posts: 2060
Joined: Thu, 21. Aug 03, 10:37
x4

Post by eMYNOCK » Tue, 11. Jul 17, 23:07

Cheers KrYcHokE,

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>
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.

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Post by KrYcHokE » Wed, 12. Jul 17, 00:45

Wow, thanks. I include it in next update. Also i see for some script for station replace/respawn.

About translation, I only can place an ad who wants to translate this.

User avatar
eMYNOCK
Moderator (DevNet)
Moderator (DevNet)
Posts: 2060
Joined: Thu, 21. Aug 03, 10:37
x4

Post by eMYNOCK » Wed, 12. Jul 17, 03:12

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...

User avatar
Marvin Martian
Posts: 3547
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian » Wed, 12. Jul 17, 08:08

i would suggest to use instead

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> 
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

User avatar
eMYNOCK
Moderator (DevNet)
Moderator (DevNet)
Posts: 2060
Joined: Thu, 21. Aug 03, 10:37
x4

Post by eMYNOCK » Wed, 12. Jul 17, 08:58

Hmm... yes.

This code looks more reasonable than mine.

But why does Weaponplatforms do not have a TradeNPC (Manager i think)?

I believe without that NPC the DO will not be able to restock Ammunition correctly....

Post Reply

Return to “X Rebirth - Scripts and Modding”