The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Discuss: Survivor.Count
#1
I pondered adding Survivor.Count as requested by EVA-251 while adding the Veteran/Elite chances; request was as followed:

EVA-251 Wrote:I hope this wouldn't be considering suggestion hijacking, but I believe that a tag along the lines of Survivor.Count= could also be a useful addition to the logic. I've always found it weird that only a single guy would escape out of a 4-man battle tank every time.

While I thought about how to implement this, though, I ran into a rather basic problem: How to determine how many pilots any given tank has?

The obvious go-to solution would be Size=, but Size has been used for different purposes by Westwood - it determines, true to its name, the dimension or volume of the object - meaning that, in practice, several very different types of tanks have the same size values:

Harvester, IFV, Grizzly, Mirage, Prism: Size=3
MCVs, Apocalypse, Mastermind, Battle Fortress: Size=6
The Landing Craft, which also goes over land, has Size=16

Does a Mastermind have a driver at all?
If the IFV had more than one crew, what would it need a gunner for?
Are there really six people walking around inside an Apocalypse or BFT?

You may wonder why this is important; it's important for the question of default values. What to do if Survivor.Count is not given?
  • No survivors?
  • Only one survivor?
  • Survivors based on some other default attribute?
Because, while one could argue that it's the modder's responsibility to ensure his mod is balanced, sentencing people to update every single tank in the game would be unfortunate.

In addition, there is a secondary question to consider: Should Passengers and Pilots add up?
e.g. if you assume 2 drivers for a Battle Fortress, and 5 Passengers - do you at best get the Passengers back, or up to 7 people?

And then there's the question of limits...assume we add this logic, and assume we use Size as a default. Assume also that we are lucky, and get the full amount of crew back.

Code:
[E1]
Cost=200

[FV]
Cost=600
Size=3

In the luckiest case, someone would make no monetary loss from losing an IFV at all. That sort of fucks up the balance. We cannot make that the default.
And that's only assuming crew.
Imagine we do code it so that Pilots and Passengers add up, and say the Pilot is a Chrono Legionaire.
Imagine how frustrating it is to the enemy to destroy 2100 credits worth of equipment, and the player just shrugs it off and bodyguards the CLEG with his new squad of GIs.

This poses the question: Should there be a hardcoded limit?
Something like "the combined value of all survivors must not exceed half the cost of the dying unit"?

On a technical level, the flag itself should be easy to do. Just make more people spawn.
In the easiest case, we can just say "obey Survivor.Count, and if it doesn't exist, behave as before; don't check who or what the survivors are". That's perfectly possible. But it would leave all default units with one or less survivors, and would open the gates for $100 tanks which spawn $10000 worth of survivors.

On the other hand, the latter can be intended. One could, for example, create a tank that opens a gate to the future, make the deploy weapon a suicide weapon, use a shiny vortex as the destruction animation, and then have Survivor.Count = 100. That's a reasonable usage of the system, no matter how much free equipment the player gets through it.

Opinions? Suggestions?
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply


Messages In This Thread
Discuss: Survivor.Count - by Renegade - 26.09.2009, 22:52:24
RE: Discuss: Survivor.Count - by MRMIdAS - 26.09.2009, 23:35:08
RE: Discuss: Survivor.Count - by Renegade - 27.09.2009, 00:15:34
RE: Discuss: Survivor.Count - by Lt Albrecht - 27.09.2009, 00:51:04
RE: Discuss: Survivor.Count - by MRMIdAS - 27.09.2009, 05:25:42
RE: Discuss: Survivor.Count - by Modder666 - 28.09.2009, 03:06:49
RE: Discuss: Survivor.Count - by mt. - 28.09.2009, 04:53:42
RE: Discuss: Survivor.Count - by Renegade - 28.09.2009, 05:22:53
RE: Discuss: Survivor.Count - by mt. - 28.09.2009, 06:11:30
RE: Discuss: Survivor.Count - by Renegade - 28.09.2009, 07:03:19
RE: Discuss: Survivor.Count - by Renegade - 28.09.2009, 21:47:26
RE: Discuss: Survivor.Count - by eva-251 - 29.09.2009, 02:10:58
RE: Discuss: Survivor.Count - by Renegade - 29.09.2009, 02:34:08
RE: Discuss: Survivor.Count - by Tempest - 02.10.2009, 11:57:40
RE: Discuss: Survivor.Count - by Renegade - 03.10.2009, 05:08:29



Users browsing this thread: 1 Guest(s)