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

  1. ##################################################
  2. # File:   endgame.ldl                            #
  3. # Author: Brian Hawkins                          #
  4. #                                                #
  5. # Copyright 1998 Activision, all rights reserved #
  6. ##################################################
  7.  
  8. ##-----------------------------------##
  9. ##            Templates              ##
  10. ##-----------------------------------##
  11.  
  12. template AFB_LABEL:T_FONT1_ALIEN {
  13.     int        fontcolorred        255
  14.     int        fontcolorblue        255
  15.     int        fontcolorgreen        255
  16.     int        fontshadowcolorred    0
  17.     int        fontshadowcolorblue    0
  18.     int        fontshadowcolorgreen    0
  19. }
  20.  
  21. ##-----------------------------------##
  22. ##              Data                 ##
  23. ##-----------------------------------##
  24.  
  25. EndGameWindow {
  26.  
  27. ## Window origin
  28.     int        xpix    0
  29.     int        ypix    0
  30.  
  31. ## Window size
  32.     int        widthpix    640
  33.     int        heightpix    480
  34.  
  35. ## Default pattern
  36.     string    pattern    "upba3010.tga"
  37.  
  38. ## Exit button location with pressed image only.
  39.     ExitButton {
  40.         string    image1        "apd018.tga"
  41.         string    focusimage1        "apd018.tga"
  42.         int        xpix            619
  43.         int        ypix            3
  44.         int        widthpix        17
  45.         int        heightpix        14
  46.     }
  47.  
  48. ## Chromakeyed border with raised exit button.
  49.     BorderImage {
  50.         string    image0        "apd017.tga"
  51.         string    imagebltflag    "chromakey"
  52.         int        xpix            0
  53.         int        ypix            0
  54.         int        widthpix        640
  55.         int        heightpix        480
  56.     }
  57.  
  58. ## Feedback panel darkened area.
  59.     DarkenArea {
  60.         int        xpix        410
  61.         int        ypix        335
  62.         int        widthpix    228
  63.         int        heightpix    143
  64.     }
  65.  
  66. ## Number of text labels for the feedback panel.
  67.     int        feedbackLabels            10
  68.  
  69. ## All static labels for the feedback panel...
  70.     FeedbackLabel1:AFB_LABEL {
  71.         string    text        "str_ldl_AFB_TITLE"
  72.         string    just        "center"
  73.         int        xpix        410
  74.         int        ypix        334
  75.         int        widthpix    230
  76.         int        heightpix    16
  77.     }
  78.     FeedbackLabel2:AFB_LABEL {
  79.         string    text        "str_ldl_AFB_STAGE1"
  80.         string    just        "center"
  81.         int        xpix        411
  82.         int        ypix        349
  83.         int        widthpix    57
  84.         int        heightpix    16
  85.     }
  86.     FeedbackLabel3:AFB_LABEL {
  87.         string    text        "str_ldl_AFB_STAGE2"
  88.         string    just        "center"
  89.         int        xpix        468
  90.         int        ypix        349
  91.         int        widthpix    57
  92.         int        heightpix    16
  93.     }
  94.     FeedbackLabel4:AFB_LABEL {
  95.         string    text        "str_ldl_AFB_STAGE3"
  96.         string    just        "center"
  97.         int        xpix        525
  98.         int        ypix        349
  99.         int        widthpix    57
  100.         int        heightpix    16
  101.     }
  102.     FeedbackLabel5:AFB_LABEL {
  103.         string    text        "str_ldl_AFB_END"
  104.         string    just        "center"
  105.         int        xpix        582
  106.         int        ypix        349
  107.         int        widthpix    57
  108.         int        heightpix    16
  109.     }
  110.     FeedbackLabel6:AFB_LABEL {
  111.         string    text        "str_ldl_AFB_TURNS_LEFT"
  112.         string    just        "center"
  113.         int        xpix        410
  114.         int        ypix        379
  115.         int        widthpix    230
  116.         int        heightpix    16
  117.     }
  118.     FeedbackLabel7:AFB_LABEL {
  119.         string    text        "str_ldl_AFB_ECD"
  120.         string    just        "right"
  121.         int        xpix        420
  122.         int        ypix        409
  123.         int        widthpix    150
  124.         int        heightpix    16
  125.     }
  126.     FeedbackLabel8:AFB_LABEL {
  127.         string    text        "str_ldl_AFB_FIELD"
  128.         string    just        "right"
  129.         int        xpix        420
  130.         int        ypix        424
  131.         int        widthpix    150
  132.         int        heightpix    16
  133.     }
  134.     FeedbackLabel9:AFB_LABEL {
  135.         string    text        "str_ldl_AFB_SPLICER"
  136.         string    just        "right"
  137.         int        xpix        420
  138.         int        ypix        438
  139.         int        widthpix    150
  140.         int        heightpix    16
  141.     }
  142.     FeedbackLabel10:AFB_LABEL {
  143.         string    text        "str_ldl_AFB_CHANCE"
  144.         string    just        "right"
  145.         int        xpix        420
  146.         int        ypix        452
  147.         int        widthpix    150
  148.         int        heightpix    16
  149.     }
  150.  
  151. ## Number of stage lights for the feedback panel.
  152.     int        stageLights            4
  153.  
  154. ## All stage lights for the feedback panel...
  155.     StageLight1 {
  156.         int        bevelwidth    2
  157.         int        beveltype    1
  158.         int        xpix        433
  159.         int        ypix        366
  160.         int        widthpix    12
  161.         int        heightpix    12
  162.     }
  163.     StageLight2 {
  164.         int        bevelwidth    2
  165.         int        beveltype    1
  166.         int        xpix        490
  167.         int        ypix        366
  168.         int        widthpix    12
  169.         int        heightpix    12
  170.     }
  171.     StageLight3 {
  172.         int        bevelwidth    2
  173.         int        beveltype    1
  174.         int        xpix        547
  175.         int        ypix        366
  176.         int        widthpix    12
  177.         int        heightpix    12
  178.     }
  179.     StageLight4 {
  180.         int        bevelwidth    2
  181.         int        beveltype    1
  182.         int        xpix        604
  183.         int        ypix        366
  184.         int        widthpix    12
  185.         int        heightpix    12
  186.     }
  187.  
  188. ## Background for the turn progress bar.
  189.     TurnProgressBackground {
  190.         int    xpix        438
  191.         int    ypix        394
  192.         int    widthpix    154
  193.         int    heightpix    12
  194.  
  195.         int        bevelwidth    2
  196.         int        beveltype    1
  197.     }
  198.  
  199. ## Turns remaining in stage progress bar.
  200.     TurnProgress {
  201.         int    xpix        440
  202.         int    ypix        396
  203.         int    widthpix    150
  204.         int    heightpix    8
  205.  
  206.         string    orientation        "horizontal"        
  207.     }
  208.  
  209. ## Number of turns remaining in stage.
  210.     TurnsRemaining:AFB_LABEL {
  211.         string    just        "left"
  212.         int        xpix        600
  213.         int        ypix        394
  214.         int        widthpix    30
  215.         int        heightpix    16
  216.     }
  217.  
  218. ## ECD Built/Required/Max
  219.     ECDRatio:AFB_LABEL {
  220.         string    just        "center"
  221.         int        xpix        570
  222.         int        ypix        409
  223.         int        widthpix    50
  224.         int        heightpix    16
  225.     }
  226.  
  227. ## Containment Fields Built/Required/Max
  228.     ContainmentFieldRatio:AFB_LABEL {
  229.         string    just        "center"
  230.         int        xpix        570
  231.         int        ypix        424
  232.         int        widthpix    50
  233.         int        heightpix    16
  234.     }
  235.  
  236. ## Gene Splicers Built/Max
  237.     GeneSplicerRatio:AFB_LABEL {
  238.         string    just        "center"
  239.         int        xpix        570
  240.         int        ypix        438
  241.         int        widthpix    50
  242.         int        heightpix    16
  243.     }
  244.  
  245. ## Chance of Failure
  246.     ChanceOfFailure:AFB_LABEL {
  247.         string    just        "center"
  248.         int        xpix        570
  249.         int        ypix        452
  250.         int        widthpix    50
  251.         int        heightpix    16
  252.     }
  253.  
  254. ## Standard alien end game background.
  255.     BackgroundImage {
  256.         int        numimagegroups    3
  257.         string    image1    "apd001.tga"
  258.         string    image2    "apd118.tga"
  259.         int        xpix        0
  260.         int        ypix        0
  261.         int        widthpix    640
  262.         int        heightpix    480
  263.     }
  264.  
  265. ## Number of background animations for this window.
  266.     int        backgroundAnims            5
  267.  
  268. ## Various background animations such as flickering lights.
  269.     BackgroundAnim1 {
  270.         FrameTable {
  271.             int        numstrings        5
  272.             bool        nodatabase        TRUE
  273.  
  274.             string    string0         "apd029.tga"
  275.             string    string1         "apd030.tga"
  276.             string    string2         "apd031.tga"
  277.             string    string3         "apd032.tga"
  278.             string    string4         "apd033.tga"
  279.         }
  280.  
  281.         int        animationSpeed    50
  282.         string    imagebltflag    "chromakey"
  283.         int        xpix            227
  284.         int        ypix            424
  285.         int        widthpix        413
  286.         int        heightpix        56
  287.     }
  288.     BackgroundAnim2 {
  289.         FrameTable {
  290.             int        numstrings        2
  291.             bool        nodatabase        TRUE
  292.  
  293.             string    string0         "apd034.tga"
  294.             string    string1         "apd035.tga"
  295.         }
  296.  
  297.         int        animationSpeed    50
  298.         string    imagebltflag    "chromakey"
  299.         int        xpix            477
  300.         int        ypix            410
  301.         int        widthpix        160
  302.         int        heightpix        42
  303.     }
  304.     BackgroundAnim3 {
  305.         FrameTable {
  306.             int        numstrings        3
  307.             bool        nodatabase        TRUE
  308.  
  309.             string    string0         "apd046.tga"
  310.             string    string1         "apd047.tga"
  311.             string    string2         "apd048.tga"
  312.         }
  313.  
  314.         int        animationSpeed    50
  315.         string    imagebltflag    "chromakey"
  316.         int        xpix            168
  317.         int        ypix            242
  318.         int        widthpix        45
  319.         int        heightpix        74
  320.     }
  321.     BackgroundAnim4 {
  322.         FrameTable {
  323.             int        numstrings        2
  324.             bool        nodatabase        TRUE
  325.  
  326.             string    string0         "apd036.tga"
  327.             string    string1         "apd037.tga"
  328.         }
  329.  
  330.         int        animationSpeed    50
  331.         string    imagebltflag    "chromakey"
  332.         int        xpix            174
  333.         int        ypix            379
  334.         int        widthpix        36
  335.         int        heightpix        15
  336.     }
  337.     BackgroundAnim5 {
  338.         FrameTable {
  339.             int        numstrings        2
  340.             bool        nodatabase        TRUE
  341.  
  342.             string    string0         "apd038.tga"
  343.             string    string1         "apd039.tga"
  344.         }
  345.  
  346.         int        animationSpeed    50
  347.         string    imagebltflag    "chromakey"
  348.         int        xpix            3
  349.         int        ypix            378
  350.         int        widthpix        53
  351.         int        heightpix        19
  352.     }
  353.  
  354. ## Speed that new elements fade in.
  355.     int        blendSpeed    30
  356.  
  357. ## Names of strings for alien end game component names.
  358.     string    embryoTankName            "EMBRYO_TANK"
  359.     string    containmentFieldGeneratorName    "CONTAINMENT_FIELD"
  360.     string    ecdName                "ET_COMMUNICATION_DEVICE"
  361.     string    geneSplicerName            "GENE_SEQUENCER"
  362.  
  363. ## Number of elements in each end game component.
  364.     int        stages                3
  365.     int        containmentFieldGenerators    3
  366.     int        ecds                    6
  367.     int        geneSplicers            2
  368.  
  369. ## Broken tank for escaped alien.
  370.     BrokenTank {
  371.         string    image0    "apd117.tga"
  372.         int        xpix        274
  373.         int        ypix        152
  374.         int        widthpix    119
  375.         int        heightpix    266
  376.     }
  377.  
  378. ## Tank to contain alien embryo.
  379.     EmbryoTank {
  380.         string    image0    "apd016.tga"
  381.         string    image1    "apd116.tga"
  382.         int        xpix        274
  383.         int        ypix        152
  384.         int        widthpix    119
  385.         int        heightpix    266
  386.     }
  387.  
  388. ## Glow animation for tank.
  389.     EmbryoGlow {
  390.         FrameTable {
  391.             int        numstrings        9
  392.             bool        nodatabase        TRUE
  393.  
  394.             string    string0         "apd020.tga"
  395.             string    string1         "apd021.tga"
  396.             string    string2         "apd022.tga"
  397.             string    string3         "apd023.tga"
  398.             string    string4         "apd024.tga"
  399.             string    string5         "apd025.tga"
  400.             string    string6         "apd026.tga"
  401.             string    string7         "apd027.tga"
  402.             string    string8         "apd028.tga"
  403.         }
  404.  
  405.         int        animationSpeed    50
  406.         int        xpix            250
  407.         int        ypix            118
  408.         int        widthpix        169
  409.         int        heightpix        327
  410.     }
  411.  
  412. ## Alien embryo development stages.
  413.     EmbryoStage1 {
  414.         string    image0        "apd013.tga"
  415.         string    image1        "apd113.tga"
  416.         string    imagebltflag    "chromakey"
  417.         int        xpix            289
  418.         int        ypix            167
  419.         int        widthpix        89
  420.         int        heightpix        192
  421.     }
  422.     EmbryoStage2 {
  423.         string    image0        "apd014.tga"
  424.         string    image1        "apd114.tga"
  425.         string    imagebltflag    "chromakey"
  426.         int        xpix            289
  427.         int        ypix            167
  428.         int        widthpix        89
  429.         int        heightpix        192
  430.     }
  431.     EmbryoStage3 {
  432.         string    image0        "apd015.tga"
  433.         string    image1        "apd115.tga"
  434.         string    imagebltflag    "chromakey"
  435.         int        xpix            289
  436.         int        ypix            167
  437.         int        widthpix        89
  438.         int        heightpix        192
  439.     }
  440.  
  441. ## Containment field graphics.
  442.     ContainmentFieldGenerator1 {
  443.         string    image0        "apd002.tga"
  444.         string    image1        "apd102.tga"
  445.         int        xpix            170
  446.         int        ypix            0
  447.         int        widthpix        89
  448.         int        heightpix        184
  449.     }
  450.     ContainmentFieldGenerator2 {
  451.         string    image0        "apd003.tga"
  452.         string    image1        "apd103.tga"
  453.         int        xpix            386
  454.         int        ypix            0
  455.         int        widthpix        100
  456.         int        heightpix        164
  457.     }
  458.     ContainmentFieldGenerator3 {
  459.         string    image0        "apd004.tga"
  460.         string    image1        "apd104.tga"
  461.         int        xpix            257
  462.         int        ypix            0
  463.         int        widthpix        120
  464.         int        heightpix        79
  465.     }
  466.  
  467. ## Alien communications graphics.
  468.     ECD1 {
  469.         string    image0        "apd005.tga"
  470.         string    image1        "apd105.tga"
  471.         int        xpix            487
  472.         int        ypix            204
  473.         int        widthpix        53
  474.         int        heightpix        46
  475.     }
  476.     ECD2 {
  477.         string    image0        "apd006.tga"
  478.         string    image1        "apd106.tga"
  479.         int        xpix            492
  480.         int        ypix            286
  481.         int        widthpix        53
  482.         int        heightpix        46
  483.     }
  484.     ECD3 {
  485.         string    image0        "apd007.tga"
  486.         string    image1        "apd107.tga"
  487.         int        xpix            557
  488.         int        ypix            200
  489.         int        widthpix        53
  490.         int        heightpix        46
  491.     }
  492.     ECD4 {
  493.         string    image0        "apd008.tga"
  494.         string    image1        "apd108.tga"
  495.         int        xpix            566
  496.         int        ypix            282
  497.         int        widthpix        53
  498.         int        heightpix        46
  499.     }
  500.     ECD5 {
  501.         string    image0        "apd009.tga"
  502.         string    image1        "apd109.tga"
  503.         int        xpix            430
  504.         int        ypix            255
  505.         int        widthpix        53
  506.         int        heightpix        46
  507.     }
  508.     ECD6 {
  509.         string    image0        "apd010.tga"
  510.         string    image1        "apd110.tga"
  511.         int        xpix            612
  512.         int        ypix            224
  513.         int        widthpix        53
  514.         int        heightpix        46
  515.     }
  516.  
  517. ## Gene splicer graphics.
  518.     GeneSplicer1 {
  519.         string    image0        "apd011.tga"
  520.         string    image1        "apd111.tga"
  521.         int        xpix            0
  522.         int        ypix            176
  523.         int        widthpix        229
  524.         int        heightpix        256
  525.     }
  526.     GeneSplicer2 {
  527.         string    image0        "apd012.tga"
  528.         string    image1        "apd112.tga"
  529.         int        xpix            0
  530.         int        ypix            228
  531.         int        widthpix        84
  532.         int        heightpix        234
  533.     }
  534. }
  535.  
  536. $
  537.