- Joined
- 15 Aug 2009
- Messages
- 3,511
- Age
- 33
If anybody wants to make an artillery weapon that can be shot down by point defense in FO, I believe that I and my special brand of crazy have a solution. Be warned, I haven't tested this yet, but it should work.
The first step is to make a cannonimp weapon that fires a unitorpedo. The initial cannonimp must not have targetlocation = 1. The unitorpedo does not deal damage but does add an extraweapon to the target. The extraweapon is a replaceweapon that spawn a utritiumball which then fires the real artillery weapon at point blank before its lifetimer runs out.
Because the unitorpedo class label is a missile, it can be shot down by point defense whereas the usual ordnances for artillery are bullets. Additionally, this should allow for artillery to miss completely instead of just exploding where the ship used to be.
I will code this in and test it when I have time later, but if anybody else wants to try it for themselves, go ahead and please post your results.
The first step is to make a cannonimp weapon that fires a unitorpedo. The initial cannonimp must not have targetlocation = 1. The unitorpedo does not deal damage but does add an extraweapon to the target. The extraweapon is a replaceweapon that spawn a utritiumball which then fires the real artillery weapon at point blank before its lifetimer runs out.
Because the unitorpedo class label is a missile, it can be shot down by point defense whereas the usual ordnances for artillery are bullets. Additionally, this should allow for artillery to miss completely instead of just exploding where the ship used to be.
I will code this in and test it when I have time later, but if anybody else wants to try it for themselves, go ahead and please post your results.