Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/storymodeHS14/data/gui/layouts/CampaignMenu.layout @ 10255

Last change on this file since 10255 was 10253, checked in by landauf, 10 years ago

improved campaign mode. use config value instead of writing a new file.
moved configuration of campaign (the list of missions) from the lua file to the default config. you need to delete your local orxonox.ini in order to see the changes.

File size: 3.4 KB
RevLine 
[10157]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/CampaignBackground" >
5        <Property Name="FrameEnabled" Value="False" />
6        <Property Name="InheritsAlpha" Value="False" />
7        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
8        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.0,0},{1.0,0}}" />
9        <Property Name="BackgroundEnabled" Value="False" />
10        <Window Type="MenuWidgets/Button" Name="orxonox/MissionOneButton" >
11            <Property Name="Text" Value="Mission 1" />
[10253]12            <Property Name="Visible" Value="False"/>
[10157]13            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
14            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
15            <Event Name="Clicked" Function="CampaignMenu.MissionOneButton_clicked"/>
16        </Window>
17        <Window Type="MenuWidgets/Button" Name="orxonox/MissionTwoButton" >
18            <Property Name="Text" Value="Mission 2" />
[10253]19            <Property Name="Visible" Value="False"/>
[10157]20            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
21            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
22            <Property Name="Disabled" Value="True" />
23            <Event Name="Clicked" Function="CampaignMenu.MissionTwoButton_clicked"/>
24        </Window>
25        <Window Type="MenuWidgets/Button" Name="orxonox/MissionThreeButton" >
26            <Property Name="Text" Value="Mission 3" />
[10253]27            <Property Name="Visible" Value="False"/>
[10157]28            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4375,0},{0.6,0},{0.4875,0}}" />
30            <Property Name="Disabled" Value="True" />
31            <Event Name="Clicked" Function="CampaignMenu.MissionThreeButton_clicked"/>
32        </Window>
33        <Window Type="MenuWidgets/Button" Name="orxonox/MissionFourButton" >
34            <Property Name="Text" Value="Mission 4" />
[10253]35            <Property Name="Visible" Value="False"/>
[10157]36            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
38            <Property Name="Disabled" Value="True" />
39            <Event Name="Clicked" Function="CampaignMenu.MissionFourButton_clicked"/>
40        </Window>
41        <Window Type="MenuWidgets/Button" Name="orxonox/CampaignMenuBackButton" >
42            <Property Name="Text" Value="Back" />
43            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[10253]44            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.8,0},{0.6,0},{0.85,0}}" />
[10157]45            <Event Name="Clicked" Function="CampaignMenu.CampaignMenuBackButton_clicked"/>
46        </Window>
[10253]47        <Window Type="MenuWidgets/StaticText" Name="orxonox/CampaignMenuCongratulation" >
[10157]48            <Property Name="Text" Value="Campaign Completed!!!" />
[10253]49            <Property Name="Visible" Value="False"/>
[10157]50            <Property Name="InheritsAlpha" Value="False" />
51            <Property Name="HorzFormatting" Value="HorzCentred" />
52            <Property Name="VertFormatting" Value="TopAligned" />
53            <Property Name="UnifiedMaxSize" Value="{{2,1},{2,1}}" />
54            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
[10253]55        </Window>
[10157]56    </Window>
57</GUILayout>
Note: See TracBrowser for help on using the repository browser.