Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on January 12, 2004, 03:43:39 am

Title: Hidden Weapons
Post by: Nuke on January 12, 2004, 03:43:39 am
is it possible to have a hidden weapon flag that would prevent a weapon from apearing in the loadout screen's weapon list, but be pre loaded to ships that have it set as a default weapon.

i have been able to use current features to implement miniguns, however the gun apears in the weapon list even though it is used exclusively on certain fighters that have been moddeled with minigun subobjects. it is a little confusing for players to have weapons show up in a list that shouldnt be there.

hidden weapon would be pre loaded in ships that have is set as its default weapon and would not be removeavble. furthermore they wouldnt show in the select list and freadders shouldnt have to worry about checking it in the team loadout eighter.
Title: Hidden Weapons
Post by: Bobboau on January 12, 2004, 04:02:46 am
you know the gun could be loaded with diferend ammo, so it doesn't have to be given only one weapon, even if the gun it'self is built into the ship (or the other way around).

and haveing the weapon visable on the loadout will let the player know what his ship has, I think it would be far more confuseing for a primary bank with an ubber gun in it to suddenly just apear, than a gun in the loadout that they can't change would be
Title: Hidden Weapons
Post by: Nuke on January 13, 2004, 04:43:39 am
i wonder if i could use those hidden names (such as cyclops#short) to have a few ammo types available to all size guns.  use names such as HE#150mm or API#100mm. essentially each ship's gatling guns would be limited by the second part of the name. the player would only see API and HE but could use them on any ship with gatling guns. the exe would then use the apropriate table entry tith the appropriate calibur and properties. im not sure if it was ment to be used in that way, but im gonna try and see if it works.