There's the turret damage setting:
Code:
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
{
if( self.team == "axis" )
{
if(isSubStr(sWeapon, "pavelow_"))
iDamage = 0;
}
}
Right now I'm trying to make it so that the turret is on default, inoperable until a player from the allies comes close to it and uses it... The downside tho is that a Zombie would be able to use it when he's close to a human :P but it works fairly decently XD
Also, I think that I may have found a fix for the playFX in aIW. Call this thread in substitute for playFX():
Code:
doPlayFX(fx, location)
{
for(;;)
{
level waittill( "connected", player );
player playfx(fx, location);
}
}
Not really sure if it definitely works tho it works on my PC when hosting a dedi - quitting, rejoining and testing on other PCs. The problem is that the PlayFX in aIW only plays the FX for people who are currently in game at the time it's called, not on a global scope. Hope it works for you too