deathmatch: override item respawn time
This commit is contained in:
parent
3924d63fcc
commit
cfebb870a2
5 changed files with 33 additions and 2 deletions
28
.forgejo/workflows/pk3.yaml
Normal file
28
.forgejo/workflows/pk3.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: pk4
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
repository: vera/nuclide
|
||||
ref: Develop
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
ref: Develop
|
||||
path: "./${{ github.event.repository.name }}"
|
||||
|
||||
- name: assemble pk4
|
||||
run: make dist-pak NAME=bin GAME=${{ github.event.repository.name }}
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: pkg-lists
|
||||
path: build/bin-content/${{ github.event.repository.name }}/*.pk4
|
2
PAK_NAME
2
PAK_NAME
|
@ -1 +1 @@
|
|||
package_valve.pk3
|
||||
package_valve.pk4
|
||||
|
|
BIN
img/rt.png
BIN
img/rt.png
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 4.9 KiB |
|
@ -5,5 +5,5 @@
|
|||
#define MODEL_PREVIEW
|
||||
|
||||
#includelist
|
||||
../../../src/menu-vgui/includes.src
|
||||
../../../src/menu-fn/includes.src
|
||||
#endlist
|
||||
|
|
|
@ -62,6 +62,9 @@ CodeCallback_StartGameType(void)
|
|||
game.SetSpawnPoint("info_player_deathmatch");
|
||||
}
|
||||
|
||||
for (entity s = world; (s = ents.NextItem(s));) {
|
||||
ents.Input(s, "SetRespawnTime", "30.0f", world);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue