-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
615 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: CustomPrecache | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '.github/workflows/CustomPrecache.yml' | ||
- 'build/resources/CustomPrecache.json' | ||
- 'scripts/mikk/*' | ||
- 'scripts/plugins/mikk/CustomPrecache.*' | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Installing Python | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Release | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: python3 build/run.py CustomPrecache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"Include": | ||
[ | ||
"json" | ||
], | ||
"Resources": | ||
[ | ||
"scripts/plugins/mikk/CustomPrecache.as", | ||
"scripts/plugins/mikk/CustomPrecache.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<title>Sven Co-op</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="../../styles.css"> | ||
<script src="../../scripts.js"></script> | ||
</head> | ||
|
||
<body> | ||
<a href="../../"><img class="img-banner" src="../../media/svencoop.png" alt="Sven Co-op"></a> | ||
<div class="block"> | ||
<br> | ||
<div class="neon-text"> | ||
CustomPrecache<br><br> | ||
Precache assets always and dynamically<br><br> | ||
</div> | ||
<br> | ||
</div> | ||
<br> | ||
<br> | ||
<div class="block"> | ||
<br> | ||
<div class="neon-text"> | ||
Configure the json file.<br><br> | ||
<div style="text-align: left;padding-left: 1%;"><br> | ||
|
||
<button onclick="toggleTable('json_1')">"PrecacheModel"</button> | ||
<div id="json_1" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Type: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of models (.mdl and .spr)</button><br> | ||
<button class="json-string" onclick="toggleTable('json_1a')">"Always Precache"</button><br> | ||
<div id="json_1a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be always precached no mather what</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_1b')">"Dynamic Precache"</button><br> | ||
<div id="json_1b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be precached dynamically by turns each time the map is changed</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_1c')">"Dynamic Assets"</button><br> | ||
<div id="json_1c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">Amount of assets to precache for each map</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_2')">"PrecacheGeneric"</button> | ||
<div id="json_2" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Type: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of any other type of assets</button><br> | ||
<button class="json-string" onclick="toggleTable('json_2a')">"Always Precache"</button><br> | ||
<div id="json_2a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be always precached no mather what</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_2b')">"Dynamic Precache"</button><br> | ||
<div id="json_2b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be precached dynamically by turns each time the map is changed</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_2c')">"Dynamic Assets"</button><br> | ||
<div id="json_2c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">Amount of assets to precache for each map</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_3')">"PrecacheSound"</button> | ||
<div id="json_3" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Type: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of sounds (sound/*)</button><br> | ||
<button class="json-string" onclick="toggleTable('json_3a')">"Always Precache"</button><br> | ||
<div id="json_3a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be always precached no mather what</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_3b')">"Dynamic Precache"</button><br> | ||
<div id="json_3b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of assets to precache, These will be precached dynamically by turns each time the map is changed</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_3c')">"Dynamic Assets"</button><br> | ||
<div id="json_3c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Type: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">Amount of assets to precache for each map</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_4')">"PrecacheOther"</button> | ||
<div id="json_4" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Type: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Description: </button><button class="json-description2">List of entities (classname)</button><br> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br><br> | ||
<div class="block"><a href="https://github.com/Mikk155/Sven-Co-op/releases/tag/CustomPrecache" target="_blank">Download</a><br></div><br> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<title>Sven Co-op</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="../../styles.css"> | ||
<script src="../../scripts.js"></script> | ||
</head> | ||
|
||
<body> | ||
<a href="../../"><img class="img-banner" src="../../media/svencoop.png" alt="Sven Co-op"></a> | ||
<div class="block"> | ||
<br> | ||
<div class="neon-text"> | ||
CustomPrecache<br><br> | ||
Precacha contenido siempre o de forma dinamica<br><br> | ||
</div> | ||
<br> | ||
</div> | ||
<br> | ||
<br> | ||
<div class="block"> | ||
<br> | ||
<div class="neon-text"> | ||
Configure el archivo json.<br><br> | ||
<div style="text-align: left;padding-left: 1%;"><br> | ||
|
||
<button onclick="toggleTable('json_1')">"PrecacheModel"</button> | ||
<div id="json_1" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Tipo: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de modelos (.mdl y .spr)</button><br> | ||
<button class="json-string" onclick="toggleTable('json_1a')">"Always Precache"</button><br> | ||
<div id="json_1a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados siempre sin importar que</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_1b')">"Dynamic Precache"</button><br> | ||
<div id="json_1b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados dinamica mente por turnos cada vez que el mapa sea cambiado</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_1c')">"Dynamic Assets"</button><br> | ||
<div id="json_1c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Cantidad de archivos a precachar por cada mapa</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_2')">"PrecacheGeneric"</button> | ||
<div id="json_2" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Tipo: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de cualquier otro tipo de archivos</button><br> | ||
<button class="json-string" onclick="toggleTable('json_2a')">"Always Precache"</button><br> | ||
<div id="json_2a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados siempre sin importar que</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_2b')">"Dynamic Precache"</button><br> | ||
<div id="json_2b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados dinamica mente por turnos cada vez que el mapa sea cambiado</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_2c')">"Dynamic Assets"</button><br> | ||
<div id="json_2c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Cantidad de archivos a precachar por cada mapa</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_3')">"PrecacheSound"</button> | ||
<div id="json_3" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Tipo: </button><button class="json-dictionary">dictionary</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de sonidos (sound*/)</button><br> | ||
<button class="json-string" onclick="toggleTable('json_3a')">"Always Precache"</button><br> | ||
<div id="json_3a" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados siempre sin importar que</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_3b')">"Dynamic Precache"</button><br> | ||
<div id="json_3b" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de archivos para precachar, Estos van a ser precachados dinamica mente por turnos cada vez que el mapa sea cambiado</button><br> | ||
</div> | ||
<button class="json-string" onclick="toggleTable('json_3c')">"Dynamic Assets"</button><br> | ||
<div id="json_3c" class="hidden" style="padding-left: 3%;"> | ||
<button class="json-description">Tipo: </button><button class="json-integer">integer</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Cantidad de archivos a precachar por cada mapa</button><br> | ||
</div> | ||
</div> | ||
<br> | ||
<button onclick="toggleTable('json_4')">"PrecacheOther"</button> | ||
<div id="json_4" class="hidden" style="padding-left: 2%;"> | ||
<button class="json-description">Tipo: </button><button class="json-array">array</button><br> | ||
<button class="json-description">Descripción: </button><button class="json-description2">Lista de entidades (classname)</button><br> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br><br> | ||
<div class="block"><a href="https://github.com/Mikk155/Sven-Co-op/releases/tag/CustomPrecache" target="_blank">Descargar</a><br></div><br> | ||
</body> | ||
</html> |
Oops, something went wrong.