Edit tanks values.

artaban51
Specialist
Posts: 16
Joined: Mon 24 Apr 2017 13:38
Location: France
Contact:

Edit tanks values.

Postby artaban51 » Tue 25 Apr 2017 06:47

Hello all,

I would like to know, i looked at files, but dont find how to edit tanks, where are values like speed, armouring?

BTW, thanks very much for theses modding tools and this game which remeber me, close combat game and steel pather game too.

Merci beaucoup.
Le temps est venu d'ouvrir vos yeux, regardez, observez, écoutez, comprenez, entendez, réfléchissez, pensez, cogitez, changez et agissez!

Hulor
Staff Sergeant
Posts: 87
Joined: Mon 10 Apr 2017 15:25
Contact:

Re: Edit tanks values.

Postby Hulor » Tue 25 Apr 2017 09:31

Hi,

You can find all units stats in \GameData\Gameplay\Gfx\Generated\UniteDescriptor.ndf

artaban51
Specialist
Posts: 16
Joined: Mon 24 Apr 2017 13:38
Location: France
Contact:

Re: Edit tanks values.

Postby artaban51 » Tue 25 Apr 2017 10:45

Thanks for your answer.

In the top of this file (And others files) it is written : // Ne pas éditer, ce fichier est auto-généré ! aka do not edited, this file is generated.

Therefore, can i edit this file, even if it is written this?
Le temps est venu d'ouvrir vos yeux, regardez, observez, écoutez, comprenez, entendez, réfléchissez, pensez, cogitez, changez et agissez!

Hulor
Staff Sergeant
Posts: 87
Joined: Mon 10 Apr 2017 15:25
Contact:

Re: Edit tanks values.

Postby Hulor » Tue 25 Apr 2017 11:26

Yes, those comments are internal reminders, it doesn't concern modders.

artaban51
Specialist
Posts: 16
Joined: Mon 24 Apr 2017 13:38
Location: France
Contact:

Re: Edit tanks values.

Postby artaban51 » Tue 25 Apr 2017 11:45

Thanks.

Looking at files and back in case of questions.

Regards.
Le temps est venu d'ouvrir vos yeux, regardez, observez, écoutez, comprenez, entendez, réfléchissez, pensez, cogitez, changez et agissez!

User avatar
D-M
Posts: 8715
Joined: Sat 23 Jul 2011 11:10
Contact:

Re: Edit tanks values.

Postby D-M » Tue 25 Apr 2017 11:58

Thank god it's generated, I wouldn't be the one having to maintain that file. Unlike \GameData\Gameplay\Gfx\Generated\PlaceholderModelCadavre.ndf to the dismail of one of the dev it seems. :lol:
Image

artaban51
Specialist
Posts: 16
Joined: Mon 24 Apr 2017 13:38
Location: France
Contact:

Re: Edit tanks values.

Postby artaban51 » Tue 25 Apr 2017 13:24

I am looking for changing range for weapons. But i dont understant how it is working.

By exemple, export Ammo_Panzerschreck is TAmmunitionDescriptor from the Ammunition.ndf file. In game, the range is 250 meters, in the weapon's description it is :

PorteeMaximale = ((1250) * Metre)

If i am right, this is the value i have to modifiy, but without succes. If i write 1000 instead of 1250, will the value become 100 meters in game? What is the value of "Metre"?

And the value, PhysicalDamages = 3.0, is the perforation of weapons?
Le temps est venu d'ouvrir vos yeux, regardez, observez, écoutez, comprenez, entendez, réfléchissez, pensez, cogitez, changez et agissez!

User avatar
Gronank
Colonel
Posts: 2511
Joined: Tue 8 Nov 2011 23:40
Contact:

Re: Edit tanks values.

Postby Gronank » Tue 25 Apr 2017 14:22

Metre is 1/5 of an ingame meter.
PhysicalDamages is likely all kinds of non AP damage (HE, bullet, et.c.)
AP damage is defined by the Arme property and takes values found in the enumerations in ArmeArmure.ndf

I do not know how AP maps to penetration chance. If someone has figured that out, please share.
Image

artaban51
Specialist
Posts: 16
Joined: Mon 24 Apr 2017 13:38
Location: France
Contact:

Re: Edit tanks values.

Postby artaban51 » Tue 25 Apr 2017 21:11

Thanks.

I would like to know about 4 values :

- How to increase income rate,

- Increase activation slots numbers,

- Modify unities prices,

- Increase available units numbers.
Le temps est venu d'ouvrir vos yeux, regardez, observez, écoutez, comprenez, entendez, réfléchissez, pensez, cogitez, changez et agissez!

User avatar
D-M
Posts: 8715
Joined: Sat 23 Jul 2011 11:10
Contact:

Re: Edit tanks values.

Postby D-M » Tue 25 Apr 2017 21:48

artaban51 wrote:Thanks.

I would like to know about 4 values :

- How to increase income rate,
gamedata/gameplay/constante/GDconstante.ndf
look for the variables MoneyWinPerAllianceInConquestMode, you can change the income for each game mode and each income option.

- Increase activation slots numbers,
gamedata/Gameplay/deck/generated/division.ndf
look for your division => MaxActivationPoints and CostMatrix describe how much AP you can use and how they are divided among the categories.


- Modify unities prices,
UniteDescriptor.ndf => find the unite you want, find in its module map a module selector whose ControllerName = EControllerName/Production, the default reference is a TModernWarfareProductionModuleDescriptor that contain the variable ProductionPrice.

- Increase available units numbers.
Depends, if you mean the pack numbers, then it's the value of each item of the PackList map in gamedata/Gameplay/deck/generated/division.ndf
For the number of unit per pack....

Image

Who is online

Users browsing this forum: No registered users and 1 guest