New boxes for Repair Kit & teleporter

modified entities.def
This commit is contained in:
perle 2024-08-27 22:19:28 +02:00
parent 4a34cece82
commit a6261c295a
18 changed files with 65 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,8 +1,69 @@
// powerups
//
// holdable
//
models/powerups/holdable/medkit_box
{
{
map models/powerups/holdable/envmapmedkit.tga
rgbGen identity
tcMod rotate 12
tcMod turb 0 0.5 0 0.5
tcMod scroll 1 0.5
}
{
map models/powerups/holdable/medkitfluid.tga
blendfunc add
rgbGen identity
tcMod scroll 0.5 0
tcGen environment
}
{
map models/powerups/holdable/medkit_box.tga
blendfunc blend
rgbGen lightingDiffuse
}
{
map models/powerups/holdable/medkit-glow.tga
blendfunc gl_one_minus_dst_color gl_src_alpha
rgbGen wave noise 0 1 0 5
}
}
models/powerups/holdable/teleporter_box
{
{
map models/powerups/holdable/envmapteleporter.tga
rgbGen identity
tcMod rotate 12
tcMod turb 0 0.5 0 0.5
tcMod scroll 1 0.5
}
{
map models/powerups/holdable/teleporterfluid.tga
blendfunc add
rgbGen identity
tcMod scroll 0.5 0
tcGen environment
}
{
map models/powerups/holdable/teleporter_box.tga
blendfunc blend
rgbGen lightingDiffuse
}
{
map models/powerups/holdable/teleporter-glow.tga
blendfunc gl_one_minus_dst_color gl_src_alpha
rgbGen wave noise 0 1 0 5
}
}
//
// ammo
//
models/powerups/ammo/bfgammo_new
{
{
@ -356,4 +417,4 @@ models/powerups/ammo/flameammo2
rgbGen identity
}
}
}

View file

@ -653,7 +653,7 @@ gitem_t bg_itemlist[] =
"models/powerups/holdable/medkit_sphere.md3",
NULL, NULL},
/* icon */ "icons/medkit",
/* pickup */ "Medkit",
/* pickup */ "Repair Kit",
60,
IT_HOLDABLE,
HI_MEDKIT,

View file

@ -611,8 +611,8 @@ HOLDABLE_* ENTITIES
//=============================================================================
/*QUAKED holdable_medkit (.7 0 1) (-16 -16 -16) (16 16 16) SUSPENDED
Medkit that can be picked up and used later. Brings the player's health back to 100 when used. Player can only carry one holdable item at a time.
/*QUAKED repair_kit (.7 0 1) (-16 -16 -16) (16 16 16) SUSPENDED
Repair Kit that can be picked up and used later. Brings the player's health up to 125 when used. Player can only carry one holdable item at a time.
-------- KEYS --------
wait : time in seconds before item respawns after being picked up (default 60, -1 = never respawn).
random : random time variance in seconds added or subtracted from "wait" delay (default 0 - see Notes).