PDA

View Full Version : Help with weapon hit detection and scoring.



SirGreenDay
12-02-2012, 10:17 PM
I have 2 issues in my FPS level.

1. I want the players to score points for destroying targets as well as other players. I have a Blast sensor attached to a score giver, these are attached to the individual targets, but when the targets are hit, the blast sensor doesn't register the hit. I turned the Wall Rebounds to 0 so the weapon doesn't bounce off the target.

2. I can't turn the engine sound off. I have it off in the Handling Tweaker, but the sound is still there.

ultrafast72
12-02-2012, 11:25 PM
1. Maybe the ammo destroys itself before the targets can register the impact? I've had this problem before. You could add a delay before the bullet "dies", you could actually use two NOT gates, which adds enough of a delay that the target would register it first, or use a timer, but then the 0.1 delay is a lot, or a sequencer, which can get you a 0.025 delay. You could also use a radius sensor instead of an impact sensor but I wouldn't recommend that. If your "blast" sensor is a projectile sensor, don't use those :P. If an impact sensor, maybe check all the "include" settings.

2. Put the sound on a microchip, disable the microchip. Sloppy but works. :P

EDIT: LOL I just realized this is for LBPK. This would have totally solved the problem in lbp2, I don't have lbpk so I don't know. -_-

Manlius10A
12-03-2012, 05:54 PM
Try increasing the radius of the weapon's blast, and make sure you are using a weapon type that actually creates a blast. I would also double check the settings on the blast sensor to make sure that it will be triggered with any blast. It wouldn't surprise me if the vertical position of the blast sensor also has an effect.