View Single Post
Old 01-23-2003, 05:47 AM   #1 (permalink)
Phoib
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default INI File Research Thread

And try to guess what's what for...

DISCLAIMER: Since Generals isn't publicly released and therefore not available for modding, these are but wild guesses!!! Information to be used/corrected freely.

PlayerTemplate.ini

Please note the notes:

Quote:
;//////////////////////////////////////////////////////////////////////////////
;Note Note Note Note Note Note Note Note Note Note Note Note Note
;//////////////////////////////////////////////////////////////////////////////
; There is a dependency between the player template member Side and the ControlBarScheme.ini
; files side. If you add a new side here, make sure the ControlBarScheme.ini contains a new
; control bar with that new side as its side. Otherwise it will use the Observer8x6 control bar.
; Talk to CLH if there's issues with this.
;//////////////////////////////////////////////////////////////////////////////
;Note Note Note Note Note Note Note Note Note Note Note Note Note
;/////////////////////////////////////////////////////////////////////////////

Keep this in mind.

I'm using both America and Observer as example:

Quote:
PlayerTemplate FactionObserver
Side = Observer
PlayableSide = No
IsObserver = Yes
StartMoney = 0
PreferredColor = R:255 G:255 B:255
IntrinsicSciences = None
DisplayName = INI:FactionObserver
ScoreScreenImage = MutiPlayer_ScoreScreen
BeaconName = MultiplayerBeacon
SideIconImage = GameinfoOBSRVR
End

PlayerTemplate FactionAmerica
Side = America
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:0 G:0 B:255
IntrinsicSciences = SCIENCE_AMERICA
PurchaseScienceCommandSetRank1 = SCIENCE_AMERICA_CommandSetRank1
PurchaseScienceCommandSetRank3 = SCIENCE_AMERICA_CommandSetRank3
PurchaseScienceCommandSetRank8 = SCIENCE_AMERICA_CommandSetRank8
DisplayName = INI:FactionAmerica
StartingBuilding = AmericaCommandCenter
StartingUnit0 = AmericaVehicleDozer
ScoreScreenImage = America_ScoreScreen
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkUSA
EnabledImage = SSObserverUSA
BeaconName = MultiplayerBeacon
SideIconImage = GameinfoAMRCA
End

PlayerTemplate:Tells the parser that after this there is a side starting, with after this the name. This name is also used for the CFG file.
Side Tells the Parser what it should look for in other files. (eg owner= tag in RA2)
PlayableSide Selectable as player?
IsObserver Is this side an observer? Default is no.
StartMoney Money to start with. Where? I don't know.
PreferredColor The colour to be used as default by this side. Consists of an RGB value.
IntrinsicSciences Which Sciences scheme to use?
PurchaseScienceCommandSetRank1 Which Science set can be purchased at Rank 1?
PurchaseScienceCommandSetRank3 Which Science set can be purchased at Rank 3?
PurchaseScienceCommandSetRank8 Which Science set can be purchased at Rank 8?
DisplayName Which name to be displayed? (Look in CFG file)
StartingBuildingWhich Building should be considered the starting building? (eg CY in previous games)
StartingUnit0 Which unit to be considered the starting units when beginning with 0 units? Typicly a Dozer/worker type of unit.
ScoreScreenImage Which image to be used in score screen?
FlagWaterMark No clue yet
EnabledImage No clue yet
BeaconName What Beacon should I look for in FactionProp.ini? Use MultiplayerBeacon as default.
End End the Faction data.
Phoib is offline   Reply With Quote