deathmatch: override item respawn time

This commit is contained in:
Marco Cawthorne 2025-02-11 01:43:08 -08:00
parent 3924d63fcc
commit cfebb870a2
5 changed files with 33 additions and 2 deletions

View 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

View file

@ -1 +1 @@
package_valve.pk3
package_valve.pk4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -5,5 +5,5 @@
#define MODEL_PREVIEW
#includelist
../../../src/menu-vgui/includes.src
../../../src/menu-fn/includes.src
#endlist

View file

@ -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