Knockout Immunity

From The DarkMod Wiki
Revision as of 13:47, 10 April 2009 by SneaksieDave (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Originally written by Ishtvan on http://forums.thedarkmod.com/topic/4048

There is a new key available:

"ko_immune"

Setting this to "1" will make the AI immune to KO from both the blackjack and knockout gas.

To make an AI immune to the blackjack, but not knockout gas, do not set ko_immune to 1, but set the key "ko_zone" to blank, i.e., put the following in the def file or spawnArgs:

"ko_zone" ""

To make an AI fully and always vulnerable to knockout by the blackjack (as in the case of non-combatants like a house servant), set the "ko_alert" spawnarg to "" on the AI:

"ko_alert" ""