Tag colors and animated face using A_ChangeModel.
This commit is contained in:
parent
bb367e75c5
commit
2d2dcf7ad5
28 changed files with 350 additions and 189 deletions
|
|
@ -142,7 +142,7 @@ extend Class SWWMHandler
|
|||
if ( !lastcombat || (gametic > lastcombat+20) )
|
||||
{
|
||||
lastcombat = AddOneliner("hitfriend",1,10);
|
||||
if ( Demolitionist(e.DamageSource) ) Demolitionist(e.DamageSource).lastsad = gametic;
|
||||
if ( Demolitionist(e.DamageSource) ) Demolitionist(e.DamageSource).facesad = true;
|
||||
}
|
||||
highesttic = gametic;
|
||||
}
|
||||
|
|
@ -173,7 +173,7 @@ extend Class SWWMHandler
|
|||
if ( e.Thing.IsFriend(src) )
|
||||
{
|
||||
lastcombat = AddOneliner("friendkill",1,5);
|
||||
if ( Demolitionist(e.DamageSource) ) Demolitionist(e.DamageSource).lastsad = gametic;
|
||||
if ( Demolitionist(e.DamageSource) ) Demolitionist(e.DamageSource).facesad = true;
|
||||
}
|
||||
else if ( (!lastcombat || (gametic > lastcombat+50)) && !SWWMHDoomHandler.IsCuteGirl(e.Thing) ) // [HDoom] don't shout at the girls
|
||||
{
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ extend Class SWWMHandler
|
|||
}
|
||||
SendNetworkEvent("swwmremoteliner."..onelinersnd,consoleplayer,onelinerlevel);
|
||||
// hack due to the fact this one can be cancelled early
|
||||
if ( onelinertype == "falling" ) Demolitionist(players[consoleplayer].mo).lastgrin = gametic;
|
||||
if ( onelinertype == "falling" ) Demolitionist(players[consoleplayer].mo).facegrin = true;
|
||||
}
|
||||
onelinertic = 0;
|
||||
onelinerspan = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue