![]() |
|
#1
|
|||
|
|||
![]()
i tried it for a soldier but it dont work.
I still get the empty thing. i maybe thought it has something to do with the nationality if i change the nationality to gr, then i get a error also if i dont even set a nationality. im making a mod and i dont want russian or another language voices. |
#2
|
|||
|
|||
![]()
yes, in my haste to post that, didnt have alot of time to really clarify things.
Yes, you must include the (ger) in the icon name, both in the uniticon name and in the breed so for me it reads like cole(can)_00 (can) because I added in a "Canadian" army. So you you, itd be like smg(ger)_00 in the soldier breed file it would simply read {icon "smg(ger)"} {portrait "portrait_name"} Yes, you can do the same for tanks, just that vehicles do not need the nationality. The vehicle icon name must match the name of the vehicle's entity file name so if in the name of the vehicle's entity file reads(in my case) KV7D_Bladefire I must name my unit_icon KV7D_Bladefire_00 and on down the list 01, 02, 03 its best if you make a short name for your unit_icon, it simply makes it faster... |
#3
|
|||
|
|||
![]()
Thanks. about the portrait, there are some empty holes in my portrait:
http://imageshack.us/photo/my-images/713/36641452.png/ this is maybe a little of topic but if i add a nationality in /set/breed/single/gr/(file).set and if do as nationailty "gr" and i go to editor, click on the unit in editor i crash then and if i do as nationality a existed one like rus or ger then it dont crash. what is here the problem? sorry for my bad english greets |
#4
|
|||
|
|||
![]()
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. |
#5
|
|||
|
|||
![]()
Also, in the Localization/#dlg_mp.lng file, in there you will find a section
{"groundcontrol" "Ground Control"} {"groundcontrol" {"objective" "To win, capture and hold more than a half of all the terrain."} } } {"army" {"ger" "Germany"} {"rus" "Soviet Union"} {"usa" "USA"} {"jap" "Japan"} {"can" "72nd Canadian"} {"eng" "United Kingdom"} } {"stage" {"lobby" "In lobby"} {"session" "Starting the game"} {"game" "Playing the game"} {"zone" "In lobby"} {"gslobby" "Main room"} {"gssession" "Game room"} you will have to add your nation into the "army" section "gr" for the first part and then the 2nd "72nd Canadian", that part is whatever you wish the name to be displayed as in Multiplayer. |
#6
|
|||
|
|||
![]()
Also, if you notice your new soldiers? To the right of the portrait, but above the guy's name? YOu see like
"Smg/desc/.... and what not? If you look back to my nation file and the list of the names under the nation? There you would put the breed file name and then whatever you wish to call it for me its like "can_smg" "Canadian Marine" |
#7
|
|||
|
|||
![]()
I dont know what I am doing wrong, It still gives a error . I made a desc.ing file in:
localization/desc.ing inside I have: Quote:
breed/single/gr/rifle.set inside there: Quote:
Last edited by chris10; 11-19-2012 at 04:00 PM. |
![]() |
|
|