mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-04-26 11:20:58 +00:00
Reverted the name of petsdrown to allow_watermonsters, and switched the
simantics back as well. However, allow_watermonsters still defaults to 1 now. Set to 0 to make monsters drown in water. Tim McGrath
This commit is contained in:
parent
4e75f3c83e
commit
bde3685210
3 changed files with 6 additions and 6 deletions
2
ai.qc
2
ai.qc
|
@ -193,7 +193,7 @@ void(entity test) AI_Check_Contents =
|
|||
/* WK Removed because water is ok for monsters, sheesh
|
||||
Whatever you think, ceaf it is. */
|
||||
//- OfN - what the fuck means "ceaf"? heh
|
||||
else if (pointcontents(test.origin) == CONTENTS_WATER && petsdrown == TRUE)
|
||||
else if (pointcontents(test.origin) == CONTENTS_WATER && allow_watermonsters == FALSE)
|
||||
{
|
||||
if (self.classname == "monster_demon1")
|
||||
{ // do damage
|
||||
|
|
2
defs.qc
2
defs.qc
|
@ -798,7 +798,7 @@ float no_detpush;
|
|||
entity debug_target; // server dprints will go to this client too
|
||||
float allow_debug;
|
||||
//-------------------------//
|
||||
float petsdrown; // if 0, grunts and monsters can be in water, in check_contents ai.qc
|
||||
float allow_watermonsters; // if 0, grunts and monsters can be in water, in check_contents ai.qc
|
||||
|
||||
// Chris' Teamplay Plus Mode
|
||||
/*float chris; // Is Chris mode on or off
|
||||
|
|
8
often.qc
8
often.qc
|
@ -165,11 +165,11 @@ void () UpdateInfos =
|
|||
if (army_delay < 2 ) army_delay = 2; // the allowed minimum
|
||||
else if (army_delay > 60) army_delay = 60; //the allowed maximum
|
||||
|
||||
st = infokey(NIL, "petsdrown"); //
|
||||
if (st == "1" || st =="on" )
|
||||
petsdrown = 1;
|
||||
st = infokey(NIL, "allow_watermonsters"); //
|
||||
if (st == "0" || st =="off" )
|
||||
allow_watermonsters = 0;
|
||||
else
|
||||
petsdrown = 0;
|
||||
allow_watermonsters = 1;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue