Author Topic: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM  (Read 3058 times)

0 Members and 1 Guest are viewing this topic.

Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I've been informed that this is a code thing so... If it's possible, this would be a great thing for large battles and multiplayer games where multiple fighters will need to be rearmed simultaneously.
Could a flag be added in Species_defs.tbl to define on a per-species basis the max support ships, to avoid potentially breaking retail and/or other campaigns?

See: http://www.hard-light.net/forums/index.php?topic=71592.msg1415336#msg1415336

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
The discussion that informed you was an offshoot of some work we've been doing to look at this on IRC. I'd like to request that this please, please be a mission or AI profiles flag.

 
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
Understood, sir! Didn't know it was already open, so thought I'd just put this out there formally.

Looking forward to whatever you all figure out.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
It was a great move to make this a formal request, actually, as I was terribly negligent in not doing so. Forum threads are good things.

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'd prefer to have this as a mission flag, set in the Mission Specs editor. You may not want to constantly have three support ships around for some missions that'd be too easy with that kind of reparation capability.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
Yeah I concur.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'd have to look at it again but as an option for the set support ship SEXP seems like the most logical place to me.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'd have to look at it again but as an option for the set support ship SEXP seems like the most logical place to me.

That'd be great. That's what I actually thought its final argument did at first.

 

Offline Iss Mneur

  • 210
  • TODO:
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'd have to look at it again but as an option for the set support ship SEXP seems like the most logical place to me.

That'd be great. That's what I actually thought its final argument did at first.
Well, I was bored and I thought I would take a stab at this.  Karajorma, I hope you hadn't put to much work into this.

Added control of having more than one support ship per team to set-support-ship as an optional 7th arg.  Doc for set-support-ship updated to reflect new functionality and clarified to make the difference between the 6th arg and the 7th arg apparent.  Download the FSO and FRED binaries and .pdbs from:http://www.box.net/shared/566ekybavm

Diff to come after I take a second look my fix.
"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 General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'd have to look at it again but as an option for the set support ship SEXP seems like the most logical place to me.

That'd be great. That's what I actually thought its final argument did at first.
Well, I was bored and I thought I would take a stab at this.  Karajorma, I hope you hadn't put to much work into this.

Added control of having more than one support ship per team to set-support-ship as an optional 7th arg.  Doc for set-support-ship updated to reflect new functionality and clarified to make the difference between the 6th arg and the 7th arg apparent.  Download the FSO and FRED binaries and .pdbs from:http://www.box.net/shared/566ekybavm

Diff to come after I take a second look my fix.


You are a god.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
I'm still a little worried about what effects that might have if used in multiplayer.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Iss Mneur

  • 210
  • TODO:
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
You are a god.

I assume that means that it works?  I suppose that is why I didn't get more VA script from you today either, right? :P

I'm still a little worried about what effects that might have if used in multiplayer.
Well, I am not changing anything that deals with multiplayer, or the implementation of support ships, just the way that the support ship code regulates the counts.  That is, the way that a support ship is requested has not changed.  That being said, I have posted the patch for the newest build on internal for code review, before it gets committed to trunk.



Okay, new build for you three people that downloaded the last one.  Same as last time, FRED and FSO with their .pdbs can be downloaded from: http://www.box.net/shared/3vm0ql3boo.  I have played a few missions of retail and the support ship seems to be working fine.

The changes are mostly mostly code style changes, but there is a possibility that I did break something.
"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 General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
You are a god.

I assume that means that it works?  I suppose that is why I didn't get more VA script from you today either, right? :P

Are you sure you didn't get more? Kassim and a good chunk of Laporte are done.

 

Offline Iss Mneur

  • 210
  • TODO:
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
Committed in revision 6482.  Feature is activated by a seventh parameter to set-support-ship.  See the sexp help for more information.
"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 General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
Committed in revision 6482.  Feature is activated by a seventh parameter to set-support-ship.  See the sexp help for more information.

wooooooooo

  

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Request: Increase MAX_SUPPORT_SHIPS_PER_TEAM
And OS X and Windows nightlies are up that have it :)
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