tabs -> x4 spaces
This commit is contained in:
parent
0f98b8f6ea
commit
429a95b863
8 changed files with 141 additions and 141 deletions
|
|
@ -1,11 +1,11 @@
|
|||
class NiceDamTypePipeBomb extends NiceWeaponDamageType;
|
||||
static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth)
|
||||
{
|
||||
HitEffects[0] = class'HitSmoke';
|
||||
if(VictimHealth <= 0)
|
||||
HitEffects[1] = class'KFHitFlame';
|
||||
else if (FRand() < 0.8)
|
||||
HitEffects[1] = class'KFHitFlame';
|
||||
HitEffects[0] = class'HitSmoke';
|
||||
if(VictimHealth <= 0)
|
||||
HitEffects[1] = class'KFHitFlame';
|
||||
else if (FRand() < 0.8)
|
||||
HitEffects[1] = class'KFHitFlame';
|
||||
}
|
||||
defaultproperties
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,22 +2,22 @@
|
|||
class NiceCryoNadeCloud extends Emitter;
|
||||
var bool bFlashed;
|
||||
simulated function PostBeginPlay(){
|
||||
super.PostBeginPlay();
|
||||
NadeLight();
|
||||
super.PostBeginPlay();
|
||||
NadeLight();
|
||||
}
|
||||
simulated function NadeLight(){
|
||||
if(instigator == none) return;
|
||||
if(Level.bDropDetail) return;
|
||||
if( (Level.TimeSeconds - LastRenderTime < 0.2)
|
||||
if( (Level.TimeSeconds - LastRenderTime < 0.2)
|
||||
|| (PlayerController(instigator.controller) != none)){
|
||||
bDynamicLight = true;
|
||||
SetTimer(0.25, false);
|
||||
}
|
||||
else
|
||||
bDynamicLight = true;
|
||||
SetTimer(0.25, false);
|
||||
}
|
||||
else
|
||||
Timer();
|
||||
}
|
||||
simulated function Timer(){
|
||||
bDynamicLight = false;
|
||||
bDynamicLight = false;
|
||||
}
|
||||
defaultproperties
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue