Did you do that setting (ShellCaseLifeSpanType=0|1|2) on server's or on client's ini? I guess that the shells exist on client only - it would be a waste of bandwidth to replicate all shells to all players.OjitroC wrote:setting the lifespan of the shellcases to unlimited seems to have no effect - they disappear immediately.
According to the code the setting has to be on client's side, because it is a simulated function:
BaseShellCase.uc-snippet
Code: Select all
simulated function PostBeginPlay()
{
//if ( Level.bDropDetail && (Level.NetMode != NM_DedicatedServer) && (Level.NetMode != NM_ListenServer) )
//LifeSpan = 1.5;
switch(class'CSSMutator'.default.ShellCaseLifeSpanType)
{
case 0:
LifeSpan = 3.00;
break;
case 1:
LifeSpan = 7.00;
break;
case 2:
LifeSpan = 0.0;
break;
default:
LifeSpan = 3.00;
break;
}
}