Sometimes, my rockets (the projectile I use for my Mi24D and AH-6 helicopters) don't explode or do damage when they hit their target. What could be causing this issue? I checked the FireArms to see if it's a networkInfo problem, but they have the correct networkInfo. Could it be "setHasPointPhysics 0"?
Youtube lags like stink here for the moment, but from what i could see it looks like there is something missing in the damage materials system. Witch is a bit weird as it seems you are using the Bazooka projectile settings.
Yes sir. I am using the Bazooka materials. I think the most I did to that damageSystem is alter the damage variables.
So that led me to thinking it's something in the coding. As you see, this projectile isn't a basic projectile code. I copied then altered this code from somewhere a long time ago.
[Edit] I'm going to rem the wing and engine. I'm curious if it's the engine. I created this projectile before I knew about the "addRootSpeed 0" code and was trying to figure out how to make the rocket go straight instead of following the vehicle. So the wing is not needed and I doubt the engine is needed because so many rockets are fired at once.
[Edit] Solved. Why is it that I find the issue after I create a thread? Such a waste.
ObjectTemplate.ProximityFusePrimer 0.25
ObjectTemplate.explodeNearEnemyDistance 8
These were the issue.
I'm still going to leave out the engine and wing because they're really not needed.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™