[ Index ] WAROFGENERALS

PHP Cross Reference of WAROFGENERALS MODS SOURCES

title

Body

[close]

/Command and conquer Generals/Call to arms/Data/INI/Default/ -> ControlBarScheme.ini (source)

   1  ;//////////////////////////////////////////////////////////////////////////////
   2  ;FILE: ControlBarScheme.ini (DEFAULT) /////////////////////////////////////////
   3  ;//////////////////////////////////////////////////////////////////////////////
   4  
   5  ;------------------------------------------------------------------------------
   6  ; How to create your own Control Bar
   7  ;------------------------------------------------------------------------------
   8  ;  What this is?
   9  ;       This file allows a user to modify or create their own Control Bar to be 
  10  ;       used ingame.  This file only deals with the look of the control bar and
  11  ;       not with any functionality.  This file is setup to be as simple as possible
  12  ;       allowing for an easy way to customize (ie. add logos, clan images, etc.)
  13  ;       the control bar.
  14  ;
  15  ;  How to use it?
  16  ;       There are three things that need to happen if one is to successfully modify
  17  ;       their control bar or add a new on.  
  18  ;
  19  ;    Layout of a ControlBarScheme
  20  ;       ControlBarScheme <Name of scheme>
  21  ;          ScreenCreationRes X:<width of the screen as an Integer> Y:<Height of the screen as an Integer>
  22  ;          Side <Side you want this Scheme to be for, Must also be included in PlayerTemplates.ini>
  23  ;          <Any Number of Image Parts Or Animation Parts>
  24  ;       End
  25  ;
  26  ;    Layout of an ImagePart
  27  ;       ImagePart
  28  ;         Position X:<Integer X Position on the screen> Y:<Integer Y Position on the Screen>
  29  ;         Size X:<Integer Width of the image> Y:<Integer Height of the Image>
  30  ;         ImageName <name of the image you added in the data\MappedImage\CustomImages Directory>
  31  ;         Layer <Integer value equal to 0-5> ; see above
  32  ;       End
  33  
  34  ;          ImagePart  ; Any Number of these can be used to draw the control bar
  35  
  36  
  37  ;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  38  ;; File must always contain an entry for Default! This is the defualt command bar that will come up
  39  ;; if someone does the debug ctrl+Shift+space and lands on a civilian or something weird
  40  ;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  41  ControlBarScheme Default
  42    ScreenCreationRes X:800 Y:600
  43    QueueButtonImage SCBigButton
  44    RightHUDImage UnitBackgroundA
  45    CommandBarBorderColor R:0 G:21 B:126 A:255   ;blue
  46    BuildUpClockColor R:0 G:0 B:0 A:160
  47    ButtonBorderBuildColor R:67 G:108 B:190 A:255   ;blue
  48    ButtonBorderActionColor R:1 G:175 B:2 A:255     ;Green
  49    ButtonBorderUpgradeColor R:208 G:108 B:0 A:255  ;Orange
  50    ButtonBorderSystemColor R:207 G:195 B:2 A:255   ;yellow
  51    
  52    GenBarButtonIn SABarButtonGen2IN
  53    GenBarButtonOn SABarButtonGen2ON
  54    
  55    ToggleButtonUpIn SAMinMaxUH
  56    ToggleButtonUpOn SAMinMaxU
  57    ToggleButtonUpPushed SAMinMaxUP
  58  
  59    ToggleButtonDownIn SAMinMaxH
  60    ToggleButtonDownOn SAMinMax
  61    ToggleButtonDownPushed SAMinMaxP
  62  
  63    OptionsButtonEnable SAOptions
  64    OptionsButtonHightlited SAOptionsH
  65    OptionsButtonPushed SAOptionsP
  66    
  67    IdleWorkerButtonEnable SAWorker
  68    IdleWorkerButtonHightlited SAWorkerH
  69    IdleWorkerButtonPushed SAWorkerP
  70    IdleWorkerButtonDisabled SAWorkerI
  71    BuddyButtonEnable SAChat
  72    BuddyButtonHightlited SAChatH
  73    BuddyButtonPushed SAChatP
  74   
  75    BeaconButtonEnable SABeacon
  76    BeaconButtonHightlited SABeaconH
  77    BeaconButtonPushed SABeaconP
  78  OptionsButtonDisabled SAOptionsI
  79  BuddyButtonDisabled SAChatI
  80  BeaconButtonDisabled SABeaconI
  81  
  82    GeneralButtonEnable SAGeneral
  83    GeneralButtonHightlited SAGeneralH
  84    GeneralButtonPushed SAGeneralP
  85    GeneralButtonDisabled SAGeneralI
  86  
  87    UAttackButtonEnable SAUAttackI
  88    UAttackButtonHightlited SAUAttackH
  89    UAttackButtonPushed SAUAttackP
  90  
  91    MinMaxButtonEnable SAMinMax
  92    MinMaxButtonHightlited SAMinMaxH
  93    MinMaxButtonPushed SAMinMaxP
  94  
  95    MinMaxUL X:646 Y:432
  96    MinMaxLR X:718 Y:463
  97    GeneralUL X:719 Y:432
  98    GeneralLR X:799 Y:463
  99    UAttackUL X:136 Y:413
 100    UAttackLR X:178 Y:430
 101  
 102    OptionsUL X:195 Y:490
 103    OptionsLR X:229 Y:514
 104    WorkerUL X:195 Y:516
 105    WorkerLR X:229 Y:540
 106    ChatUL X:195 Y:568
 107    ChatLR X:229 Y:592
 108    BeaconUL X:195 Y:545
 109    BeaconLR X:229 Y:566
 110  
 111    PowerBarUL X:256 Y:466
 112    PowerBarLR X:542 Y:481
 113    ExpBarForegroundImage SAExpBar
 114    MoneyUL X:360 Y:437
 115    MoneyLR X:439 Y:456
 116  
 117    GenArrow USLevelUP
 118    CommandMarkerImage SAEmptyFrame
 119    ImagePart
 120      Position X:0 Y:408
 121      Size X:800 Y:191
 122      ImageName InGameUIAmericaBase
 123      Layer 4 ;; layer means how deep the image will be drawn, it's a number between 0-5 with 0 being on top 
 124    End
 125  End
 126  


Generated: Sat Mar 28 08:18:23 2009 Cross-referenced by PHPXref 0.7