From 6b329db11fe1163ed58a6931abfdcc379de489f6 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Fri, 3 Nov 2023 17:08:00 -0700 Subject: [PATCH] Remove files that used an old way of doing things, and replace it with a placeholder for the new way. --- files/mods/2684950452/cfgenvironment.xml | 131 -- files/mods/2684950452/cfgenvironment.xml.orig | 131 -- files/mods/2684950452/events.xml | 1160 ----------------- files/mods/2684950452/events.xml.orig | 1160 ----------------- files/mods/2684950452/install.sh | 24 - .../mods/2684950452/rap2and3_territories.xml | 612 --------- files/mods/2684950452/uninstall.sh | 1 - files/mods/2684950452/xml.env | 5 + 8 files changed, 5 insertions(+), 3219 deletions(-) delete mode 100644 files/mods/2684950452/cfgenvironment.xml delete mode 100644 files/mods/2684950452/cfgenvironment.xml.orig delete mode 100644 files/mods/2684950452/events.xml delete mode 100644 files/mods/2684950452/events.xml.orig delete mode 100755 files/mods/2684950452/install.sh delete mode 100644 files/mods/2684950452/rap2and3_territories.xml delete mode 120000 files/mods/2684950452/uninstall.sh create mode 100644 files/mods/2684950452/xml.env diff --git a/files/mods/2684950452/cfgenvironment.xml b/files/mods/2684950452/cfgenvironment.xml deleted file mode 100644 index 5433a12..0000000 --- a/files/mods/2684950452/cfgenvironment.xml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/2684950452/cfgenvironment.xml.orig b/files/mods/2684950452/cfgenvironment.xml.orig deleted file mode 100644 index 5433a12..0000000 --- a/files/mods/2684950452/cfgenvironment.xml.orig +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/2684950452/events.xml b/files/mods/2684950452/events.xml deleted file mode 100644 index 54197d7..0000000 --- a/files/mods/2684950452/events.xml +++ /dev/null @@ -1,1160 +0,0 @@ - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - 3 - 0 - 50 - 33 - 15 - 40 - 0 - 0 - - fixed - mixed - 1 - - - - - - - - - 0 - 2 - 2 - 180 - 0 - 200 - 0 - 0 - - fixed - custom - 1 - - - - - - 7 - 2 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - - - - - 9 - 2 - 4 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 8 - 1 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - - - 6 - 1 - 2 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - 10 - 2 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 5 - 4 - 5 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 7 - 1 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - 8 - 4 - 6 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - 50 - 40 - 50 - 7200 - 0 - 250 - 20 - 100 - - fixed - mixed - 1 - - - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 50 - - fixed - custom - 1 - - - - 20 - 0 - 0 - 86400 - 0 - 100 - 5 - 2500 - InfectedFirefighter - - fixed - child - 0 - - - - - - 13 - 0 - 0 - 43200 - 0 - 1000 - 1000 - 1000 - - uniform - child - 0 - - - - - - 0 - 2 - 4 - 2100 - 0 - 0 - 120 - 0 - - fixed - parent - 1 - - - - - - 0 - 0 - 0 - 0 - 0 - 500 - 500 - 0 - - fixed - mixed - 0 - - - - 3 - 0 - 0 - 2100 - 0 - 1000 - 1000 - 1000 - InfectedArmy - - fixed - child - 1 - - - - - - - 10 - 0 - 0 - 2500 - 0 - 500 - 500 - 200 - InfectedPoliceHard - - fixed - child - 1 - - - - - - - 3 - 0 - 0 - 2100 - 0 - 1000 - 1000 - 1000 - InfectedSanta - - fixed - child - 0 - - - - - - 3 - 1 - 0 - 5400 - 0 - 500 - 1000 - 1000 - InfectedIndustrial - - fixed - child - 1 - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 0 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 0 - - - - - - 100 - 1 - 2 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - diff --git a/files/mods/2684950452/events.xml.orig b/files/mods/2684950452/events.xml.orig deleted file mode 100644 index 54197d7..0000000 --- a/files/mods/2684950452/events.xml.orig +++ /dev/null @@ -1,1160 +0,0 @@ - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 20 - 20 - 20 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - - 40 - 40 - 40 - 180 - 0 - 40 - 0 - 0 - - fixed - custom - 1 - - - - - - 3 - 0 - 50 - 33 - 15 - 40 - 0 - 0 - - fixed - mixed - 1 - - - - - - - - - 0 - 2 - 2 - 180 - 0 - 200 - 0 - 0 - - fixed - custom - 1 - - - - - - 7 - 2 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - - - - - 9 - 2 - 4 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 8 - 1 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - - - 6 - 1 - 2 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - 10 - 2 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 5 - 4 - 5 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 7 - 1 - 3 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - 8 - 4 - 6 - 180 - 0 - 200 - 0 - 0 - - fixed - child - 1 - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 250 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 50 - 25 - 100 - 3 - 0 - 100 - 50 - 100 - - player - custom - 1 - - - - - - - - - - - - - 50 - 40 - 50 - 7200 - 0 - 250 - 20 - 100 - - fixed - mixed - 1 - - - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 50 - - fixed - custom - 1 - - - - 20 - 0 - 0 - 86400 - 0 - 100 - 5 - 2500 - InfectedFirefighter - - fixed - child - 0 - - - - - - 13 - 0 - 0 - 43200 - 0 - 1000 - 1000 - 1000 - - uniform - child - 0 - - - - - - 0 - 2 - 4 - 2100 - 0 - 0 - 120 - 0 - - fixed - parent - 1 - - - - - - 0 - 0 - 0 - 0 - 0 - 500 - 500 - 0 - - fixed - mixed - 0 - - - - 3 - 0 - 0 - 2100 - 0 - 1000 - 1000 - 1000 - InfectedArmy - - fixed - child - 1 - - - - - - - 10 - 0 - 0 - 2500 - 0 - 500 - 500 - 200 - InfectedPoliceHard - - fixed - child - 1 - - - - - - - 3 - 0 - 0 - 2100 - 0 - 1000 - 1000 - 1000 - InfectedSanta - - fixed - child - 0 - - - - - - 3 - 1 - 0 - 5400 - 0 - 500 - 1000 - 1000 - InfectedIndustrial - - fixed - child - 1 - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 0 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 140 - 2 - 4 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 0 - - - - - - 100 - 1 - 2 - 180 - 0 - 25 - 100 - 25 - - player - mixed - 1 - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - - 8 - 5 - 11 - 300 - 0 - 500 - 500 - 200 - - fixed - mixed - 1 - - - - - - - diff --git a/files/mods/2684950452/install.sh b/files/mods/2684950452/install.sh deleted file mode 100755 index 32ce2bd..0000000 --- a/files/mods/2684950452/install.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -set -eE - -cd "$(dirname ${0})" - -D="${HOME}/serverfiles/mpmissions/dayzOffline.chernarusplus" - -echo -if echo ${0} | grep -q "uninstall.sh" -then - echo "Restoring original files and deleting extra file..." - echo - cp -v cfgenvironment.xml.orig ${D}/cfgenvironment.xml - cp -v events.xml.orig ${D}/db/events.xml - rm -fv ${D}/env/rap2and3_territories.xml -else - echo "Copying modified files to server missions directory..." - echo - cp -v cfgenvironment.xml ${D}/ - cp -v events.xml ${D}/db/ - cp -v rap2and3_territories.xml ${D}/env/ -fi -echo diff --git a/files/mods/2684950452/rap2and3_territories.xml b/files/mods/2684950452/rap2and3_territories.xml deleted file mode 100644 index 0af95f6..0000000 --- a/files/mods/2684950452/rap2and3_territories.xml +++ /dev/null @@ -1,612 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/2684950452/uninstall.sh b/files/mods/2684950452/uninstall.sh deleted file mode 120000 index 61e71e2..0000000 --- a/files/mods/2684950452/uninstall.sh +++ /dev/null @@ -1 +0,0 @@ -install.sh \ No newline at end of file diff --git a/files/mods/2684950452/xml.env b/files/mods/2684950452/xml.env new file mode 100644 index 0000000..2d97b61 --- /dev/null +++ b/files/mods/2684950452/xml.env @@ -0,0 +1,5 @@ +CFGENVIRONMENT=./cfgenvironment.xml +CFGSPAWNABLETYPES=./spawnabletypes.xml +CFGEVENTSPAWNS=./cfgeventspawns.xml +EVENTS=./events.xml +TYPES=./types.xml