New boxes for Repair Kit & teleporter
modified entities.def
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 12 KiB |
BIN
baseq3r/models/powerups/holdable/envmapmedkit.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
baseq3r/models/powerups/holdable/envmapteleporter.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
baseq3r/models/powerups/holdable/medkit-glow.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
baseq3r/models/powerups/holdable/medkit.tga
Normal file
BIN
baseq3r/models/powerups/holdable/medkit_box.tga
Normal file
After Width: | Height: | Size: 1 MiB |
BIN
baseq3r/models/powerups/holdable/medkitfluid.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
baseq3r/models/powerups/holdable/teleporter-glow.jpg
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
baseq3r/models/powerups/holdable/teleporter.tga
Normal file
BIN
baseq3r/models/powerups/holdable/teleporter_box.tga
Normal file
After Width: | Height: | Size: 1 MiB |
BIN
baseq3r/models/powerups/holdable/teleporterfluid.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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).
|
||||
|
|