Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Trivial Psychic on March 18, 2011, 09:39:11 pm

Title: Huge Weapons for Bombers & Fighters
Post by: Trivial Psychic on March 18, 2011, 09:39:11 pm
I was searching through the wiki to try and find a solution to this.  Is there a flag or field to allow a fighter or bomber (or a new class in objecttypes.tbl) to carry huge-flagged non-secondary weapons without the craft needing it to have "big damage" among its flags?  Basically, I've got a heavy bomber with multiple turrets which I want to carry heavy pulse turrets, flak and light beam weapons, but still have it use bomber AI, or perhaps something more like Gunship AI if its been achieved by someone. ;7 I looked through objecttypes.tbl, ships.tbl, ai.tbl, and ai_profiles.tbl.
Title: Re: Huge Weapons for Bombers & Fighters
Post by: headdie on March 19, 2011, 06:42:31 am
in weapons.tbl you could use

http://www.hard-light.net/wiki/index.php/Weapons.tbl#.22capital.2B.22

"capital+"
FS2 Open, 3.6.13:
Tells AI to use this weapon only on capital ships
Title: Re: Huge Weapons for Bombers & Fighters
Post by: Dragon on March 19, 2011, 06:48:09 am
You could just remove "big ship" from weapons used by your bomber.
"big damage" refers only to ship being only possible to damage by "huge" weapons and "huge" refers to be able to damage ships with "big damage" set and being restricted to targeting warships.
"big ship" and "big damage" are ships.tbl flags, while "huge" is a weapons.tbl flag.