Author Topic: Loadout menu Requests: Hard-wired primaries & Primary ammo count?  (Read 4788 times)

0 Members and 1 Guest are viewing this topic.

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Loadout menu Requests: Hard-wired primaries & Primary ammo count?
Heya. If your accepting them at the moment, have a couple of requests i wanted to pass by the FSO coders, for features on Freespace's loadout menu that i feel would benefit some of the projects in development at the moment;
  • Hard-wired weapons: There's been a few ships appearing this lately (such as the Wraith, and most notably the Wing Commander ships) which have primary cannons integrated into the ship, as in part of its systems and so supposedly unremovable. Would it be possible to give modders the ability to mark banks as 'hard-wired', so if the player enters weapon loadout he can perhaps see the hard-wired weapons (with an icon beside them, or perhaps in a different corner of the loadout image) and select them to look at the weapon's stats, but can't remove or replace the weapon? Among other things, it would allow WCSaga to have players selecting their secondaries without having to give them the ability to choose primaries.
  • Ammo Count for primaries: Would it be possible to code in a note of how much ammo a primary bank carries for a ballistic weapon (like it does with secondaries)? Its not overtly important but some players of mods like TVWP might apprechiate knowing while they're choosing their loadouts.
  • Stockpiles invisible if zero: This one is a purely cosmetic one from me and not important. Is it possible to make a weapon not appear in the menu if its stockpile reads zero, even when there are weapons of that class currently mounted on ships (so if you removed the mounted weapons it would reapear with the number in stock, dissapearing again if the stockpile was zero once more)?

The first one is the big request; it may prove helpfull for some projects, and i can think of a few further features that might be possible through it if it proved implimentable;
  • Forced weapon choices (so a FREDer can have the weapon choice in a bank on a ship locked for just that mission)
  • Perhaps a Boolean logic system that can check if specific weapons have been mounted, and stop the player if they havent (so if they needed a disruptor for example and hadn't mounted one on any ships and tried to commit, it wouldn't let you and pop-up saying "You need a disruptor or Adv. disruptor on at least one ship" or something like that). Another unimportant one (as most people get the idea from briefings) but ya never know; i bet at least one person somewhere has accidently gone into a mission without a needed weapon! :lol:

But yeah, just some ideas if you're accepting them. Thanks for ya time.

