General_Info
12 years ago
The sidebar is missing on a New Faction

So far, I can modify any of the existing factions without issue although I've done nothing more than 'borrow' another teams units and abilities but when I try to create a New Faction the sidebar is missing

To avoid issues, I striped out everything and started again by extracting and modifying the following files.

\Data\INI\PlayerTemplate.ini

Copied the China faction and altered the following lines

(Please note that in each of the following segments I copied and pasted the entire block of code but for readability here I've only shown the lines I've altered)



PlayerTemplate FactionMyTest
  Side              = MyTest
  ...
  DisplayName       = INI:FactionMyTest

\Data\INI\ControlBarScheme.ini

Again, copied the China faction and altered the following lines


ControlBarScheme MyTest8x6
  ...
  Side MyTest

\Data\English\generals.csf

Used a csf editor to insert the following two entries


string = INI:FactionMyTest
value  = MyTest

string = SIDE:MyTest
value  = MyTest

On a side note:
The above operations were based on tutorial instructions I read elsewhere and at this point the game loads and the new faction can be played (all be it, without the sidebar).
However, at the end of the game the Victory window failed to launch once all enemies were eliminated. To solve this I found some helpful and very detailed instructions on the forum post Adding Victory/Defeat scripts 




But my original problem remains ..

I wish to enable the sidebar on my NewFaction within the original Generals game (skirmish mode).

I've seen the topic elsewhere but the solution offered was for ZeroHour and that has code that Generals lacks, so while there is much that is similar, I'm looking for a Generals solution please.

Your help would indeed be appreciated and the more detailed the instructions the better. Thank you.
Sponsor