DayZ
HypeTrain
Covid-20 2024 年 1 月 27 日 上午 2:56
Namalsk .xml's
Shamelessly copying asorrycanadians post format, it was nice and clean.
Will update this thread as needed.

You need to be subscribed to this mod in order for the train tracks to work!!
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3116103277

Step 1: Types



Add this to your types.xml:
<type name="HypeTrain_742_Locomotive_Blue"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_DarkBlue_Yellow"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_IceBlue"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_Yellow_Blue_White"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_Red"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_Red_Olive"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Wagon_Box"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Wagon_Tank"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Wagon_Flat"> <nominal>0</nominal> <lifetime>3888000</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_EngineBelt"> <nominal>4</nominal> <lifetime>14400</lifetime> <restock>1800</restock> <min>2</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="tools"/> <value user="Tier234" /> <tag name="Industrial"/> </type> <type name="HypeTrain_742_Locomotive_ControlUnit"> <nominal>5</nominal> <lifetime>14400</lifetime> <restock>1800</restock> <min>2</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="tools"/> <value user="Tier234" /> <tag name="Industrial"/> </type> <type name="HypeTrain_742_Locomotive_CompressedAirHoses"> <nominal>4</nominal> <lifetime>14400</lifetime> <restock>1800</restock> <min>2</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="tools"/> <value user="Tier234" /> <tag name="Industrial"/> </type> <type name="HypeTrain_742_Locomotive_WindscreenBox"> <nominal>1</nominal> <lifetime>14400</lifetime> <restock>1800</restock> <min>1</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="tools"/> <value user="Tier234" /> <tag name="Industrial"/> </type> <type name="HypeTrain_742_Locomotive_Glass_Large"> <nominal>0</nominal> <lifetime>14400</lifetime> <restock>0</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type> <type name="HypeTrain_742_Locomotive_Glass_Small"> <nominal>0</nominal> <lifetime>14400</lifetime> <restock>0</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> </type>
最后由 Covid-20 编辑于; 2024 年 2 月 13 日 上午 10:55
< >
正在显示第 1 - 10 条,共 10 条留言
Covid-20 2024 年 1 月 27 日 上午 3:01 
Step 2: Spawnable Types


Assuming you want to have a chance of train spawning with some parts, add/tweak this to your cfgspawnabletypes.xml (mine is already tweaked to my liking):
<type name="HypeTrain_742_Locomotive_Blue"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_DarkBlue_Yellow"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_IceBlue"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_Yellow_Blue_White"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_Red"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_Red_Olive"> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="0.30"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="CarRadiator" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="GlowPlug" chance="1.00" /> </attachments> <attachments chance="0.40"> <item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_WindscreenBox"> <damage min="0.0" max="0.0" /> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" /> </attachments> </type> <type name="HypeTrain_742_Locomotive_EngineBelt"> <damage min="0.0" max="0.0" /> </type> <type name="HypeTrain_742_Locomotive_ControlUnit"> <damage min="0.0" max="0.0" /> </type> <type name="HypeTrain_742_Locomotive_CompressedAirHoses"> <damage min="0.0" max="0.0" /> </type> <type name="HypeTrain_742_Locomotive_Glass_Large"> <damage min="0.0" max="0.0" /> </type> <type name="HypeTrain_742_Locomotive_Glass_Small"> <damage min="0.0" max="0.0" /> </type>
最后由 Covid-20 编辑于; 2024 年 2 月 13 日 上午 10:50
Covid-20 2024 年 1 月 27 日 上午 3:06 
Step 3: Event


Add these 2 events to your events.xml(i have made 2 separate events for trains and wagons):
<event name="VehicleHypeTrain"> <nominal>1</nominal> <min>1</min> <max>1</max> <lifetime>3888000</lifetime> <restock>0</restock> <saferadius>500</saferadius> <distanceradius>500</distanceradius> <cleanupradius>200</cleanupradius> <flags deletable="0" init_random="0" remove_damaged="1" sec_spawner="0"/> <position>fixed</position> <limit>mixed</limit> <active>1</active> <children> <child lootmax="0" lootmin="0" max="1" min="1" type="HypeTrain_742_Locomotive_IceBlue"/> </children> </event> <event name="StaticHypeWagons"> <nominal>2</nominal> <min>1</min> <max>0</max> <lifetime>3888000</lifetime> <restock>0</restock> <saferadius>500</saferadius> <distanceradius>500</distanceradius> <cleanupradius>200</cleanupradius> <flags deletable="0" init_random="0" remove_damaged="1"/> <position>fixed</position> <limit>child</limit> <active>1</active> <children/> </event>

Step 4: Event Spawns


