Thread: unit icons
View Single Post
  #7  
Old 11-19-2012, 12:40 AM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Its because the game has a few other files you have to change for the game to accept your new nationality. Is "gr" the new nation you are creating?

I made "can" for canadians...I will have to look through and see everything I changed to get that to work.

For starters, in your "localization/desc.lng file, have you added in your new nation there?

Follow the pattern in there and add your new nation.

Here is my .lng file with my new nation.

{"rifle2" "rifleman"}
{"rifle3" "rifleman"}
{"smg2" "SMG infantry"}
{"smg3" "SMG infantry"}
{"sturmovik2" "assault infantry"}
{"sturmovik3" "assault infantry"}
{"elite3" "commando"}
{"at_rifle" "AT infantry"}
}
{"can"
{"smg" "Canadian Submachinegunner"}
{"smg2" "Canadian Submachinegunner"}
{"smg3" "Canadian Submachinegunner"}
{"bazooker" "Canadian Anti-Tankman"}
{"sniper" "Canadian Sniper"}
{"sturmovik" "Assault Marine"}
{"sturmovik2" "Assault Marine"}
{"sturmovik3" "Assault Marine"}
{"rifle" "Canadian Rifleman"}
{"rifle2" "Canadian Rifleman"}
{"rifle3" "Canadian Rifleman"}
{"mgun" "Canadian Machinegunner"}
{"tankman" "Canadian Tanker"}
{"tankman2" "Canadian Tanker"}
{"tankman3" "Canadian Tanker"}
{"oficer" "Officer"}
}
{"jap"
{"antipersonel_miner" "combat engineer (AP mines)"}
{"antitank_miner" "combat engineer (AT mines)"}
{"at_rifle" "AT infantry"}
{"bazooker" "rocket-launcher infantry"}
{"engineer" "engineer"}
{"flamer" "flamethrower infantry"}
{"kamikaze" "kamikaze"}
{"mgun" "machine gunner"}
{"oficer" "officer"}
{"rifle" "rifleman"}

In your case, if "gr" is your new nation, in the spot where "can" is, you would instead put "gr".

Last edited by KnightFandragon; 11-19-2012 at 12:42 AM.
Reply With Quote