PDA

View Full Version : KActor no collide with shots



zm634
03-29-2007, 01:21 PM
Hey all, new to scripting in unreal and I'm having trouble with this little project of mine. I have a pickup that I need to be a KActor, but it is colliding with shots from weapons, which I don't want it to do. How can i turn off this collision?



var bool isShieldBall;
var bool healthOver;
var bool readyToBePickedUp;
var pawn P;

function Touch( actor Other )
{
P=Pawn(Other);
SetTimer(2,False);
Log("sphere was touched rofl");
}
if(readyToBePickedUp)
{
P.Health += 5;
PlaySound(Sound'PickupSounds.HealthPack');
self.Destroy();
}
}
function Timer()
{
readyToBePickedUp=True;
}
defaultproperties
{
bStatic=False
DrawType=DT_Sprite
Texture=AW-2004Particles.Weapons.BoloBlob
bCollideActors=True
bCollideWorld=True
bBlockActors=False
CollisionHeight=32
CollisionRadius=32
isShieldBall=False
bKTakeShot=False
healthOver=False
bNoDelete=False
readyToBePickedUp=False
bBounce=True

Begin Object Class=KarmaParamsRBFull Name=KParams0
KMass=0.0500000
KLinearDamping=0.0500000
KAngularDamping=0.2500000
KFriction=0.3000000
KActorGravScale=0.9000000
KBuoyancy=1.3000000
KRestitution=0.9000000
bKNonSphericalInertia=False
KImpactThreshold=1.0000000
KStartEnabled=True
bHighDetailOnly=False
bClientOnly=False
bKDoubleTickRate=False
bDestroyOnWorldPenetrate=True
bDestroyOnSimError=True
bDoSafetime=True
End Object
KParams=KarmaParamsRBFull'HealthSphere.HealthSpher e.KParams0'

}

Killer909
03-29-2007, 02:56 PM
You will probably have better luck asking in the "Programming & UnrealScript" forum.

zm634
03-29-2007, 03:20 PM
Man, I could have sworn I was in there.

Thanks

Actually though, if anyone's used kactors in a map that they needed shots to go through, it would probably be the same parameter, so it might still be helpful.