Knockout Immunity: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Original_reference|Ishtvan|4048}}
{{Original_Reference|Ishtvan|4048}}


There is a new key available:
There is a new key available:
Line 11: Line 11:
  "ko_zone" ""
  "ko_zone" ""


[[Category:Editing]]
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" ""
 
{{editing}}
[[Category:AI]]
[[Category:AI]]

Latest revision as of 13:47, 10 April 2009

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" ""