Author Topic:  Calculating Mech Tonnage  (Read 255 times)

10 Apr 17

Read 255 times

Offline SeanLang

  • NGNG Founder
  • Legendary
  • *

Question: I'm trying to figure out how to calculate how much free tonnage a mech has when stripped of all equipment + weapons.

Solved
Example: COM-A 25 Ton
Armor: 6 ton
Structure: 2.5 ton
Engine: -4.5 ton //basically a free modifier used by dev's to raise/lower tonnage to fit their needs
Weapons:
4 x SRM 3 ton / 12 ton **accounts for 1 ammo each
1 laser 4 ton
Gyroscope: 2 ton
Cockpit: 3 ton
« Last Edit: 10 Apr 17 by SeanLang »

10 Apr 17

Reply #1

Offline RizZen

  • Members
  • Veteran
  • *

As I've noticed tonnage and weapons only have a fictive relation.


Physical in mc total tonnage of mech and equipment tonnage doesn't have any relation.


It means you could have a mech with 25t tonnage but 200t weapon loadoat for example when you modify the fit file right.


Logically weight must drop when u unmount weapons. But in game total tonnage for mech always is same no matter how much equipment is mounted.


Perfect example is Ace's mad cat or the mechs from specific commanders in story which have names like strikes uller or the special masakari editions from battlefield.


I'm actually creating a savegame containing all of these. When I have finished testing my campaign I can extract the unique mech profiles and upload them here.
Then you can see the differences compared with extracted game source of vanilla versions of mechs.
« Last Edit: 10 Apr 17 by RizZen »

10 Apr 17

Reply #2

Offline SeanLang

  • NGNG Founder
  • Legendary
  • *

As I've noticed tonnage and weapons only have a fictive relation.


Physical in mc total tonnage of mech and equipment tonnage doesn't have any relation.


It means you could have a mech with 25t tonnage but 200t weapon loadoat for example when you modify the fit file right.


Logically weight must drop when u unmount weapons. But in game total tonnage for mech always is same no matter how much equipment is mounted.

What other file controls mech attributes?

10 Apr 17

Reply #3

Offline RizZen

  • Members
  • Veteran
  • *

Only the fit file.


Other files which change mechs values could be mission *.abl scripts.
But they also contain the same code.


Other files containing mech attributes are .fit files in save games like start0.pkk for example but this is also the same code but these fit files contain also some differences from the others cause there are included informations like what pilot and if assigned or not.
« Last Edit: 10 Apr 17 by RizZen »

10 Apr 17

Reply #4

Offline SeanLang

  • NGNG Founder
  • Legendary
  • *

Only the fit file.


Other files which change mechs values could be mission *.abl scripts.
But they also contain the same code.


Other files containing mech attributes are .fit files in save games like start0.pkk for example but this is also the same code but these fit files contain also some differences from the others cause there are included informations like what pilot and if assigned or not.

OK I think it's structure tonnage.