T-Man
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Minecraft
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    Heya. If your accepting them at the moment, have a couple of requests i wanted to pass by the FSO coders, for features on Freespace's loadout menu that i feel would benefit some of the projects in development at the moment;
    Hard-wired weapons: There's been a few ships appearing this lately (such as the Wraith, and most notably the Wing Commander ships) which have primary cannons integrated into the ship, as in part of its systems and so supposedly unremovable. Would it be possible to give modders the ability to mark banks as 'hard-wired', so if the player enters weapon loadout he can perhaps see the hard-wired weapons (with an icon beside them, or perhaps in a different corner of the loadout image) and select them to look at the weapon's stats, but can't remove or replace the weapon? Among other things, it would allow WCSaga to have players selecting their secondaries without having to give them the ability to choose primaries.[/li][/list]
    this can be achieved in the ship table by defining weapons per bank rather than generally so instead of allowed pbank ("--" "---" "----" ) you use allowed pbank ("--") ("---") ("----") for a 3 bank fighter this would force bank 1  to use -- bank 2 to use --- and bank three to use ----

    Quote
    Ammo Count for primaries: Would it be possible to code in a note of how much ammo a primary bank carries for a ballistic weapon (like it does with secondaries)? Its not overtly important but some players of mods like TVWP might apprechiate knowing while they're choosing their loadouts.[/li][/list]
    if you are on about in hud in mission this is already implemented since 3.6.10, if on about in the loadout screen this would be cool

    Quote
    Forced weapon choices (so a FREDer can have the weapon choice in a bank on a ship locked for just that mission)[/li][/list]
    this is done by checking the scramble box in the fred mission spec option and is a retail feature from the original freespace and used in a number of missions

    Quote
    Perhaps a Boolean logic system that can check if specific weapons have been mounted, and stop the player if they havent (so if they needed a disruptor for example and hadn't mounted one on any ships and tried to commit, it wouldn't let you and pop-up saying "You need a disruptor or Adv. disruptor on at least one ship" or something like that). Another unimportant one (as most people get the idea from briefings) but ya never know; i bet at least one person somewhere has accidently gone into a mission without a needed weapon! :lol:[/li][/list]

    I like this idea
    « Last Edit: July 06, 2010, 07:54:28 am by headdie »
    Minister of Interstellar Affairs Sol Union - Retired
    quote General Battuta - "FRED is canon!"
    Contact me at [email protected]
    My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

     

    Offline chief1983

    • Still lacks a custom title
    • Moderator
    • 212
    • ⬇️⬆️⬅️⬅️🅰➡️⬇️
      • Minecraft
      • Skype
      • Steam
      • Twitter
      • Fate of the Galaxy
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    The only loophole with the first part of the solution is that they can still remove a primary altogether.  However, if they remove _all_ primaries, I don't believe they'll be able to start the mission.  They could still remove 2 of 3 though, so there's that.

    If a fighter's loadout is entirely predetermined, can't you just prevent access to the weapon loadout screen altogether?  Or are things like secondaries still customizable?
    Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
    Karajorma's 'How to report bugs' | Mantis
    #freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

    "You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

    Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
    iamzack:  i dont have hamynerge i just want ptatoc hips D:
    redsniper:  Platonic hips?!
    iamzack:  lays

     

    Offline T-Man

    • 210
    • I came... I saw... I had a cuppa!
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    this can be achieved in the ship table by defining weapons per bank rather than generally so instead of allowed pbank ("--" "---" "----" ) you use allowed pbank ("--") ("---") ("----") for a 3 bank fighter this would force bank 1  to use -- bank 2 to use --- and bank three to use ----
    That is true, my worry was, as Chief said, you can still remove the supposedly hard-wired weapon, but i confess that a) that's probably not worth the work to fix it and b) i'm a bit of a perfectionist when it comes to stuff like this. :lol:

    Quote
    if you are on about in hud in mission this is already implemented since 3.6.10, if on about in the loadout screen this would be cool
    I do mean on the loadout screen itself. At the moment you can only find out your primaries ammo when you go into the game.

    Quote
    this is done by checking the scramble box in the fred mission spec option and is a retail feature from the original freespace and used in a number of missions
    If a fighter's loadout is entirely predetermined, can't you just prevent access to the weapon loadout screen altogether?  Or are things like secondaries still customizable?
    Scramble and red alert can be used to achieve the same effect, but using those lock all primaries and all secondaries, and prevent the player reaching the loadout menu. In Wing Commander if i remember right your guns were fixed but missile hardpoints were variable (other games, like Starlancer, were the same), so i suspect WC Saga will want this kind of feature at some point, as might others (i recall someone is working on a present day fighter mod for Freespace somewhere too). Some info-hog, always-read-the-manual-first players (such as me :o) might also like to still read the loadout area stats and ammo counts on the weapons they are being forced to mount, or in the case of the WC system, have the one in-game chance outside the tech room to read the specs on the guns their fighter has mounted.

    Additionally, you might only want a single bank to be locked, but let the player choose weapons for the others (if they're testing a prototype weapon, for example).

    I admit that in hindsight these issues are a lot more trivial then i first thought. However, the matter of locking primaries while allowing secondaries, if i remember right, may be vital for WC Saga to keep to WC gameplay, and may be wanted by other mods in future (especially if they want to do exterior mounted secondaries).
    Also goes by 'Murasaki-Tatsu' outside of Hard-Light

    UEF fanboy. Rabid Imagination.

     

    Offline Angelus

    • 210
    • The Angriest Angel
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?

    I admit that in hindsight these issues are a lot more trivial then i first thought. However, the matter of locking primaries while allowing secondaries, if i remember right, may be vital for WC Saga to keep to WC gameplay, and may be wanted by other mods in future (especially if they want to do exterior mounted secondaries).

    Iirc, the WC team codes it's own stuff. Chances are that this might be coded by them, and made public after the release of WC.
    I'd like this feature in the SCP builds, though.

     

    Offline headdie

    • i don't use punctuation lol
    • 212
    • Lawful Neutral with a Chaotic outook
      • Minecraft
      • Skype
      • Twitter
      • Headdie on Deviant Art
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    sorry t-man, rather arrogant misunderstanding on my part.  indeed it would be useful to be able to lock off individual weapons from either the tables or fred
    Minister of Interstellar Affairs Sol Union - Retired
    quote General Battuta - "FRED is canon!"
    Contact me at [email protected]
    My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

     

    Offline T-Man

    • 210
    • I came... I saw... I had a cuppa!
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    sorry t-man, rather arrogant misunderstanding on my part.  indeed it would be useful to be able to lock off individual weapons from either the tables or fred

    No apology necessary mate; i'm crud at describing things sometimes. :D
    Also goes by 'Murasaki-Tatsu' outside of Hard-Light

    UEF fanboy. Rabid Imagination.

     

    Offline chief1983

    • Still lacks a custom title
    • Moderator
    • 212
    • ⬇️⬆️⬅️⬅️🅰➡️⬇️
      • Minecraft
      • Skype
      • Steam
      • Twitter
      • Fate of the Galaxy
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    Again, at this point you can restrict individual hardpoints to just one allowed weapon.  The only thing it allows you to do currently is un-equip a slot altogether.  This could be related to simply unplugging the hardmounted weapon on the fighter though, without actually removing it.  It doesn't sound like there's a feature to code here that's really needed, but if someone does want to make it behave closer to ideal I won't stop them.
    Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
    Karajorma's 'How to report bugs' | Mantis
    #freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

    "You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

    Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
    iamzack:  i dont have hamynerge i just want ptatoc hips D:
    redsniper:  Platonic hips?!
    iamzack:  lays

     

    Offline karajorma

    • King Louie - Jungle VIP
    • Administrator
    • 214
      • Karajorma's Freespace FAQ
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    I would like to point out that if anyone implements this stuff and forgets to bother/check multiplayer I will kick their arse and yank the code. :p
    Karajorma's Freespace FAQ. It's almost like asking me yourself.

    [ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

     

    Offline Aardwolf

    • 211
    • Posts: 16,384
      • Minecraft
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    "Stockpiles invisible if zero" - like how it works with ships?

    Also, keeping the player from changing a specific ship... isn't that exactly what the 'locked' flag does? (one of the items in ship-->misc., iirc) One of the items in the Ship --> Initial Status editor.

     

    Offline T-Man

    • 210
    • I came... I saw... I had a cuppa!
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    I would like to point out that if anyone implements this stuff and forgets to bother/check multiplayer I will kick their arse and yank the code. :p
    :shaking: ...Noted... :lol:

    "Stockpiles invisible if zero" - like how it works with ships?
    Yep (just realised that). Perhaps the code can be transferred somehow? :)

    Quote
    Also, keeping the player from changing a specific ship... isn't that exactly what the 'locked' flag does?
    Yes it does, but it locks the entire ship, preventing all primaries and secondaries from being chosen. The system i'm requesting would only lock specific banks on a ship (perhaps through a symbol or command in the table entry, or another option in FRED), so the player could still choose banks that arn't locked (so for example, a ship's primaries might be locked but its secondaries still selectable). Also by locking the banks in the ship table instead of in FRED the player would still be able to choose a different ship if he wanted, and only those that needed banks locked for whatever reason would be locked. Something similar can sort of be achieved by making only one or two weapons fit in the bank, but the player can still remove it, and people might want the banks to be selectable in other instances.

    Admittedly it would be a very complex system; part of me doubts its even implimentable at all now i think about it. The other two (loadout gun ammo count/invisible zero pools) should be a bit more feasible though if the coders did decide to give them a go.

    « Last Edit: July 10, 2010, 03:25:33 am by T-Man »
    Also goes by 'Murasaki-Tatsu' outside of Hard-Light

    UEF fanboy. Rabid Imagination.

     

    Offline karajorma

    • King Louie - Jungle VIP
    • Administrator
    • 214
      • Karajorma's Freespace FAQ
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    I would like to point out that if anyone implements this stuff and forgets to bother/check multiplayer I will kick their arse and yank the code. :p
    :shaking: ...Noted... :lol:

    That doesn't really apply to you. Not unless you're planning to join the SCP anyway. :p
    Karajorma's Freespace FAQ. It's almost like asking me yourself.

    [ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

     

    Offline Qent

    • 29
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    For "locking" primary banks by allowing only one weapon, what about permitting the weapon to be removed altogether, but restoring it at the beginning of the mission with a SEXP?

     

    Offline headdie

    • i don't use punctuation lol
    • 212
    • Lawful Neutral with a Chaotic outook
      • Minecraft
      • Skype
      • Twitter
      • Headdie on Deviant Art
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    that would work, check the ship type and use the sexp that changes the mounted weapon to the appropriate ones
    Minister of Interstellar Affairs Sol Union - Retired
    quote General Battuta - "FRED is canon!"
    Contact me at [email protected]
    My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

     

    Offline Nuke

    • Ka-Boom!
    • 212
    • Mutants Worship Me
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    i wouldnt mind being able to specify an ammo limit in the mission specs. say you have a mission where there is limited ammunition available, so ships equiped would only allow you to have some percentage of ammunition available at launch, say 20%. if rearming is available then only 20% of your ammunition is restored. then say your mission is raiding an ammo dump. you find crates full of ammo and capture them. then after that you can rearm to 100 (probibly through a change ammo available sexp). you could probibly tie it into campaign variables so that you can place random targets of opportunity throughout a campaign which directly affects the ammount of ammo available.
    I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

    Nuke's Scripting SVN

     

    Offline FUBAR-BDHR

    • Self-Propelled Trouble Magnet
    • 212
    • Master Drunk
      • 165th Beer Drinking Hell Raisers
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    Problem with that is there is that there is already a bug in the loadout code that causes issues if ships can't be loaded with full banks.  Yes it's in Mantis. 
    No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

     

    Offline Iss Mneur

    • 210
    • TODO:
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    FUBAR: Mantis number if you please?
    "I love deadlines. I like the whooshing sound they make as they fly by." -Douglas Adams
    wxLauncher 0.9.4 public beta (now with no config file editing for FRED) | wxLauncher 2.0 Request for Comments

      

    Offline FUBAR-BDHR

    • Self-Propelled Trouble Magnet
    • 212
    • Master Drunk
      • 165th Beer Drinking Hell Raisers
    Re: Loadout menu Requests: Hard-wired primaries & Primary ammo count?
    Asking a lot of a Drunk this time of night and I only have 75 to go through but I'll give you 2.

    http://scp.indiegames.us/mantis/view.php?id=1904
    http://scp.indiegames.us/mantis/view.php?id=1871


    No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras