Are rocket and cannon hp's interchanable?

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
Col Klink
Sabre
Posts: 368
Joined: Fri Apr 15, 2011 8:24 am
Contact:

Are rocket and cannon hp's interchanable?

Post 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.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: Are rocket and cannon hp's interchanable?

Post 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.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Are rocket and cannon hp's interchanable?

Post 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.
User avatar
Cyber
Sabre
Posts: 202
Joined: Sun Feb 20, 2011 5:46 pm

Re: Are rocket and cannon hp's interchanable?

Post by Cyber »

Best example is the "shield" which work as special weapon.
User avatar
Dataanti
Thunderbolt
Posts: 117
Joined: Mon Feb 21, 2011 3:20 am
Location: A cave somewhere in Canada
Contact:

Re: Are rocket and cannon hp's interchanable?

Post 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!
Col Klink
Sabre
Posts: 368
Joined: Fri Apr 15, 2011 8:24 am
Contact:

Re: Are rocket and cannon hp's interchanable?

Post 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.
Post Reply