Rename Chernarus-specific files to just have a generic name. This makes things easier.

Update files from upstream: https://steamcommunity.com/workshop/filedetails/discussion/3115714092/4032475029247848861/
Update docs.
This commit is contained in:
Daniel Ceregatti 2023-12-21 20:13:40 -08:00
parent d1d3069500
commit 9ee8be4505
6 changed files with 111 additions and 112 deletions

View file

@ -0,0 +1,11 @@
# HypeTrain
## Install
5 files are required to run the mod. Three are map-specific and two are common to all maps. They are:
* `cfgeventgroups.xml` - This is map-specific. The one included in this repository is for ChernarusPlus.
* `cfgeventspawns.xml` - Same as above.
* 'cfgspawnabletypes.xml` - Common to all maps.
* 'events.xml` - Common to all maps.
* 'types.xml` - Common to all maps.

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<eventposdef>
<!-- HypeTrain -->
<event name="StaticHypeTrain">
<zone smin="0" smax="0" dmin="1" dmax="2" r="20" />
<event name="VehicleHypeTrain">
<zone smin="0" smax="0" dmin="0" dmax="0" r="20" />
<pos x="5587.466" z="2063.353" a="0" y="7.75" group="HypeTrain_Cherno"/>
<pos x="3678.228" z="2328.108" a="0" y="6.7" group="HypeTrain_Kamarovo"/>
<pos x="11254.230" z="3290.319" a="0" y="6.65" group="HypeTrain_Kamy"/>
@ -16,4 +16,5 @@
<pos x="673.779" z="8747.024" a="0" y="194.405" group="HypeTrain_Myshkino"/>
<pos x="3262.817" z="12430.286" a="0" y="219.495" group="HypeTrain_Petrovka"/>
</event>
<event name="StaticTrain"/>
</eventposdef>

View file

@ -3,266 +3,266 @@
<!-- HypeTrain -->
<type name="HypeTrain_742_Locomotive_Blue">
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<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="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<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="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<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="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<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="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<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="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.50" />
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="TruckBattery " chance="0.20" />
<item name="TruckBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.20" />
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="0.20" />
<item name="HypeTrain_742_Locomotive_EngineBelt" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="0.20" />
<item name="HypeTrain_742_Locomotive_ControlUnit" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_GlowPlug" chance="0.20" />
<item name="GlowPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="0.20" />
<item name="HypeTrain_742_Locomotive_CompressedAirHoses" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Large" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="0.15" />
<item name="HypeTrain_742_Locomotive_Glass_Small" chance="1.00" />
</attachments>
</type>
</spawnabletypes>

View file

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<events>
<!-- HypeTrain -->
<event name="StaticHypeTrain">
<nominal>3</nominal>
<min>1</min>
<max>5</max>
<lifetime>300</lifetime>
<event name="VehicleHypeTrain">
<nominal>1</nominal>
<min>0</min>
<max>0</max>
<lifetime>3888000</lifetime>
<restock>0</restock>
<saferadius>500</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<secondary>InfectedIndustrial</secondary>
<distanceradius>500</distanceradius>
<cleanupradius>200</cleanupradius>
<flags deletable="1" init_random="0" remove_damaged="0"/>
<position>fixed</position>
<limit>child</limit>

View file

@ -115,18 +115,6 @@
<category name="tools"/>
<usage name="Industrial"/>
</type>
<type name="HypeTrain_742_Locomotive_GlowPlug">
<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"/>
<usage name="Industrial"/>
</type>
<type name="HypeTrain_742_Locomotive_CompressedAirHoses">
<nominal>15</nominal>
<lifetime>14400</lifetime>
@ -183,7 +171,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorCap">
@ -194,7 +182,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorGloves">
@ -205,7 +193,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorSuit">
@ -216,7 +204,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorPants">
@ -227,7 +215,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorShoes">
@ -238,7 +226,7 @@
<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="1" deloot="0"/>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
</type>
<type name="HypeTrain_ConductorWhistle">