Changing Costs of Commanders

A secret place for modders to chat and ask questions. Requires forum registration.

Moderators: firepowerjohan, Happycat, rkr1958, Slitherine Core

Post Reply
JonnyA
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 22
Joined: Wed Jun 25, 2008 7:51 am

Changing Costs of Commanders

Post by JonnyA »

I am having trouble changing the costs of the Commanders, as I want to reduce them, to get more use out of them in the game. I have changed the costs listed in both the leader.txt and leader_eng.txt files, but in the game they are still the same when I run it. Are the leaders defined anywhere else? What is happening?

Also, can anyone explain the difference between the .txt and _eng.txt files?
Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4745
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Post by Peter Stauffenberg »

I think I read somewhere that the leader prices are automatically calculated from their stats. Try manipulating with the stats and learn how the prices change.
JonnyA
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 22
Joined: Wed Jun 25, 2008 7:51 am

Post by JonnyA »

When I change the other stats in the leader.txt file, the ones used in the game still don't change. It is as if they are hard coded?!? Does anyone know?
firepowerjohan
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1878
Joined: Mon May 22, 2006 7:58 pm
Contact:

Post by firepowerjohan »

The cost in script are not used, game instead uses a formula for deciding the cost.
Johan Persson - Firepower Entertainment
Lead Developer of CEAW, CNAW and World Empires Live (http://www.worldempireslive.com)
JonnyA
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 22
Joined: Wed Jun 25, 2008 7:51 am

Post by JonnyA »

But are the stats in the .txt file used by the game?
firepowerjohan
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1878
Joined: Mon May 22, 2006 7:58 pm
Contact:

Post by firepowerjohan »

no
Johan Persson - Firepower Entertainment
Lead Developer of CEAW, CNAW and World Empires Live (http://www.worldempireslive.com)
Post Reply

Return to “Commander - Europe at War : Modders Corner”