season_halloween: Are we done?
This commit is contained in:
parent
3e03eec402
commit
853d09eeb0
@ -0,0 +1,5 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models/models_kit/hallo_pumpkin"
|
||||||
|
"$surfaceprop" "watermelon"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models/models_kit/hallo_pumpkin_skin2"
|
||||||
|
"$surfaceprop" "plastic"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/player/microsoft/skeleton/skull1"
|
||||||
|
"$surfaceprop" "flesh"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/player/microsoft/skeleton/skull2"
|
||||||
|
"$surfaceprop" "flesh"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/player/microsoft/skeleton/skull3"
|
||||||
|
"$surfaceprop" "flesh"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/player/techknow/grimreaper/grim"
|
||||||
|
"$nocull" 1
|
||||||
|
"$bumpmap" "models\player\techknow\grimreaper\grim_n"
|
||||||
|
"$alphatest" 1
|
||||||
|
"$halflambert" 1
|
||||||
|
//"$envmap" "env_cubemap"
|
||||||
|
"$envmaptint" "[ .36 .36 .30 ]"
|
||||||
|
"$envmapconstrast" "1"
|
||||||
|
"$normalmapalphaenvmapmask" 1
|
||||||
|
"$surfaceprop" "flesh"
|
||||||
|
"$model" "1"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/player/techknow/grimreaper/grim2"
|
||||||
|
//"$nocull" 1
|
||||||
|
"$bumpmap" "models\player\techknow\grimreaper\grim2_n"
|
||||||
|
"$halflambert" 1
|
||||||
|
"$envmap" "env_cubemap"
|
||||||
|
"$envmaptint" "[ .36 .36 .30 ]"
|
||||||
|
"$envmapconstrast" "1"
|
||||||
|
"$normalmapalphaenvmapmask" 1
|
||||||
|
"$surfaceprop" "flesh"
|
||||||
|
"$model" "1"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,68 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\ghost\scary_ghost"
|
||||||
|
"$detail" "models\syoudous\spooky\misc\fireLayeredSlowTiled512.vtf"
|
||||||
|
"$detailscale" "3"
|
||||||
|
"$detailblendfactor" 2
|
||||||
|
"$detailblendmode" 1
|
||||||
|
// "$color2" "[0 0 12]"
|
||||||
|
|
||||||
|
"$bumpmap" "dev/bump_normal"
|
||||||
|
"$nocull" "1"
|
||||||
|
|
||||||
|
"$selfillum" "1"
|
||||||
|
"$selfillumtint" "[.1 .7 12]"
|
||||||
|
"$selfIllumFresnel" "1"
|
||||||
|
"$selfIllumFresnelMinMaxExp" "[2 1 .1]"
|
||||||
|
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "1"
|
||||||
|
"$phongboost" "1"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$phongfresnelranges" "[0 0 20]"
|
||||||
|
// "$basealphaenvmapmask" "1"
|
||||||
|
|
||||||
|
|
||||||
|
// "$basemapalphaphongmask" "1"
|
||||||
|
// "$envmap" "effects/cubemapper"
|
||||||
|
// "$envmapcontrast" 1
|
||||||
|
// "$envmaptint" "[0.0 2.0 2.5]"
|
||||||
|
|
||||||
|
|
||||||
|
"$rimlight" "1"
|
||||||
|
"$rimlightexponent" "1"
|
||||||
|
"$rimlightboost" "95"
|
||||||
|
|
||||||
|
"Proxies"
|
||||||
|
{
|
||||||
|
"AnimatedTexture"
|
||||||
|
{
|
||||||
|
"animatedtexturevar" "$detail"
|
||||||
|
"animatedtextureframenumvar" "$detailframe"
|
||||||
|
"animatedtextureframerate" 24
|
||||||
|
}
|
||||||
|
"Sine"
|
||||||
|
{
|
||||||
|
"sinemin" ".2"
|
||||||
|
"sinemax" ".6"
|
||||||
|
"sineperiod" "1"
|
||||||
|
"resultVar" "$selfillumtint[1]"
|
||||||
|
}
|
||||||
|
"Sine"
|
||||||
|
{
|
||||||
|
"sinemin" ".5"
|
||||||
|
"sinemax" ".2"
|
||||||
|
"sineperiod" "1.1"
|
||||||
|
"resultVar" "$selfillumtint[0]"
|
||||||
|
}
|
||||||
|
"TextureScroll"
|
||||||
|
{
|
||||||
|
"texturescrollvar" "$detailtexturetransform"
|
||||||
|
"texturescrollrate" -.08
|
||||||
|
"texturescrollangle" 45
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models/syoudous/spooky/pumpkin/hallo_pumpkin"
|
||||||
|
"$surfaceprop" "watermelon"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/syoudous/spooky/pumpkin/hallo_pumpkin_dim"
|
||||||
|
"$translucent" "1"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/syoudous/spooky/pumpkin/hallo_pumpkin_lit"
|
||||||
|
"$additive" "1"
|
||||||
|
"$nocull" "1"
|
||||||
|
"$selfillum" "1"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"vertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models/syoudous/spooky/pumpkin/hallo_pumpkin_skin2"
|
||||||
|
"$surfaceprop" "plastic"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,33 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\pumpkin\pumpkin"
|
||||||
|
"$bumpmap" "dev/bump_normal"
|
||||||
|
|
||||||
|
"$detail" "models\syoudous\spooky\misc\pumpkin_detail"
|
||||||
|
"$detailscale" "1"
|
||||||
|
"$detailblendfactor" 1
|
||||||
|
"$detailblendmode" 5
|
||||||
|
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "3"
|
||||||
|
"$phongboost" ".25"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$phongfresnelranges" "[2 0 2]"
|
||||||
|
"$basemapalphaphongmask" "1"
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
"$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
"$rimlightexponent" "2" // Exponent for phong component of rim lighting
|
||||||
|
"$rimlightboost" "1"
|
||||||
|
|
||||||
|
"Proxies"
|
||||||
|
{
|
||||||
|
"Sine"
|
||||||
|
{
|
||||||
|
"sinemax" "1"
|
||||||
|
"sinemin" ".25"
|
||||||
|
"sineperiod" ".5"
|
||||||
|
"resultvar" "$detailblendfactor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,22 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\skull\eye_patch01"
|
||||||
|
|
||||||
|
//"$selfillumtint" "[0.3 0.4 1]"
|
||||||
|
//"$selfIllum" "1"
|
||||||
|
|
||||||
|
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "20"
|
||||||
|
"$phongboost" "18"
|
||||||
|
"$phongfresnelranges" "[.05 .05 8]"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$halflambert" "0"
|
||||||
|
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
"$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
"$rimlightexponent" "2" // Exponent for phong component of rim lighting
|
||||||
|
"$rimlightboost" ".8"
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\skull\mvm_human_skull"
|
||||||
|
|
||||||
|
"$basemapalphaphongmask" "1"
|
||||||
|
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "5"
|
||||||
|
"$phongboost" "1"
|
||||||
|
"$phongfresnelranges" "[.2 1 4]"
|
||||||
|
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
|
||||||
|
"$rimlight" "0"
|
||||||
|
"$rimlightexponent" "4"
|
||||||
|
"$rimlightboost" "1"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\skull\skull"
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "10"
|
||||||
|
"$phongboost" "0.08"
|
||||||
|
"$phongfresnelranges" "[.1 1 1]"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$halflambert" "0"
|
||||||
|
"$model" 1
|
||||||
|
// "$selfillum" 1
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
// "$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
// "$rimlightexponent" "1" // Exponent for phong component of rim lighting
|
||||||
|
// "$rimlightboost" "3"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\skull\skull_horns"
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "10"
|
||||||
|
"$phongboost" "0.08"
|
||||||
|
"$phongfresnelranges" "[.1 1 1]"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$halflambert" "0"
|
||||||
|
"$model" 1
|
||||||
|
// "$selfillum" 1
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
// "$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
// "$rimlightexponent" "1" // Exponent for phong component of rim lighting
|
||||||
|
// "$rimlightboost" "3"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
"VertexlitGeneric"
|
||||||
|
{
|
||||||
|
"$baseTexture" "models\syoudous\spooky\skull\skull_island01"
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "10"
|
||||||
|
"$phongboost" "0.8"
|
||||||
|
"$phongfresnelranges" "[.1 1 1]"
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
"$halflambert" "0"
|
||||||
|
$model 1
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
"$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
"$rimlightexponent" "1" // Exponent for phong component of rim lighting
|
||||||
|
"$rimlightboost" "3"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models\syoudous\spooky\skull\skull_island_skullhat"
|
||||||
|
// "$basemapalphaphongmask" 1
|
||||||
|
|
||||||
|
"$phong" "1"
|
||||||
|
"$phongexponent" "180"
|
||||||
|
"$phongboost" "4"
|
||||||
|
"$phongfresnelranges" "[1 2 4]"
|
||||||
|
|
||||||
|
"$lightwarptexture" "models\syoudous\spooky\misc\cheap_lightwarp"
|
||||||
|
|
||||||
|
|
||||||
|
"$halflambert" "0"
|
||||||
|
|
||||||
|
// Rim lighting parameters
|
||||||
|
"$rimlight" "1" // To enable rim lighting (requires phong)
|
||||||
|
"$rimlightexponent" "4" // Exponent for phong component of rim lighting
|
||||||
|
"$rimlightboost" "2" // Boost for ambient cube component of rim lighting
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/unloze/cute_skeleton/skull1"
|
||||||
|
"$surfaceprop" "rock"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/unloze/cute_skeleton/skull2"
|
||||||
|
"$surfaceprop" "rock"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
"VertexLitGeneric"
|
||||||
|
{
|
||||||
|
"$basetexture" "models/unloze/cute_skeleton/skull3"
|
||||||
|
"$surfaceprop" "rock"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.mdl
Normal file
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.mdl
Normal file
Binary file not shown.
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.phy
Normal file
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.phy
Normal file
Binary file not shown.
Binary file not shown.
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.vvd
Normal file
BIN
season_halloween/content/models/models_kit/hallo_pumpkin_l.vvd
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
season_halloween/content/models/player/microsoft/skeleton.mdl
Normal file
BIN
season_halloween/content/models/player/microsoft/skeleton.mdl
Normal file
Binary file not shown.
BIN
season_halloween/content/models/player/microsoft/skeleton.phy
Normal file
BIN
season_halloween/content/models/player/microsoft/skeleton.phy
Normal file
Binary file not shown.
BIN
season_halloween/content/models/player/microsoft/skeleton.sw.vtx
Normal file
BIN
season_halloween/content/models/player/microsoft/skeleton.sw.vtx
Normal file
Binary file not shown.
BIN
season_halloween/content/models/player/microsoft/skeleton.vvd
Normal file
BIN
season_halloween/content/models/player/microsoft/skeleton.vvd
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
season_halloween/content/models/syoudous/spooky/ghost_no_hat.mdl
Normal file
BIN
season_halloween/content/models/syoudous/spooky/ghost_no_hat.mdl
Normal file
Binary file not shown.
BIN
season_halloween/content/models/syoudous/spooky/ghost_no_hat.vvd
Normal file
BIN
season_halloween/content/models/syoudous/spooky/ghost_no_hat.vvd
Normal file
Binary file not shown.
BIN
season_halloween/content/models/unloze/cute_skeleton.dx80.vtx
Normal file
BIN
season_halloween/content/models/unloze/cute_skeleton.dx80.vtx
Normal file
Binary file not shown.
BIN
season_halloween/content/models/unloze/cute_skeleton.dx90.vtx
Normal file
BIN
season_halloween/content/models/unloze/cute_skeleton.dx90.vtx
Normal file
Binary file not shown.
BIN
season_halloween/content/models/unloze/cute_skeleton.mdl
Normal file
BIN
season_halloween/content/models/unloze/cute_skeleton.mdl
Normal file
Binary file not shown.
BIN
season_halloween/content/models/unloze/cute_skeleton.sw.vtx
Normal file
BIN
season_halloween/content/models/unloze/cute_skeleton.sw.vtx
Normal file
Binary file not shown.
BIN
season_halloween/content/models/unloze/cute_skeleton.vvd
Normal file
BIN
season_halloween/content/models/unloze/cute_skeleton.vvd
Normal file
Binary file not shown.
@ -82,159 +82,136 @@ public void OnPluginStart()
|
|||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
public void OnMapStart()
|
public void OnMapStart()
|
||||||
{
|
{
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.phy");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.sw.vtx");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.vvd");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.mdl");
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.dx80.vtx");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.phy");
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.dx90.vtx");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.sw.vtx");
|
||||||
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.mdl");
|
AddFileToDownloadsTable("models/player/techknow/thorn/thorn.vvd");
|
||||||
AddFileToDownloadsTable("materials/models/player/stenli/smite/fenrir/body.vmt");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/body.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/stenli/smite/fenrir/body.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/body.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/stenli/smite/fenrir/body_n.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/body_n.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/stenli/smite/fenrir/body_s.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/cape.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/stenli/smite/fenrir/lights.vmt");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/collers.vmt");
|
||||||
PrecacheModel("models/player/stenli/smite/fenrir.mdl");
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/head.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/head.vtf");
|
||||||
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/head_n.vtf");
|
||||||
|
AddFileToDownloadsTable("materials/models/player/techknow/thorn/headlight.vmt");
|
||||||
|
PrecacheModel("models/player/techknow/thorn/thorn.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.vvd");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.dx80.vtx");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.dx90.vtx");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.mdl");
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.mdl");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.phy");
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.phy");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.sw.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36lollipop/lolli_new.sw.vtx");
|
AddFileToDownloadsTable("models/player/techknow/grimreaper/grim.vvd");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_skin_d_cos11.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_skin_n_cos11.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/hat.vmt");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim_n.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/hat.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim2.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/hat_n.vtf");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim2.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_cloth.vmt");
|
AddFileToDownloadsTable("materials/models/player/techknow/grimreaper/grim2_n.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_cloth.vtf");
|
PrecacheModel("models/player/techknow/grimreaper/grim.mdl");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_cloth_n.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_hair_d_cos11.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_hair_d_cos11.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_hair_n_cos11.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36lollipop/tx_ch_main_juliet_skin_d_cos11.vmt");
|
|
||||||
PrecacheModel("models/player/vad36lollipop/lolli_new.mdl");
|
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.dx80.vtx");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.dx90.vtx");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.mdl");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.mdl");
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.phy");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.phy");
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.sw.vtx");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.sw.vtx");
|
||||||
AddFileToDownloadsTable("models/player/vad36santa/red.vvd");
|
AddFileToDownloadsTable("models/player/microsoft/skeleton.vvd");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36santa/Santa_N.vtf");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull1.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36santa/Santa_D.vmt");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull1.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36santa/Santa_D.vtf");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull2.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36santa/Santa_D_B.vmt");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull2.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/player/vad36santa/Santa_D_B.vtf");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull3.vmt");
|
||||||
PrecacheModel("models/player/vad36santa/red.mdl");
|
AddFileToDownloadsTable("materials/models/player/microsoft/skeleton/skull3.vtf");
|
||||||
|
PrecacheModel("models/player/microsoft/skeleton.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.dx80.vtx");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.dx90.vtx");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.mdl");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.mdl");
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.phy");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.phy");
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.sw.vtx");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.sw.vtx");
|
||||||
AddFileToDownloadsTable("models/zombieden/xmas/giftbox.vvd");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.vvd");
|
||||||
AddFileToDownloadsTable("materials/models/zombieden/xmas/gift.vmt");
|
AddFileToDownloadsTable("models/models_kit/hallo_pumpkin_l.xbox.vtx");
|
||||||
AddFileToDownloadsTable("materials/models/zombieden/xmas/gift.vtf");
|
AddFileToDownloadsTable("materials/models/models_kit/hallo_pumpkin.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/zombieden/xmas/gift_2.vmt");
|
AddFileToDownloadsTable("materials/models/models_kit/hallo_pumpkin.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/zombieden/xmas/gift_2.vtf");
|
AddFileToDownloadsTable("materials/models/models_kit/hallo_pumpkin_skin2.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/zombieden/xmas/gift_lightwarp.vtf");
|
AddFileToDownloadsTable("materials/models/models_kit/hallo_pumpkin_skin2.vtf");
|
||||||
PrecacheModel("models/zombieden/xmas/giftbox.mdl");
|
PrecacheModel("models/models_kit/hallo_pumpkin_l.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.dx80.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_01.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.dx90.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_01.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.mdl");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_01.mdl");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.phy");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_01.vvd");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.sw.vtx");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin.vmt");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmastree_mini.vvd");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca.vmt");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_dim.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_dim.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca_skin2.vmt");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_lit.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca_skin2.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_lit.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb.vmt");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_skin2.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/hallo_pumpkin_skin2.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_skin2.vmt");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/pumpkin.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_skin2.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/pumpkin/pumpkin.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_spec.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/misc/cheap_lightwarp.vtf");
|
||||||
PrecacheModel("models/models_kit/xmas/xmastree_mini.mdl");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/misc/firelayeredslowtiled512.vtf");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/misc/pumpkin_detail.vtf");
|
||||||
|
PrecacheModel("models/hh2015/escalados/jackolantern_01.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.dx80.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_02.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.dx90.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_02.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.mdl");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_02.mdl");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.phy");
|
AddFileToDownloadsTable("models/hh2015/escalados/jackolantern_02.vvd");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.sw.vtx");
|
PrecacheModel("models/hh2015/escalados/jackolantern_02.mdl");
|
||||||
AddFileToDownloadsTable("models/models_kit/xmas/xmas_teddybear.vvd");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca_skin2.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_misca_skin2.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_skin2.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_skin2.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/models_kit/xmas/xmastree_miscb_spec.vtf");
|
|
||||||
PrecacheModel("models/models_kit/xmas/xmas_teddybear.mdl");
|
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.dx80.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island_horns.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.dx90.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island_horns.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.mdl");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island_horns.mdl");
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.phy");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island_horns.vvd");
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.sw.vtx");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/eye_patch01.vmt");
|
||||||
AddFileToDownloadsTable("models/weapons/w_revenge_xmas_candy.vvd");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/eye_patch01.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/xmas_candy/cane.vmt");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/mvm_human_skull.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/xmas_candy/cane.vtf");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/mvm_human_skull.vtf");
|
||||||
PrecacheModel("models/weapons/w_revenge_xmas_candy.mdl");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull.vtf");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_horns.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_horns.vtf");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_island_skullhat.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_island_skullhat.vtft");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_island01.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/skull/skull_island01.vtf");
|
||||||
|
PrecacheModel("models/hh2015/escalados/skull_island_horns.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.dx80.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island01.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.dx90.vtx");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island01.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.mdl");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island01.mdl");
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.phy");
|
AddFileToDownloadsTable("models/hh2015/escalados/skull_island01.vvd");
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.sw.vtx");
|
PrecacheModel("models/hh2015/escalados/skull_island01.mdl");
|
||||||
AddFileToDownloadsTable("models/johny-srka/snowman.vvd");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/black_felt.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/black_felt.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/fabricpatterns0017_m.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/fabricpatterns0017_m.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/snowfloor002a.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/snowfloor002a.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/wood_old.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/johny-srka/wood_old.vtf");
|
|
||||||
PrecacheModel("models/johny-srka/snowman.mdl");
|
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.dx80.vtx");
|
AddFileToDownloadsTable("models/syoudous/spooky/ghost_no_hat.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.dx90.vtx");
|
AddFileToDownloadsTable("models/syoudous/spooky/ghost_no_hat.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.mdl");
|
AddFileToDownloadsTable("models/syoudous/spooky/ghost_no_hat.mdl");
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.phy");
|
AddFileToDownloadsTable("models/syoudous/spooky/ghost_no_hat.vvd");
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.sw.vtx");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/ghost/scary_ghost.vmt");
|
||||||
AddFileToDownloadsTable("models/weapons/w_snowball_thrown.vvd");
|
AddFileToDownloadsTable("materials/models/syoudous/spooky/ghost/scary_ghost.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/snooball/s.vmt");
|
PrecacheModel("models/syoudous/spooky/ghost_no_hat.mdl");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/snooball/s.vtf");
|
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/snooball/s_norm.vtf");
|
|
||||||
PrecacheModel("models/weapons/w_snowball_thrown.mdl");
|
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.dx80.vtx");
|
AddFileToDownloadsTable("models/unloze/cute_skeleton.dx80.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.dx90.vtx");
|
AddFileToDownloadsTable("models/unloze/cute_skeleton.dx90.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.mdl");
|
AddFileToDownloadsTable("models/unloze/cute_skeleton.mdl");
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.phy");
|
AddFileToDownloadsTable("models/unloze/cute_skeleton.sw.vtx");
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.sw.vtx");
|
AddFileToDownloadsTable("models/unloze/cute_skeleton.vvd");
|
||||||
AddFileToDownloadsTable("models/weapons/w_ornament_thrown.vvd");
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull1.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/ornament/ornament.vmt");
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull1.vtf");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/ornament/ornament.vtf");
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull2.vmt");
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/ornament/reflect.vtf");
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull2.vtf");
|
||||||
PrecacheModel("models/weapons/w_ornament_thrown.mdl");
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull3.vmt");
|
||||||
|
AddFileToDownloadsTable("materials/models/unloze/cute_skeleton/skull3.vtf");
|
||||||
|
PrecacheModel("models/unloze/cute_skeleton.mdl");
|
||||||
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.dx80.vtx");
|
AddFileToDownloadsTable("sound/unl1/season/witch.wav");
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.dx90.vtx");
|
PrecacheSound("sound/unl1/season/witch.wav");
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.mdl");
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.phy");
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.sw.vtx");
|
|
||||||
AddFileToDownloadsTable("models/weapons/w_santa_hat_thrown.vvd");
|
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/eq_fraggrenade/bonnet.vmt");
|
|
||||||
AddFileToDownloadsTable("materials/models/weapons/v_models/eq_fraggrenade/bonnet.vtf");
|
|
||||||
PrecacheModel("models/weapons/w_santa_hat_thrown.mdl");
|
|
||||||
|
|
||||||
AddFileToDownloadsTable("sound/unl1/season/hohohoho.wav");
|
|
||||||
PrecacheSound("sound/unl1/season/hohohoho.wav");
|
|
||||||
|
|
||||||
float fRandomInterval = GetRandomFloat(GetConVarFloat(g_hCVar_RandomIntervalMin), GetConVarFloat(g_hCVar_RandomIntervalMax));
|
float fRandomInterval = GetRandomFloat(GetConVarFloat(g_hCVar_RandomIntervalMin), GetConVarFloat(g_hCVar_RandomIntervalMax));
|
||||||
CreateTimer(fRandomInterval, SpawnCollectable, INVALID_HANDLE, TIMER_FLAG_NO_MAPCHANGE);
|
CreateTimer(fRandomInterval, SpawnCollectable, INVALID_HANDLE, TIMER_FLAG_NO_MAPCHANGE);
|
||||||
@ -478,6 +455,7 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
|
|
||||||
int iTarget = GetTargetClient();
|
int iTarget = GetTargetClient();
|
||||||
float fOrigin[3];
|
float fOrigin[3];
|
||||||
|
float fTempOrigin[3];
|
||||||
GetClientAbsOrigin(iTarget, fOrigin);
|
GetClientAbsOrigin(iTarget, fOrigin);
|
||||||
|
|
||||||
// Rotating
|
// Rotating
|
||||||
@ -495,8 +473,8 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
// Model
|
// Model
|
||||||
int iModel = CreateEntityAtOrigin("prop_dynamic_override", fOrigin);
|
int iModel = CreateEntityAtOrigin("prop_dynamic_override", fOrigin);
|
||||||
DispatchKeyFormat(iModel, "targetname", "season_prop_%d", g_iCounter);
|
DispatchKeyFormat(iModel, "targetname", "season_prop_%d", g_iCounter);
|
||||||
DispatchKeyFormat(iModel, "model", "models/zombieden/xmas/giftbox.mdl");
|
DispatchKeyFormat(iModel, "model", "models/models_kit/hallo_pumpkin_l.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "0.8");
|
DispatchKeyFormat(iModel, "modelscale", "1.0");
|
||||||
DispatchKeyFormat(iModel, "disablebonefollowers", "1");
|
DispatchKeyFormat(iModel, "disablebonefollowers", "1");
|
||||||
SpawnAndActivate(iModel);
|
SpawnAndActivate(iModel);
|
||||||
ParentToEntity(iModel, iRotating);
|
ParentToEntity(iModel, iRotating);
|
||||||
@ -510,7 +488,10 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
|
|
||||||
|
|
||||||
// Particle
|
// Particle
|
||||||
int iParticle = CreateEntityAtOrigin("info_particle_system", fOrigin);
|
fTempOrigin[0] = fOrigin[0];
|
||||||
|
fTempOrigin[1] = fOrigin[1];
|
||||||
|
fTempOrigin[2] = fOrigin[2] - 10.0;
|
||||||
|
int iParticle = CreateEntityAtOrigin("info_particle_system", fTempOrigin);
|
||||||
DispatchKeyFormat(iParticle, "targetname", "season_particle_%d", g_iCounter);
|
DispatchKeyFormat(iParticle, "targetname", "season_particle_%d", g_iCounter);
|
||||||
DispatchKeyFormat(iParticle, "effect_name", "achieved");
|
DispatchKeyFormat(iParticle, "effect_name", "achieved");
|
||||||
SpawnAndActivate(iParticle);
|
SpawnAndActivate(iParticle);
|
||||||
@ -538,7 +519,7 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
DispatchKeyFormat(iSound, "targetname", "season_sound_%d", g_iCounter);
|
DispatchKeyFormat(iSound, "targetname", "season_sound_%d", g_iCounter);
|
||||||
DispatchKeyFormat(iSound, "spawnflags", "49");
|
DispatchKeyFormat(iSound, "spawnflags", "49");
|
||||||
DispatchKeyFormat(iSound, "radius", "2000");
|
DispatchKeyFormat(iSound, "radius", "2000");
|
||||||
DispatchKeyFormat(iSound, "message", "unl1/season/hohohoho.wav");
|
DispatchKeyFormat(iSound, "message", "unl1/season/witch.wav");
|
||||||
DispatchKeyFormat(iSound, "volume", "10");
|
DispatchKeyFormat(iSound, "volume", "10");
|
||||||
DispatchKeyFormat(iSound, "health", "10");
|
DispatchKeyFormat(iSound, "health", "10");
|
||||||
DispatchKeyFormat(iSound, "pitch", "100");
|
DispatchKeyFormat(iSound, "pitch", "100");
|
||||||
@ -550,8 +531,8 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
// Hitbox
|
// Hitbox
|
||||||
int iHitbox = CreateEntityAtOrigin("func_physbox_multiplayer", fOrigin);
|
int iHitbox = CreateEntityAtOrigin("func_physbox_multiplayer", fOrigin);
|
||||||
DispatchKeyFormat(iHitbox, "targetname", "season_hitbox_%d", g_iCounter);
|
DispatchKeyFormat(iHitbox, "targetname", "season_hitbox_%d", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "model", "models/zombieden/xmas/giftbox.mdl");
|
DispatchKeyFormat(iHitbox, "model", "models/models_kit/hallo_pumpkin_l.mdl");
|
||||||
DispatchKeyFormat(iHitbox, "modelscale", "0.8");
|
DispatchKeyFormat(iHitbox, "modelscale", "1.0");
|
||||||
DispatchKeyFormat(iHitbox, "disableshadows", "1");
|
DispatchKeyFormat(iHitbox, "disableshadows", "1");
|
||||||
DispatchKeyFormat(iHitbox, "disablereceiveshadows", "1");
|
DispatchKeyFormat(iHitbox, "disablereceiveshadows", "1");
|
||||||
DispatchKeyFormat(iHitbox, "DisableBoneFollowers", "1");
|
DispatchKeyFormat(iHitbox, "DisableBoneFollowers", "1");
|
||||||
@ -562,12 +543,12 @@ public Action SpawnCollectable(Handle timer)
|
|||||||
DispatchKeyFormat(iHitbox, "physdamagescale", "1.0");
|
DispatchKeyFormat(iHitbox, "physdamagescale", "1.0");
|
||||||
DispatchKeyFormat(iHitbox, "OnBreak", "season_rotating_%d,KillHierarchy,,2.5,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnBreak", "season_rotating_%d,KillHierarchy,,2.5,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnBreak", "season_particle_%d,Start,,0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnBreak", "season_particle_%d,Start,,0,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnBreak", "season_sound_%d,Start,PlaySound,,0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnBreak", "season_sound_%d,PlaySound,,0,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnBreak", "season_sound_%d,Start,Kill,,2.4,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnBreak", "season_sound_%d,Kill,,2.4,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnUser1", "season_rotating_%d,KillHierarchy,,59.0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnUser1", "season_rotating_%d,KillHierarchy,,59.0,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnUser1", "season_sound_%d,Start,Kill,,59.0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnUser1", "season_sound_%d,Kill,,59.0,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnUser2", "season_rotating_%d,KillHierarchy,,0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnUser2", "season_rotating_%d,KillHierarchy,,0,1", g_iCounter);
|
||||||
DispatchKeyFormat(iHitbox, "OnUser2", "season_sound_%d,Start,Kill,,0,1", g_iCounter);
|
DispatchKeyFormat(iHitbox, "OnUser2", "season_sound_%d,Kill,,0,1", g_iCounter);
|
||||||
SpawnAndActivate(iHitbox);
|
SpawnAndActivate(iHitbox);
|
||||||
ParentToEntity(iHitbox, iRotating);
|
ParentToEntity(iHitbox, iRotating);
|
||||||
|
|
||||||
@ -702,9 +683,10 @@ public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, boo
|
|||||||
int iRotating = CreateEntityAtOrigin("func_rotating", fInfectionOrigin);
|
int iRotating = CreateEntityAtOrigin("func_rotating", fInfectionOrigin);
|
||||||
DispatchKeyFormat(iRotating, "targetname", "season_infection_rotating_%d", g_iCounter);
|
DispatchKeyFormat(iRotating, "targetname", "season_infection_rotating_%d", g_iCounter);
|
||||||
DispatchKeyFormat(iRotating, "maxspeed", "13");
|
DispatchKeyFormat(iRotating, "maxspeed", "13");
|
||||||
DispatchKeyFormat(iRotating, "spawnflags", "65");
|
DispatchKeyFormat(iRotating, "spawnflags", "64");
|
||||||
DispatchKeyFormat(iRotating, "OnUser1", "!self,KillHierarchy,,45,1");
|
DispatchKeyFormat(iRotating, "OnUser1", "!self,KillHierarchy,,45,1");
|
||||||
DispatchKeyFormat(iRotating, "OnUser2", "!self,KillHierarchy,,0,1");
|
DispatchKeyFormat(iRotating, "OnUser2", "!self,KillHierarchy,,0,1");
|
||||||
|
DispatchKeyFormat(iRotating, "OnUser3", "!self,Start,,0,1");
|
||||||
SpawnAndActivate(iRotating);
|
SpawnAndActivate(iRotating);
|
||||||
|
|
||||||
// make the trigger work.
|
// make the trigger work.
|
||||||
@ -715,38 +697,78 @@ public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, boo
|
|||||||
int iModel = CreateEntityAtOrigin("prop_dynamic_override", fInfectionOrigin);
|
int iModel = CreateEntityAtOrigin("prop_dynamic_override", fInfectionOrigin);
|
||||||
DispatchKeyFormat(iModel, "targetname", "season_infection_prop_%d", g_iCounter);
|
DispatchKeyFormat(iModel, "targetname", "season_infection_prop_%d", g_iCounter);
|
||||||
|
|
||||||
int iRandomSkin = GetRandomInt(0, 4);
|
int iRandomSkin = GetRandomInt(0, 6);
|
||||||
if (iRandomSkin == 0)
|
if (iRandomSkin == 0)
|
||||||
{
|
{
|
||||||
DispatchKeyFormat(iModel, "model", "models/models_kit/xmas/xmastree_mini.mdl");
|
DispatchKeyFormat(iModel, "model", "models/hh2015/escalados/jackolantern_01.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "0.35");
|
DispatchKeyFormat(iModel, "modelscale", "0.03");
|
||||||
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,0,1", g_iCounter);
|
||||||
}
|
}
|
||||||
else if (iRandomSkin == 1)
|
else if (iRandomSkin == 1)
|
||||||
{
|
{
|
||||||
DispatchKeyFormat(iModel, "model", "models/weapons/w_revenge_xmas_candy.mdl");
|
DispatchKeyFormat(iModel, "model", "models/hh2015/escalados/jackolantern_02.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "1.2");
|
DispatchKeyFormat(iModel, "modelscale", "0.025");
|
||||||
DispatchKeyFormat(iModel, "angles", "-27 0 0");
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,0,1", g_iCounter);
|
||||||
}
|
}
|
||||||
else if (iRandomSkin == 2)
|
else if (iRandomSkin == 2)
|
||||||
{
|
{
|
||||||
DispatchKeyFormat(iModel, "model", "models/johny-srka/snowman.mdl");
|
DispatchKeyFormat(iModel, "model", "models/hh2015/escalados/skull_island_horns.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "0.45");
|
DispatchKeyFormat(iModel, "modelscale", "0.08");
|
||||||
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,0,1", g_iCounter);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (iRandomSkin == 3)
|
else if (iRandomSkin == 3)
|
||||||
{
|
{
|
||||||
DispatchKeyFormat(iModel, "model", "models/weapons/w_santa_hat_thrown.mdl");
|
DispatchKeyFormat(iModel, "model", "models/hh2015/escalados/skull_island01.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "2.7");
|
DispatchKeyFormat(iModel, "modelscale", "0.1");
|
||||||
DispatchKeyFormat(iModel, "angles", "0 0 -90");
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,0,1", g_iCounter);
|
||||||
fInfectionOrigin[2] += 7;
|
fInfectionOrigin[2] += 7;
|
||||||
}
|
}
|
||||||
else if (iRandomSkin == 4)
|
else if (iRandomSkin == 4)
|
||||||
{
|
{
|
||||||
DispatchKeyFormat(iModel, "model", "models/models_kit/xmas/xmas_teddybear.mdl");
|
DispatchKeyFormat(iModel, "model", "models/syoudous/spooky/ghost_no_hat.mdl");
|
||||||
DispatchKeyFormat(iModel, "modelscale", "0.7");
|
DispatchKeyFormat(iModel, "modelscale", "0.4");
|
||||||
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,0,1", g_iCounter);
|
||||||
|
}
|
||||||
|
else if ((iRandomSkin == 5) || (iRandomSkin == 6))
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "model", "models/unloze/cute_skeleton.mdl");
|
||||||
|
DispatchKeyFormat(iModel, "modelscale", "0.35");
|
||||||
|
DispatchKeyFormat(iModel, "angles", "0 0 0");
|
||||||
|
DispatchKeyFormat(iModel, "DefaultAnim","crumbled");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,wakeup,3,1");
|
||||||
|
|
||||||
|
int iRandomAnimation = GetRandomInt(0, 4);
|
||||||
|
|
||||||
|
if (iRandomAnimation == 0)
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,idle,4.5,1");
|
||||||
|
}
|
||||||
|
else if (iRandomAnimation == 1)
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,dance_1,4.5,1");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,4.5,1", g_iCounter);
|
||||||
|
}
|
||||||
|
else if (iRandomAnimation == 2)
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,dance_2,4.5,1");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,4.5,1", g_iCounter);
|
||||||
|
}
|
||||||
|
else if (iRandomAnimation == 3)
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,dance_3,4.5,1");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,4.5,1", g_iCounter);
|
||||||
|
}
|
||||||
|
else if (iRandomAnimation == 4)
|
||||||
|
{
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "!self,SetAnimation,dance_4,4.5,1");
|
||||||
|
DispatchKeyFormat(iModel, "OnUser1", "season_infection_rotating_%d,Start,,4.5,1", g_iCounter);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DispatchKeyFormat(iModel, "disableshadows", "1");
|
DispatchKeyFormat(iModel, "disableshadows", "1");
|
||||||
@ -755,7 +777,7 @@ public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, boo
|
|||||||
DispatchKeyValueVector(iModel, "origin", fInfectionOrigin);
|
DispatchKeyValueVector(iModel, "origin", fInfectionOrigin);
|
||||||
SpawnAndActivate(iModel);
|
SpawnAndActivate(iModel);
|
||||||
ParentToEntity(iModel, iRotating);
|
ParentToEntity(iModel, iRotating);
|
||||||
|
AcceptEntityInput(iModel, "FireUser1");
|
||||||
AcceptEntityInput(iRotating, "FireUser1");
|
AcceptEntityInput(iRotating, "FireUser1");
|
||||||
|
|
||||||
int iEntityLimit = g_hCVar_EntityLimit.IntValue;
|
int iEntityLimit = g_hCVar_EntityLimit.IntValue;
|
||||||
@ -784,39 +806,11 @@ public void ProjectileSpawned(int Entity)
|
|||||||
|
|
||||||
if (g_iCollected[iOwner] >= g_hCVar_MilestoneGrenade.IntValue)
|
if (g_iCollected[iOwner] >= g_hCVar_MilestoneGrenade.IntValue)
|
||||||
{
|
{
|
||||||
int iRandomSkin = GetRandomInt(0, 3);
|
int iRandomSkin = GetRandomInt(0, 0);
|
||||||
if (iRandomSkin == 0)
|
if (iRandomSkin == 0)
|
||||||
{
|
{
|
||||||
SetEntityModel(Entity, "models/weapons/w_snowball_thrown.mdl");
|
SetEntityModel(Entity, "models/models_kit/hallo_pumpkin_l.mdl");
|
||||||
SetVariantString("modelscale 3.0");
|
SetVariantString("modelscale 0.35");
|
||||||
AcceptEntityInput(Entity, "AddOutput");
|
|
||||||
}
|
|
||||||
else if (iRandomSkin == 1)
|
|
||||||
{
|
|
||||||
SetEntityModel(Entity, "models/zombieden/xmas/giftbox.mdl");
|
|
||||||
SetVariantString("modelscale 0.6");
|
|
||||||
AcceptEntityInput(Entity, "AddOutput");
|
|
||||||
iRandomSkin = GetRandomInt(0, 1);
|
|
||||||
if (iRandomSkin == 0)
|
|
||||||
{
|
|
||||||
SetVariantString("0");
|
|
||||||
}
|
|
||||||
else if (iRandomSkin == 1)
|
|
||||||
{
|
|
||||||
SetVariantString("1");
|
|
||||||
}
|
|
||||||
AcceptEntityInput(Entity, "Skin");
|
|
||||||
}
|
|
||||||
else if (iRandomSkin == 2)
|
|
||||||
{
|
|
||||||
SetEntityModel(Entity, "models/weapons/w_ornament_thrown.mdl");
|
|
||||||
SetVariantString("modelscale 2.0");
|
|
||||||
AcceptEntityInput(Entity, "AddOutput");
|
|
||||||
}
|
|
||||||
else if (iRandomSkin == 3)
|
|
||||||
{
|
|
||||||
SetEntityModel(Entity, "models/weapons/w_santa_hat_thrown.mdl");
|
|
||||||
SetVariantString("modelscale 2.3");
|
|
||||||
AcceptEntityInput(Entity, "AddOutput");
|
AcceptEntityInput(Entity, "AddOutput");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user