WaveSchedule

From SigMod
Revision as of 11:16, 9 July 2021 by Rafradek (talk | contribs)
Jump to navigation Jump to search

Precache

PrecacheSound "weapons/rocket_directhit_shoot_crit.wav" [$SIGSEGV] //If your mission contains custom sounds that are used by pointtemplate entities or sound overrides, you must include those sounds with precachesound
PrecacheScriptSound "Weapon_RPG.Single" [$SIGSEGV] //Sound script version of precache sound
PrecacheModel "models/props_soho/bookstand002.mdl" [$SIGSEGV] //Precaches model. This might be required in some circumstances, such as "custom projectile model" attribute, or prop with custom model
PrecacheSentenceFile "scripts/sentences.txt" [$SIGSEGV] //Precache sentence file
PrecacheDecal "decals/tscorch" [$SIGSEGV] //Precache decal file
PrecacheGeneric "" [$SIGSEGV] //Precache generic file
PrecacheParticle "env_fire_large_smoke" [$SIGSEGV] //Precache particle

Precaching helps to ensure that the content used in the mission will be loaded propely and downloaded to the clients

Halloween

ForceHoliday 2 [$SIGSEGV] //Enforces Halloween mode, but does not enable wave 666 and zombie bots
NoThrillerTaunt 1 [$SIGSEGV] // No thriller taunt in halloween (default: 0)
NoCritPumpkin 1 [$SIGSEGV] // No crit pumpkin on player death drop in halloween (default: 0)
NoHolidayPickups 1 [$SIGSEGV] // If set, pickups will remain with default models (default: 0)
ZombiesNoWave666 1 [$SIGSEGV] // If set to 1, the game will not display wave 666 when EventPopFile is set (default: 0)

BotsDropSpells 1 [$SIGSEGV] //If set, bots will drop spells
GiantsDropRareSpells 1 [$SIGSEGV] //If set, giants will drop rare spells rather than common
SpellDropRateCommon 0.5 [$SIGSEGV] //Drop chance for common spell books, from 0 to 1
SpellDropRateGiant 0.5 [$SIGSEGV] //Drop chance for rare spell books, from 0 to 1
SpellDropForBotsInTeam Blue [$SIGSEGV] // When set, drop spells only if bots are from Red/Blue team
SpellBookNormalRoll [$SIGSEGV] // Override spell roll. The value specifies how many spell charges to give. You can duplicate spells to increase their roll chance
{
	"Healing Aura" 3
	"Fireball" 3
	"Ball O' Bats" 2
	"Healing Aura" 3
	"Pumpkin MIRV" 1 
	"Superjump" 4
	"Invisibility" 2
	"Teleport" 4
	"Tesla Bolt" 3
	"Minify" 1
	"Meteor Shower" 5
	"Summon Monoculus" 1
	"Summon Skeletons" 4
}
SpellBookRareRoll [$SIGSEGV] // Override spell roll. The value specifies how many spell charges to give. You can duplicate spells to increase their roll chance
{
	"Healing Aura" 3
	"Fireball" 3
	"Ball O' Bats" 2
	"Healing Aura" 3
	"Pumpkin MIRV" 1 
	"Superjump" 4
	"Invisibility" 2
	"Teleport" 4
	"Tesla Bolt" 3
	"Minify" 1
	"Meteor Shower" 5
	"Summon Monoculus" 1
	"Summon Skeletons" 4
}