I've noticed the custom episode Contract Revoked support the SMC

/////// Torment chance to replace a knight: var float autocvar_torment_replace_knight = 10; // set cvar 'torment_replace_knight' default to 10 (= 10%). Set the percentage of replacing the knight with an torment (0= never. 100= always). Choose any value you want between 0 and 100 // cvar used inside knight.qc if (autocvar_torment_replace_knight) // if knight shall be replaced by Torment. Check the chance and do it !!) { local float replacerrr; replacerrr = autocvar_torment_replace_knight * 0.01; if (random () <= replacerrr) { self.health = autocvar_knight_health; // default 75 self.scale = 1; setsize (self, '-16 -16 -24', '16 16 40'); self.nextthink = time + 0.3; self.think = SUB_Remove; monster_torment_start(); return; } }
/////// afrits chance to support a knight: var float autocvar_afrit_supports_knight = 10; // set cvar 'afrit_supports_knight' default to 10 (= 10%). Set the chance of spawning an ADDITIONAL afrit beside a knight (0= never. 100= always). Choose any value you want between 0 and 100 // cvar used inside knight.qc if (autocvar_afrit_supports_knight) // if afrit shall be spawned in ADDITION to an existing knight. Check the chance and do it !!) { local float replace; replace = autocvar_afrit_supports_knight * 0.01; if (random () <= replace) add_afrit_support_walk (); }
/////// demon chance to replace a ogre: var float autocvar_demon_replace_ogre = 10; // set cvar 'demon_replace_ogre' default to 10 (= 10%). Set the percentage of replacing the ogre with a demon (0= never. 100= always). Choose any value you want between 0 and 100 // cvar used inside ogre.qc if (autocvar_demon_replace_ogre) // if ogre shall be replaced by Demon. Check the chance and do it !!) { local float replacerrr; replacerrr = autocvar_demon_replace_ogre * 0.01; if (random () <= replacerrr) { self.health = autocvar_ogre_health; // default 75 self.scale = 1; setsize (self, '-16 -16 -24', '16 16 40'); self.nextthink = time + 0.3; self.think = SUB_Remove; monster_demon_start(); return; } }
/////// shamblers chance to support a shambler: var float autocvar_shambler_supports_shambler = 10; // set cvar 'shambler_supports_shambler' default to 10 (= 10%). Set the chance of spawning an ADDITIONAL shambler beside a shambler (0= never. 100= always). Choose any value you want between 0 and 100 // cvar used inside shambler.qc if (autocvar_shambler_supports_shambler) // if shambler shall be spawned in ADDITION to an existing shambler. Check the chance and do it !!) { local float replace; replace = autocvar_shambler_supports_shambler * 0.01; if (random () <= replace) add_shambler_support_walk (); }
Comment