View Thread
|
need help with creating PDS weapon
|
|
| mrWHO |
Posted on 20-08-2006 14:12
|
|
Posts: 485 Joined: September 02 2005 |
I have a destroyable missile that is shoot down by PDS turrets well. I also have a weapon that is unable to taerget and shoot to those missiles. My question is: what I need to add to weapon file to make it able to shoot down incoming missiles? |
|
|
|
| Inert |
Posted on 20-08-2006 17:06
|
|
Posts: 388 Joined: September 08 2005 |
If it is a instanthit weapon, it can't shoot down missiles. There's a way to do it, but I didn't bother to find out. Anyways, for normal weapons: Code Download source setAccuracy(NewWeaponType, 0, { munition = x.x, }) Where setAccuracy(NewWeaponType is the function inside the .wepn file, 0 - the default penetration for any other shiptype not defined (if you want it to target nothing but munitions, keep it at 0), and {munition =x.x} the ship type(s) (in this case, only munition), and x.x the percentage of its accuracy. As far as I know, it must be a two digit numer only (e.g. 0.1, 0.5, 1.0) where 1.0 = 100%, 0.5 = 50%, etc. Hope that helps. |
|
|
|
| TelQuessir |
Posted on 21-08-2006 02:19
|
|
Posts: 2598 Joined: August 30 2005 |
For lasers to engage missiles do it like V7.6 or 9 - configure the laser as a projectile weapon. |
|
|
|
| Jump to Forum |









