Unit Scaling and Formation for VP

Unit Scaling and Formation for VP 12

Added support for the new Dragoon unit model from EEVP v8.
  • Pikeman scaling value for RED scaling was wrong.
  • Few civilian units had their NumMembers for SUG scaling wrong
  • Like
Reactions: Hinin
Slight changes to the table creation, not a game breaking. Just annoying for debuggers.

Now the ArtDefine_USnF table is not referencing to the ArtDefine_UnitInfos table and ArtDefine_UnitMemberInfos table.
It created a bunch of errors when the game database doesn't have a unit that exists on the ArtDefine_USnF table.
This mod has been re-done!
To fix a pesky mistake of mine that made the mod to work like 'ART_DEF_UNIT_'||'WARRIOR'||'_V2', which is actually stupid, and I was upset to myself because of that.

Now I fixed that and make the mod to work straightforward by just using the whole Art Define string like 'ART_DEF_UNIT_WARRIOR_V2'.

There are no major fixes or adjustments, aside the codes are altered slightly (which costs me like 3 days for editing all the files and testing it). So this means that if there is someone already made a custom USnF support, then sorry because you have to edit your code again to make it work for this version or future releases.

The scaling files are also slimmed down, and now there is one file for each type/category. It's easier to edit changes this way, to be honest, instead of editing separate files or line sections for just changing the scaling of one unit type.
  • Like
Reactions: Hinin
  • Mini update to make it compatible with the new custom civs that just got added.
  • Fixed a bug where Penteconter (with 4UC), Modern Destroyer and Missile Cruiser (with ENW) has duplicated NumMembers.
  • Probably some scaling values adjusted along those lines, I forgot which ones.
  • Like
Reactions: Hinin
Some stuff adjusted:
  • Adjusted some of the units formation and NumMembers to look proper in gameplay.
  • Added more formation types (which I already put to some units.)
  • Units that have multiple model variants (such as Explorer, Free Company, Bandeirantes, and Landsknecht) now have a proper formation and don't look random.
  • Added more members to Great Person units for R.E.D. scale. From previously only 3 members, now have 5 members.
  • Like
Reactions: TakkuPanda
Some minor improvements
  • Fixed some harmless bugs that bothered me.
  • Slimline the files by removing the middleman (USnF-4-COMPATIBILITY.sql) and put the code on the respective scaling files instead.
  • Added scaling multiplier that will apply to units that will be rescaled. You can adjust the value by editing the multiplier value on the USnF-Config.sql file. (Scale * ScaleMultiplier)
    • Options are:
      • Disabled the function
      • Per-unit scaling multiplier (Default)
      • Per-unit domain scaling multiplier
      • Global scaling multiplier
  • Adjusted some of the units to have proper NumMembers on the formation.
  • Added an option to change the Commando unit model to the Explorer model that came from Scramble to Africa scenario.

Oh yeah, also this mod has some features that I forgot to mention:

1. You can adjust aircraft animation speed by editing the option on the USnF-Config.sql file.
There are:
  • Normal speed
  • 1.5x speed
  • 2x speed
  • 3x speed
  • Adjusted R.E.D. Speed
2. Option to fix duplicated ship model usage.
Basically, EEVP's Galleon and Spain's 4UC use the same model, which bothers me.
Also, model of base game Privateer (now Corvette) has been replaced by VP with a new model, and that model is left unused. And with EEVP, Corvette model has been changed to another new model.

So, the solution to fix the duplicated ship model usage is to:
  • Revert the Corvette model back to the good ol' Privateer model
  • Change EEVP's Galleon model to EEVP's new Corvette model
  • Like
Reactions: TakkuPanda
Back
Top Bottom