Question on adding Shock Values to Infantry
Posted: Thu Aug 21, 2014 11:42 am
I am thinking about modding the game to take out most of the support units, and instead make the technologies change and improve the capabilities of the basic units (infantry in most cases).
So, for example, I'd like to take out the artillery unit and add in a shock value to infantry units. As the artillery technology improves, the shock value improves, etc.
In the .lua files, I changed the infantry shock value to a 1, and for some reason it still shows up as 0 (no matter what number I put in there). The other numbers change, so I know I am using the correct .lua file.
And if I change the shock value of, say cavalry or artillery, that changes correctly.
Any ideas?
So, for example, I'd like to take out the artillery unit and add in a shock value to infantry units. As the artillery technology improves, the shock value improves, etc.
In the .lua files, I changed the infantry shock value to a 1, and for some reason it still shows up as 0 (no matter what number I put in there). The other numbers change, so I know I am using the correct .lua file.
And if I change the shock value of, say cavalry or artillery, that changes correctly.
Any ideas?
