Posted by: pakhibirdy - Sunday, March 10, 2013 9:00:02 AM
Do any of you guys know how to create a new general? I've added a new general in Player Template.ini and also added it in ControlBarScheme.ini. A new general has been created and is shown in skirmish menu under army selection drop down box. But the problem is it isn't showing the right name. It is showing "MISSING: 'SIDE:AmericaNewGeneral'" where 'USA New General' should be shown.

Posted by: Rrtaya_tsamsiyu - Sunday, March 10, 2013 9:42:00 AM
Easiest way to fix that is to download the [url=www.cnclabs.com/public/files/Me%20Myself%20and%20Pi/Zero%20Hour%20STR%20File.zip]Generals STR file[/url] from this site. You can find the post that file is in [url=http://cnclabs.com/forums/cnc_postst4622_-Public-Sources.aspx]here[/url]. Just scroll down to the post made by MeMyselfandPi. This file goes in the Data folder in your main Generals ZH directory. if your modding regular Generals, there's a version of that file for Generals in the post linked to above. Anyways, this file is basically a generals.csf that you can edit in notepad. You would need a special program to edit the real generals.csf, so this generals.str is alot better. What this file does is displays all of the text in the game. Whenever you see any text in the game, theres a string in this file supporting it. Basically what you need to do, is look at what it says in game after the MISSING:. Make a entry in that STR file with that. On the next line down, put the name of your faction in quotation marks. The next line put the word End. Example; missing thingy ingame; MISSING:'SIDE:AmericaNewGeneral' Code you need to put in generals.str; SIDE:AmericaNewGeneral “New General” End Looking at the different entrys already there will help you learn more about what this file does. EDIT; End is supposed to be all caps, END not End. Haven't tested to see this file is case-sensitive, but all the other ENDs are all caps.

Posted by: pakhibirdy - Thursday, March 14, 2013 1:04:58 PM
How to build the AI for new general? I know how to write scripts, how to build teams. But how to add a new skirmish player? I added the skirmish players by and then added a new player like this: Edit -> Edit player list... -> Add Skirmish Players I saw there are players like this: (neutral) PlyrCivilian="PlyrCivilian" SkirmishAmerica="SkirmishAmerica" SkirmishChina="SkirmishChina" SkirmishGLA="SkirmishGLA" So, I've tried: Edit -> Edit player list... -> New Player SkirmishAmericaNewGeneral="SkirmishAmericaNewGeneral" then loaded scripts and made changes and finally exported all scripts as SkirmishScripts.scb But when I'm opening world builder again and adding skirmish players for editing (Edit -> Edit player list... -> Add Skirmish Players) the same players are being added, excluding my new player. So, how to do this? I mean how to permanently add a new player? What is the error here?