Add these 2 events spawns to your cfgeventspawns.xml:
<!-- Trains--> <event name="VehicleHypeTrain"> <!-- Sebjan Factory -88.7558 --> <pos x="5771.66," z="8742.06" a="0" /> <!-- Sebjan Mine --> <pos x="4630.93" z="8006.05" a="0" /> <!-- Brensk Bridge --> <pos x="4816.78" z="6232.43" a="0" /> <!-- Tara Harbor --> <pos x="7638.15" z="7447.05" a="0" /> <!-- Tunnel --> <pos x="3618.13" y="41.7098" z="6476.1" a="0" /> <!-- Abandoned --> <pos x="6166.66" y="40.5389" z="5864.77" a="0" /> </event> <!-- Trainwagons--> <event name="StaticHypeWagons"> <zone smin="0" smax="0" dmin="1" dmax="2" r="20" /> <!-- Tara Harbor --> <pos x="7652.69677734375" z="7449.31396484375" a="0" y="40.57263946533203" group="Tara_Harbor"/> <!-- Sebjan Factory --> <pos x="5853.03125" z="8739.7490234375" a="0" y="50.694942474365234" group="Sebjan_Factory"/> <!-- Sebjan Mine --> <pos x="4915.5107421875" z="8002.97509765625" a="0" y="51.415977478027344" group="Sebjan_Mine"/> <!-- Sebjan Mine 2 --> <pos x="4660.41650390625" z="7999.595703125" a="0" y="50.755435943603516" group="Sebjan_Mine2"/> <!-- Brensk Bridge --> <pos x="4827.236328125" z="6254.5810546875" a="0" y="42.159610748291016" group="Brensk_Bridge"/> </event>
Covid-20 2024 年 1 月 27 日 上午 3:10 
Step 5: Event Groups


Add these event groups to your cfgeventgroups.xml (it should already by empty in this xml on namalsk):
<!-- HypeTrain --> <group name="Tara_Harbor"> <child type="HypeTrain_742_Wagon_Flat" deloot="0" lootmax="0" lootmin="0" x="0" z="0" a="313.189510345459" y="0"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="-10.61767578125" z="10.37109375" a="313.18877029418945" y="0.4245948791503906"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="-19.18310546875" z="18.8759765625" a="313.2015075683594" y="0.7506828308105469"/> </group> <group name="Brensk_Bridge"> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" x="0" z="0" a="359.66795387864113" y="0"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="-0.4111328125" z="-12.44287109375" a="359.85115042328835" y="0.000019073486328125"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="-0.21484375" z="-24.64599609375" a="359.6666403412819" y="0.2563438415527344"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="-0.2421875" z="-37.0478515625" a="359.7442851662636" y="-0.0000152587890625"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-1.201171875" z="-51.98193359375" a="359.74331882596016" y="-1.1041984558105469"/> </group> <group name="Sebjan_Mine"> <child type="HypeTrain_742_Wagon_Tank" deloot="0" lootmax="0" lootmin="0" x="0" z="0" a="89.00840759277344" y="0"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="11.68115234375" z="-0.630859375" a="277.6821975708008" y="-0.000011444091796875"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="23.640625" z="0.45849609375" a="89.07250213623047" y="-0.000026702880859375"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="242.51953125" z="43.892578125" a="46.0850944519043" y="-1.4920425415039062"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="234.916015625" z="33.58642578125" a="50.493038177490234" y="-1.4055938720703125"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="226.18701171875" z="23.9794921875" a="56.93452072143555" y="-1.3927688598632812"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="216.0673828125" z="16.111328125" a="60.650978088378906" y="-1.2722206115722656"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="205.5634765625" z="8.66943359375" a="68.32052612304688" y="-1.1320114135742188"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="194.12744140625" z="3.52685546875" a="74.74151611328125" y="-0.5219841003417969"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="245.64501953125" z="38.84423828125" a="39.79164505004883" y="-1.8738594055175781"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="234.6806640625" z="24.4267578125" a="48.2502326965332" y="-1.8004837036132812"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="220.98828125" z="12.63916015625" a="60.288978576660156" y="-1.6958198547363281"/> </group> <group name="Sebjan_Mine2"> <child type="HypeTrain_742_Wagon_Flat" deloot="0" lootmax="0" lootmin="0" x="0" z="0" a="89.1281509399414" y="0"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="15.4609375" z="-0.69140625" a="89.14942169189453" y="0.6605339050292969"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="27.90380859375" z="0" a="88.20160675048828" y="0.4041709899902344"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="43.57080078125" z="0.62744140625" a="87.84370422363281" y="0.00002288818359375"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="211.66162109375" z="9.8369140625" a="89.1535873413086" y="0.000019073486328125"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="193.212890625" z="9.025390625" a="89.1281509399414" y="0.00000762939453125"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="178.060546875" z="9.15087890625" a="89.12805938720703" y="0.6605339050292969"/> </group> <group name="Sebjan_Factory"> <child type="HypeTrain_742_Wagon_Tank" deloot="0" lootmax="0" lootmin="0" x="0" z="0" a="271.7610855102539" y="0"/> <child type="HypeTrain_742_Wagon_Tank" spawnsecondary="false" x="-11.40380859375" z="0.125" a="271.76963806152344" y="1.2804145812988281"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-26.12744140625" z="1.7724609375" a="271.76696014404297" y="0.5866050720214844"/> <child type="HypeTrain_742_Wagon_Box" deloot="0" lootmax="3" lootmin="2" spawnsecondary="false" x="-41.20361328125" z="1.486328125" a="271.70243072509766" y="1.0254249572753906"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-64.890625" z="-11.71484375" a="271.5726013183594" y="0.6405220031738281"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-82.43505859375" z="-11.5166015625" a="271.45238494873047" y="0.679168701171875"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-99.984375" z="-11.1708984375" a="271.45238494873047" y="0.528656005859375"/> <child type="HypeTrain_742_Wagon_Flat" spawnsecondary="false" x="-117.5654296875" z="-10.849609375" a="271.44309997558594" y="0.5289230346679688"/> </group>
最后由 Covid-20 编辑于; 2024 年 1 月 27 日 上午 3:11
Covid-20 2024 年 1 月 27 日 上午 3:16 
Step 6: Loot Cleanup (removing floating lootspawns)


