Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on January 07, 2004, 10:24:46 pm

Title: Ship Specific Weapons
Post by: Nuke on January 07, 2004, 10:24:46 pm
ive asked for this many times over, but here i go again. would it be posible to have ships with integrated weapons systems, such as  gatling guns or beam cannons?

anyone familiar with the A-10 warthog should know what im talking about. the A-10 was a plane built around a gargantuan gau-8 30mm gatling gun from hell, giving the plane a huge firepower to size ratio.

weapons like the gau-8 are too big to simply be blaced on a hardpoint like freespace guns and so would be part of a specific ship. in case of gatling guns you could model a ship subobject that would be the rotating barrels.

beam cannons may be used on large bombers. anyway the idea is to put really big weapons on really small ships. as usual, balence is achived by giving the enemy the same stuff.
Title: Ship Specific Weapons
Post by: mikhael on January 07, 2004, 11:20:27 pm
In Iwar2, this is solved by having both hardpoints (where you can mount a weapon) and weapon points (permanently mounted weapon systems). None of the player ships have weapon points, but they can be added very easily (see my Braavosi mk2: its got three aft mounted turrets on weapon points).

Freespace doesn't currently allow for that sort of separation so far as I know, though.
Title: Ship Specific Weapons
Post by: Deepblue on January 08, 2004, 12:30:01 am
Then again you aren't a source monkey. :p
Title: Ship Specific Weapons
Post by: diamondgeezer on January 08, 2004, 01:43:10 am
Nuke, you can always just specify that your fighter can only carry a certain model of gun in its primary bank. The end result pretty much the same.
Title: Ship Specific Weapons
Post by: Bobboau on January 08, 2004, 01:45:21 am
and why can't you just make that bank compatable with only the one weapon?
Title: Ship Specific Weapons
Post by: diamondgeezer on January 08, 2004, 01:47:48 am
I just said that
Title: Ship Specific Weapons
Post by: Bobboau on January 08, 2004, 02:05:34 am
yes, at the same time as me
Title: Ship Specific Weapons
Post by: Nuke on January 09, 2004, 06:22:24 am
how do you make that bank take only one weapon? will it allow me to place whatever i want in the secondary bank? i went through the wiki and did a search of the forum, but i couldnt figure that out. i did find out how to make my miniguns spin though :D
Title: Ship Specific Weapons
Post by: diamondgeezer on January 09, 2004, 06:31:26 am
Quote
Originally posted by Bobboau
yes, at the same time as me

Nope. Look at the times :D:ha:
Quote
Originally posted by Nuke
how do you make that bank take only one weapon?  

This will be explained in the readme somewhere. Rather than having your allowed primaries as (weapon 1, weapon 2, weapon 3) you'd have (weapon 1) (weapon 2, weapon 3) which allows weapon 1 in the first bank and weapons 2 and 3 in the second bank (for example). Check the readme to get the syntax right :nod:
Title: Ship Specific Weapons
Post by: DragonClaw on January 09, 2004, 06:56:39 am
I suppose you guy should specify this is in the ships.tbl
Title: Ship Specific Weapons
Post by: Nuke on January 09, 2004, 07:24:02 am
i couldnt find it in the readme, on the forum, or in the wiki. i remember reading it somewhere but i dont know where. i think i get what hes saying so im gonna play around with it and see if it works.
Title: Ship Specific Weapons
Post by: Bobboau on January 09, 2004, 10:46:06 am
you can have bank specific compatability, so the first bank can have just one or two weapos avalable for it while the other can have every weapon in the table, I think you just add an extra set of parenthisese
so it would be
$primary weapons: ("big super gun")("small weapon" "pea shooter" "crap launcher" "weak inferior human armement")
Title: Ship Specific Weapons
Post by: Nuke on January 09, 2004, 11:49:36 am
well, i can now call my super death ulysses complete
Title: Ship Specific Weapons
Post by: diamondgeezer on January 09, 2004, 07:11:57 pm
Bob, you're just out to **** with my head aren't you?