HDIAndrew / EFS

12 stars 0 forks source link

Unit Formations #37

Open Ormagoden2088 opened 2 years ago

Ormagoden2088 commented 2 years ago

Description:

Maybe we can have Units be built in "formations" Example: We have 3 different versions of a Infantry Legion.

  1. Infantry Corp
  2. Infantry Battalion
  3. Infantry Division The Infantry corp would be the same unit we have now for Infantry Legion but the Infantry Battalion would have 3x the costs and 3x the stats of a Infantry Corp. Basically we would be stacking units.

Commit hash:

<#### Why is it good for the game?: New level of strategy

Xenotrenium commented 2 years ago

Adding this mechanic or adding variants of units is probably a bit beyond the scope. Having 3 infantry merged into a super infantry, or 9 into an ultra-infantry sounds a bit cool, but it's (probably) not going to happen I'm afraid.

We'd either need to

  1. Add a mechanic that allows one to stack a regular unit with another, meaning a bunch of changes. 1a. Such as graphical feedback (or new art) 1b. And a bunch of new code 1c. Rebalancing of all units 1d. AI considerations 1extra. Should we allow merging three existing units into another one?

  2. Add unit variants to each entry to simulate the increased size Which means less new functionality, but still having an entire new layer of which we would have to redesign around.

I think the path to getting better units should rely more on technology.

Note, I think you could emulate a lot of this in a mod. Adding unit variants that may or may not require the input of a previous unit as a base to recruit the new one.

I hope I understood your suggestion, notify if I misunderstood something!

Ormagoden2088 commented 2 years ago

Option 2 seem more likely. I did try adding another line in unit.dat in which I copied the standard infantry stats and multiplied the new line by 3 for stats and costs it worked but it shifted all the art work around and made it wonky

Xenotrenium commented 2 years ago

I'd happily join in on your modding efforts as I have quite a bit of experience. Designing mods themselves is a bit outside of what these Git issues are about, although we'd have to make sure that creating mods works as intended - or perhaps make a case that certain functionality for modding might be prudent to add. I'm interested in figuring out what you are doing and if everything is done "as intended", we might need to investigate further. I'll hit you up in discord :)

Edit: No broken functionality found, a dat edit fixed the incorrect display.