Remove this from your mapgrouppos.xml
<group name="Land_Container_1Aoh" pos="7637.378906 43.100346 7464.073730" rpy="-0.000000 0.000000 -46.325310" a="136.325302" />
<group name="Land_Container_1Aoh" pos="7623.572266 43.099186 7476.962891" rpy="-0.000000 0.000000 -48.301910" a="138.301910" />
<group name="Land_Container_1Bo" pos="4653.424805 52.744102 8006.370605" rpy="-0.104210 -0.035649 -90.767403" a="-179.232590" />
<group name="Land_Container_1Aoh" pos="4674.345215 52.713745 8006.790527" rpy="-0.000000 0.000000 -91.248177" a="-178.751816" />
<group name="Land_Container_1Aoh" pos="5771.398926 53.322487 8728.384766" rpy="-0.005837 -0.242200 -88.619415" a="178.619415" />
最后由 Covid-20 编辑于; 2024 年 1 月 27 日 上午 3:25
Covid-20 2024 年 1 月 27 日 上午 3:22 
Step 7 (OPTIONAL): Removing/Adding loot locations for train wagons


Remove this group from your mapgrouproto.xml
<group name="Land_Train_Wagon_Box" lootmax="4"> <container name="Floor" lootmax="4"> <category name="tools" /> <category name="containers" /> <category name="clothes" /> <category name="bags" /> <tag name="civilian" /> <tag name="industrial" /> <point pos="-4.931519 -0.538329 -0.572572" range="0.469421" height="1.173553" /> <point pos="-4.837402 -0.538328 0.515502" range="0.517517" height="1.293793" /> <point pos="4.379333 -0.538212 0.028381" range="1.000854" height="2.000001" /> <point pos="2.127014 -0.538240 -0.032044" range="1.009949" height="2.000000" /> <point pos="-3.277954 -0.538309 -0.019715" range="1.022278" height="2.000000" /> <point pos="-0.711975 -0.538277 -0.019775" range="1.096191" height="2.000000" /> </container> </group>

Then add this group instead:
<group name="HypeTrain_742_Wagon_Box" lootmax="4"> <container name="Floor" lootmax="4"> <category name="tools" /> <category name="containers" /> <category name="clothes" /> <category name="bags" /> <tag name="civilian" /> <tag name="industrial" /> <point pos="-4.931519 -0.538329 -0.572572" range="0.469421" height="1.173553" /> <point pos="-4.837402 -0.538328 0.515502" range="0.517517" height="1.293793" /> <point pos="4.379333 -0.538212 0.028381" range="1.000854" height="2.000001" /> <point pos="2.127014 -0.538240 -0.032044" range="1.009949" height="2.000000" /> <point pos="-3.277954 -0.538309 -0.019715" range="1.022278" height="2.000000" /> <point pos="-0.711975 -0.538277 -0.019775" range="1.096191" height="2.000000" /> </container> </group>
Covid-20 2024 年 1 月 27 日 上午 3:38 
Known issues


1. Loot spawns under the wagons rather than inside. Unsure why atm.
2. Server can crash in rare instances, the culprit is the HypeTrain Namalsk mod. If you are flying fast around using the camera and are loading in/teleporting to certain objects (more specifically the hypetrain rail objects) around the map then the server will freeze and crash. Iv only had this crash happen twice after 50+ attempts to recreate it. Players will just disconnect.
最后由 Covid-20 编辑于; 2024 年 1 月 27 日 上午 4:25
Roger 2024 年 2 月 8 日 上午 4:11 
Nice! THX
asorrycanadian 2024 年 2 月 9 日 上午 12:07 
very well made post, that's an award from me chief :^)
Covid-20 2024 年 2 月 13 日 上午 10:54 
Updates


* Added Windscreenbox to cfgspawnabletypes.xml (Boxes were spawning without glass panels)
* Added Glass panel large and small to types.xml (Glass panels were despawning from trains when attached)
Deku 4 月 20 日 上午 1:43 
Awesome! thank you for the guide. I got it working on Jungle Namalsk (Namalsk 2150 by LXD)
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50