by {HK} » Sat Mar 27, 10 7:01 pm
I can't get this to spawn and summoning it crashes my server. Does anyone have any ideas? Do I need to have a spawn command? Is it possible to view this in DXMTL's mutator list also?
- Code: Select all
//=============================================================================
// Replacer. A (M)P mutator, replace the original DX weapons,
//ammo with tnag actors and modify the pawns inventory. Copyright (C) 2002 Hejhujka AND {HK}
//=============================================================================
class test extends Mutator;
function PostBeginPlay()
{
Super.PostBeginPlay();
function bool CheckReplacement(Actor Other, out byte bSuperRelevant) {
if ( Other.IsA('Weapon') ) {
if ( Other.IsA('weaponrifle') ) {
ReplaceWith( Other, "clyzmsmod.weaponrifle" );
return false;
}
}
return true;
}
}
Last edited by
{HK} on Sat Apr 03, 10 6:38 am, edited 2 times in total.