tweaking unit strengths?
Moderators: Slitherine Core, The Lordz
-
nimblebooks
- Senior Corporal - Ju 87G

- Posts: 96
- Joined: Mon Nov 30, 2009 8:48 pm
tweaking unit strengths?
how would i tweak unit strengths? Let's say I want to give the Canadian Corps a slightly higher base defense than normal.
Re: tweaking unit strengths?
The file you're looking for is:
Data / Scripts / units.lua
Open it in notepad.
However, I should say that unit stats are defined by unit type, and since the Canadian Corps are of the type 'infantry', you can't give the a higher defence than other infantry units... You would have to define a new unit type for this.
Data / Scripts / units.lua
Open it in notepad.
However, I should say that unit stats are defined by unit type, and since the Canadian Corps are of the type 'infantry', you can't give the a higher defence than other infantry units... You would have to define a new unit type for this.
-
nimblebooks
- Senior Corporal - Ju 87G

- Posts: 96
- Joined: Mon Nov 30, 2009 8:48 pm
Re: tweaking unit strengths?
[quote="Myrddraal"]The file you're looking for is:
Data / Scripts / units.lua
Open it in notepad.
However, I should say that unit stats are defined by unit type, and since the Canadian Corps are of the type 'infantry', you can't give the a higher defence than other infantry units... You would have to define a new unit type for this.[/quote]
So "elite infantry"? or "especially polite infantry"?
Data / Scripts / units.lua
Open it in notepad.
However, I should say that unit stats are defined by unit type, and since the Canadian Corps are of the type 'infantry', you can't give the a higher defence than other infantry units... You would have to define a new unit type for this.[/quote]
So "elite infantry"? or "especially polite infantry"?
-
nimblebooks
- Senior Corporal - Ju 87G

- Posts: 96
- Joined: Mon Nov 30, 2009 8:48 pm
Re: tweaking unit strengths?
So "elite infantry"? or "especially polite infantry"?The file you're looking for is:
Data / Scripts / units.lua
Open it in notepad.
However, I should say that unit stats are defined by unit type, and since the Canadian Corps are of the type 'infantry', you can't give the a higher defence than other infantry units... You would have to define a new unit type for this.
\
Re: tweaking unit strengths?
For example, yeah 
Re: tweaking unit strengths?
I have opened the file to take a look, but I don´t find the quality stat, is maybe that of hp=100?
Re: tweaking unit strengths?
The 'quality' stat is not set in this file, it is generated by the game. Quality depends only on the manpower level of the nation producing the unit.
Something to note about this file - there are a fair amount of legacy stats in there. IIRC, the 'levels' are pretty much meaningless, and date from an early prototype of the research system.
Something to note about this file - there are a fair amount of legacy stats in there. IIRC, the 'levels' are pretty much meaningless, and date from an early prototype of the research system.

