Support Rearm Pool, Limits, and Other Features#7249
Conversation
|
This is so bleeping cool |
6d7dadf to
77c5964
Compare
|
Latest commit adds support for multiple teams. |
|
I have been testing this and thus far, everything seems good. |
|
I've tested this and so far, it all seems to work fine. |
3187de2 to
f84a697
Compare
f84a697 to
8fed549
Compare
8fed549 to
48de347
Compare
|
looks at description Sees feature list Sees FRED and qtFRED support "This must be bonkers big" Sees 1700 lines added Yup.... |
e7f1881 to
b3fbb2e
Compare
0ded503 to
e74d9ba
Compare
e74d9ba to
ce52928
Compare
|
Done |
ce52928 to
c808e64
Compare
a399231 to
f247a60
Compare
6634024 to
6285abb
Compare
BMagnu
left a comment
There was a problem hiding this comment.
Some minor issues, mostly centered around my issues with get_support_rearm_pool_tvt_team_index
6285abb to
250042e
Compare
BMagnu
left a comment
There was a problem hiding this comment.
Found two more things, but it's mostly good now
| stuff_loadout_list(support_rearm_list, ParseLookupType::MISSION_LOADOUT_WEAPON_LIST); | ||
|
|
||
| if (pm->support_ships.rearm_pool_from_loadout) { | ||
| WarningEx(LOCATION, "+Support Rearm Pool is set but +Support Rearm Pool From Loadout is also enabled! The explicit pool will be ignored.\n"); |
There was a problem hiding this comment.
Should have caught this the first time round, but these WarningEx's should really be error_display(0, ...) as well.
Especially using an Ex Warning seems overblown here.
There was a problem hiding this comment.
I disagree. This warning is recoverable and not important. I'll change it because I'm really trying to just get this in for Grizzly.
There was a problem hiding this comment.
Then at least change it to Warning
(Since Ex is the stronger one that will pop in release builds)
There was a problem hiding this comment.
(also, error_display(0, ...) is recoverable, it's like Warning but for parsing. error_display(1, ...) is a hard error)
There was a problem hiding this comment.
Uh.. what? WarningEx is behind an #ifndef NDEBUG and a commandline for extra warnings. Unless there's some overload I'm not aware of, WarningEx will not pop in release builds or in most debug runs.
Fulfills several feature requests and fixes #7248 .
$Disallow Support Rearm:can prevent a weapon from ever being rearmed.On Support Rearm StartedandOn Support Rearm Finished. Both hooks provide the support ship and the ship to rearm as hook variables.Below are the retail-compatible missions (and a table file) I used to test the features including testing standard support ship behavior.
RearmUpgradeTestFiles.zip