home *** CD-ROM | disk | FTP | other *** search
/ CD Action 40 / cdactionmagazinecoverdisc401999.iso / civ / setup / data / civdemo.ctp / ctp_data / english / uidata / layouts / helptile.ldl < prev    next >
Text File  |  1999-06-23  |  10KB  |  474 lines

  1. HelpTileWindow {
  2.     string    pattern    "upba3010.tga"
  3. #    int     xpix        241
  4. #    int     ypix        103
  5.     string    xanchor        "center"
  6.     string    yanchor        "center"
  7.     int    widthpix    546
  8.     int    heightpix    173
  9.     ExitButton {
  10.         string    image0    "upba1811.tga"
  11.         int xpix        508
  12.         int ypix        9
  13.         int    widthpix    28
  14.         int    heightpix    23
  15.     }
  16.     TileName:T_FONT1_14 {
  17.         string xanchor "center"
  18.         string yanchor "top"
  19.         string pattern "upba3010.tga"
  20.         int widthpct 50
  21.         int heightpct 10
  22.         string text "str_ldl_BRACKET_TILENAME"
  23.     }
  24.     FoodN:T_FONT1_14 {
  25.         string pattern "upba3010.tga"
  26.         int     xpix        15
  27.         int     ypix        70
  28.         int widthpix     100
  29.         int heightpix    15
  30.         string textblttype "fill"
  31.         string text    "str_ldl_Food_COLON"
  32.     }
  33.     FoodV:T_FONT1_14 {
  34.         string pattern "upba3010.tga"
  35.         int     xpix        120
  36.         int     ypix        70
  37.         int widthpix     40
  38.         int heightpix    15
  39.         string textblttype "fill"
  40.     }
  41.     ProdN:T_FONT1_14 {
  42.         string pattern "upba3010.tga"
  43.         int     xpix        15
  44.         int     ypix        90
  45.         int widthpix    100
  46.         int heightpix    15
  47.         string textblttype "fill"
  48.         string text    "str_ldl_Production_COLON"
  49.     }
  50.     ProdV:T_FONT1_14 {
  51.         string pattern "upba3010.tga"
  52.         int     xpix        120
  53.         int     ypix        90
  54.         int widthpix    40
  55.         int heightpix    15
  56.         string textblttype "fill"
  57.     }
  58.     MoveN:T_FONT1_14 {
  59.         string pattern "upba3010.tga"
  60.         int     xpix        15
  61.         int     ypix        110
  62.         int widthpix    100
  63.         int heightpix    15
  64.         string textblttype "fill"
  65.         string text    "str_ldl_Movement_Cost_COLON"
  66.     }
  67.     MoveV:T_FONT1_14 {
  68.         string pattern "upba3010.tga"
  69.         int     xpix        120
  70.         int     ypix        110
  71.         int widthpix    40
  72.         int heightpix    15
  73.         string textblttype "fill"
  74.     }
  75.     GoodN:T_FONT1_14{
  76.         string pattern "upba3010.tga"
  77.         int     xpix        370
  78.         int     ypix        90
  79.         int widthpix    70
  80.         int heightpix    15
  81.         string textblttype "fill"
  82.         string text    "str_ldl_Goods_COLON"
  83.     }
  84.     GoodV:T_FONT1_14{
  85.         string pattern "upba3010.tga"
  86.         int     xpix        440
  87.         int     ypix        90
  88.         int widthpix    100
  89.         int heightpix    15
  90.         string textblttype "fill"
  91.     }
  92.     SaleN:T_FONT1_14{
  93.         string pattern "upba3010.tga"
  94.         int     xpix        370
  95.         int     ypix        110
  96.         int widthpix    70
  97.         int heightpix    15
  98.         string textblttype "fill"
  99.         string text    "str_ldl_Sale_Value_COLON"
  100.     }
  101.     SaleV:T_FONT1_14{
  102.         string pattern "upba3010.tga"
  103.         int     xpix        440
  104.         int     ypix        110
  105.         int widthpix    100
  106.         int heightpix    15
  107.         string textblttype "fill"
  108.     }    
  109.     GoldN:T_FONT1_14{
  110.         string pattern "upba3010.tga"
  111.         int     xpix        370
  112.         int     ypix        70
  113.         int widthpix    70
  114.         int heightpix    15
  115.         string textblttype "fill"
  116.         string text    "str_ldl_Gold_COLON"
  117.     }
  118.     GoldV:T_FONT1_14{
  119.         string pattern "upba3010.tga"
  120.         int     xpix        440
  121.         int     ypix        70
  122.         int widthpix    100
  123.         int heightpix    15
  124.         string textblttype "fill"
  125.     }
  126.     
  127.     TileImage {
  128. #        string pattern "cloudmap.tga"
  129.         int     xpix        191
  130.         int     ypix        60
  131.         int widthpix    159
  132.         int heightpix    80
  133.     }
  134.     TileITop {
  135.         string image0 "upba2420.tga"
  136.         int     xpix        174
  137.         int     ypix        45
  138.         string    imagebltflag    "chromakey"
  139.     }
  140.     TileIBottom {
  141.         string image0 "upba2421.tga"
  142.         int     xpix        176
  143.         int     ypix        140
  144.         string    imagebltflag    "chromakey"
  145.     }
  146.     TileITL {
  147.         string image0 "upba1403.tga"
  148.         int     xpix        171
  149.         int     ypix        60
  150.         string    imagebltflag    "chromakey"
  151.     }
  152.     TileITR {
  153.         string image0 "upba1402.tga"
  154.         int     xpix        350
  155.         int     ypix        60
  156.         string    imagebltflag    "chromakey"
  157.     }
  158.     TileIBL {
  159.         string image0 "upba1623.tga"
  160.         int     xpix        171
  161.         int     ypix        112
  162.         string    imagebltflag    "chromakey"
  163.     }
  164.     TileIBR {
  165.         string image0 "upba1622.tga"
  166.         int     xpix        350
  167.         int     ypix        112
  168.         string    imagebltflag    "chromakey"
  169.     }
  170. }
  171. # ########################################################
  172. # WINDOW ART this should be in a general place
  173. # IT is important for resize to work correctly that that all dimension and position
  174. # values do not change there is a dependency base on the original size of the 
  175. # help tile box
  176. # ########################################################
  177. FancyTL {
  178.     string    pattern    "upba2413.tga"
  179.     int     xpix        -16
  180.     int     ypix        -16
  181.     int    widthpix    54
  182.     int    heightpix    54
  183. }
  184. FancyTR {
  185.     string    pattern    "upba2414.tga"
  186.     int     xpix        508
  187.     int     ypix        -16
  188.     int    widthpix    54
  189.     int    heightpix    54
  190.     ExitButton {
  191.         string xanchor "left"
  192.         string yanchor "bottom"
  193.         string    image0    "upba1811.tga"
  194.         string    image1    "upba1811.tga"
  195.         int    bevelwidth    0
  196.         int    widthpix    28
  197.         int    heightpix    28
  198.     }
  199. }
  200. FancyBL {
  201.     string    pattern    "upba2416.tga"
  202.     int     xpix        -16
  203.     int     ypix        136
  204.     int    widthpix    54
  205.     int    heightpix    54
  206. }
  207. FancyBR {
  208.     string    pattern    "upba2415.tga"
  209.     int     xpix        508
  210.     int     ypix        136
  211.     int    widthpix    54
  212.     int    heightpix    54
  213. }
  214. FancyTopL {
  215.     string    pattern    "upba2409.tga"
  216.     int     xpix        38
  217.     int     ypix        -9
  218.     int    widthpix    77
  219.     int    heightpix    16
  220. }
  221. FancyTopR {
  222.     string    pattern    "upba2409.tga"
  223.     int     xpix        429
  224.     int     ypix        -9
  225.     int    widthpix    79
  226.     int    heightpix    16
  227. }
  228. FancyBottom {
  229.     string    pattern    "upba2410.tga"
  230.     int     xpix        38
  231.     int     ypix        173
  232.     int    widthpix    470
  233.     int    heightpix    10
  234. }
  235. FancyLeft {
  236.     string    pattern    "upba2417.tga"
  237.     int     xpix        -10
  238.     int     ypix        38
  239.     int    widthpix    10
  240.     int    heightpix    98
  241. }
  242. FancyRight {
  243.     string    pattern    "upba2418.tga"
  244.     int     xpix        546
  245.     int     ypix        38
  246.     int    widthpix    10
  247.     int    heightpix    98
  248. }
  249. FancyHeader {
  250.     string    pattern    "upba2419.tga"
  251.     int     xpix        115
  252.     int     ypix        -9
  253.     int    widthpix    314
  254.     int    heightpix    52
  255. }
  256.  
  257.  
  258. # ########################################################
  259. # String table for HelpTile
  260. # ########################################################
  261. HelpTileStringTable {
  262.     int        numstrings        2    
  263.     string    string0        "str_tbl_ldl_Sale_Value_COLON_"
  264.     string    string1        "str_tbl_ldl_None"
  265. }
  266.  
  267.  
  268.  
  269. HelpUnitWindow {
  270.     string    pattern    "upba6417.tga"
  271. #    int     xpix        156
  272. #    int     ypix        78
  273.     string    xanchor        "center"
  274.     string    yanchor        "center"
  275.  
  276.     int    widthpix    530
  277.     int    heightpix    290
  278. # ########################################################
  279. # BUTTONS
  280. # ########################################################
  281. #    HelpUnitBattleOrderButton {
  282. #        string xanchor "left"
  283. #        string yanchor "bottom"
  284. #        string    pattern    "upba3010.tga"
  285. #        int xpct        33
  286. #        int    widthpct    33
  287. #        int    heightpix    30
  288. #        string    text    "Battle Order"
  289. #    }
  290. # ########################################################
  291. # TEXT ENTRY
  292. # ########################################################
  293.     HelpUnitPower:T_FONT1_14 {
  294.         int ypix    245
  295.         string xanchor "center"
  296.         int widthpix    300
  297.         int heightpix    20
  298.         int bevelwidth 2
  299.         int beveltype 1
  300.         string    text    "str_ldl_Estimated_Power_COLON"
  301.         string    pattern    "upba6417.tga"
  302.     }
  303.     HelpUnitName:T_FONT4_8 {
  304.         string    parent    "c3_PopupTitle"
  305.         string xanchor "center"
  306.         string yanchor "top"
  307.         int widthpct 50
  308.         int heightpix 20
  309.         string    text    "str_ldl_Unit_Help"
  310.     }
  311. # ########################################################
  312. # LIST BOX
  313. # ########################################################
  314.     HelpUnitStackInfo {
  315.         string xanchor "center"
  316.         int widthpix 440
  317.         int heightpix    140
  318.         int ypix    80
  319.         string pattern "upba6417.tga"
  320.         int bevelwidth 2
  321.         int beveltype 2
  322.         header {
  323.             # veteran icon
  324.             switch0:T_FONT1_14 {
  325.                 int    widthpix    20
  326.                 int    heightpix    20
  327.                 string    pattern    "upba6417.tga"
  328.                 string    image0    "upa061.tga"
  329.                 string tipwindow "str_ldl_Veter"
  330.                 string    imageblttype    "stretch"
  331.             }
  332.             # special forces icon
  333.             switch1:T_FONT1_14 {
  334.                 int    widthpix    20
  335.                 int    heightpix    20
  336.                 string    pattern    "upba6417.tga"
  337.                 string    image0    "upa060.tga"
  338.                 string    imageblttype    "stretch"
  339.                 string tipwindow "str_ldl_Specforce"
  340. }
  341.             # unit icon
  342.             switch2:T_FONT1_14 {
  343.                 int    widthpix    30
  344.                 int    heightpix    20
  345.                 string text "str_ldl_Icon"
  346.                 string    pattern    "upba6417.tga"
  347.             }
  348.             # unit name
  349.             switch3:T_FONT1_14 {
  350.                 int    widthpix    170
  351.                 int    heightpix    20
  352.                 string text "str_ldl_Name"
  353.                 string    pattern    "upba6417.tga"
  354.             }
  355.             # unit stats
  356.             switch4:T_FONT1_14 {
  357.                 int    widthpix    100
  358.                 int    heightpix    20
  359.                 string text "str_ldl_ARDM_nospace"
  360.                 string    pattern    "upba6417.tga"
  361.             }
  362.             # unit health
  363.             switch5:T_FONT1_14 {
  364.                 int    widthpix    60
  365.                 int    heightpix    20
  366.                 string text "str_ldl_Health"
  367.                 string    pattern    "upba6417.tga"
  368.             }
  369.             # unit bombard
  370.             switch6:T_FONT1_14 {
  371.                 int    widthpix    20
  372.                 int    heightpix    20
  373.                 string    pattern    "upba6417.tga"
  374.                 string    image0    "upa006.tga"
  375.                 string tipwindow "str_ldl_Bomb"
  376.                 string    imageblttype    "stretch"
  377.             }
  378.             # unit active defense
  379.             switch7:T_FONT1_14 {
  380.                 int    widthpix    20
  381.                 int    heightpix    20
  382.                 string    pattern    "upba6417.tga"
  383.                 string tipwindow "str_ldl_Activ"
  384.                 string    image0    "upa059.tga"
  385.                 string    imageblttype    "stretch"
  386.             }
  387.         }
  388.     }
  389. }
  390.  
  391. template helpunit_icon {
  392.     int    widthpix    20
  393.     int    heightpix    30
  394.     Icon {
  395.         
  396.         int xpix 0
  397.         int ypix 5
  398.         int    widthpix    20
  399.         int    heightpix    20
  400.         string    imageblttype    "stretch"
  401.     }
  402. }
  403.  
  404. HelpUnitListItem {
  405.     string    pattern            "upba6417.tga"
  406.     HU_VIcon:helpunit_icon{
  407.     }
  408.     HU_SFIcon:helpunit_icon{
  409.     }
  410.     HU_Icon:T_FONT1_14{
  411.         int        widthpix        30
  412.         int        heightpix        30
  413. #        string     text            "str_ldl_0"
  414.     }
  415.     HU_Name:T_FONT1_14{
  416.         int        widthpix        170
  417.         int        heightpix        30
  418.     }
  419.     HU_Stats:T_FONT1_14{
  420.         int        widthpix        100
  421.         int        heightpix        30
  422.     }
  423.     HU_Health:T_FONT1_14{
  424.         int        widthpix        60
  425.         int        heightpix        30
  426.         Thermo {
  427.             int xpix 5
  428.             int ypix 10
  429.             int    widthpix        50
  430.             int heightpix        10            
  431.             int bevelwidth        1
  432.             int beveltype        2
  433.         }
  434.     }
  435.     HU_BIcon:helpunit_icon{
  436.     }
  437.     HU_ADIcon:helpunit_icon{
  438.     }
  439. }
  440.  
  441.  
  442. HELPGARBAGE {
  443.     TileImprovementListBox {
  444.         string xanchor "center"
  445.         int widthpct 70
  446.         int heightpct    25
  447.         int ypct    60
  448. #        string textblttype "fill"
  449.         int bevelwidth 2
  450.         int beveltype 1
  451.  
  452.  
  453.         HelpTile_ImprovementName {
  454.             int widthpct 50
  455.             int heightpct    20
  456.     #        string textblttype "fill"
  457.             int bevelwidth 2
  458.             int beveltype 1
  459.         }
  460.         HelpTile_ImprovementTime {
  461.             int widthpct 50
  462.             int heightpct    20
  463. #            string textblttype "fill"
  464.             int bevelwidth 2
  465.             int beveltype 1
  466.         }
  467.     }
  468.  
  469.  
  470. }
  471.  
  472.  
  473. $
  474.