Page 1 of 1

Are rocket and cannon hp's interchanable?

Posted: Sun Jul 31, 2011 3:10 pm
by Col Klink
I noticed some rockets will work on cannon hp's especially those who's odf class'es them as cannon rather some other missile type like a thermal missile and noticed the same oddity with some cannons that work on the rocket hp's. Does it have something to do with the class labels? Can we change any weapon to work on any other weapon hp's? Is this done by creating/modifying an existing odf and renaming it to create a new weapon?

I've done this on carrier craft to release customized drones, but is it possible to change say a rocket hp to use other weapons? Thanks for any feedback on the issue.

Re: Are rocket and cannon hp's interchanable?

Posted: Sun Jul 31, 2011 3:42 pm
by Ded10c
Any weapon will work on any hardpoint. You can, for example, set DaBomb (special) to a gun hardpoint if you want to. The hardpoint type only determines what type of crate you can pick up to fill it. Also, any type of crate can give you any weapon class.

Re: Are rocket and cannon hp's interchanable?

Posted: Sun Jul 31, 2011 4:25 pm
by MrTwosheds
it is this setting
wpnCategory = "GUN"
that determines if a weapon can be loaded onto a hardpoint, eg hp_gun_1, by powerup or in the factory/rec.
You can make a ship odf that uses the wrong type weapon.

Re: Are rocket and cannon hp's interchanable?

Posted: Sun Jul 31, 2011 6:40 pm
by Cyber
Best example is the "shield" which work as special weapon.

Re: Are rocket and cannon hp's interchanable?

Posted: Mon Aug 01, 2011 2:14 am
by Dataanti
You can test it out in 1.2 easily, I forget the code but you can change the factory weapon to what ever you want, I liked to give turrets salvo :) JUST DON'T DO IT ONLINE!

Re: Are rocket and cannon hp's interchanable?

Posted: Wed Aug 03, 2011 4:09 pm
by Col Klink
Dataanti wrote:You can test it out in 1.2 easily, I forget the code but you can change the factory weapon to what ever you want, I liked to give turrets salvo :) JUST DON'T DO IT ONLINE!
I can see why as a turret with rockets can be quite devisating. As I recall someone did it in one of the older mods.