Changeset 12106 for code/branches/WorldMap_HS18/data
- Timestamp:
- Nov 14, 2018, 11:59:52 AM (6 years ago)
- Location:
- code/branches/WorldMap_HS18/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/WorldMap_HS18/data/gui/layouts/CampaignMenu.layout
r12101 r12106 8 8 <Property name="BackgroundEnabled" value="False" /> 9 9 10 <Window name="ForwardText" type="MenuWidgets/Button"> 11 <Property name="Text" value="Forward" /> 12 <Property name="Visible" value="True" /> 13 <Property name="Area" value="{{0.1,0},{0.6,0},{0.3,0},{0.65,0}}" /> 14 <Event function="CampaignMenu.forwardButton_clicked" name="Clicked" /> 10 11 <Window name="RightButton" type="MenuWidgets/Button"> 12 <Property name="Text" value="F" /> 13 <Property name="MaxSize" value="{{1,0},{1,0}}" /> 14 <Property name="Area" value="{{0.350,0},{0.9,0},{0.45,0},{0.95,0}}" /> 15 15 16 </Window> 16 17 17 <Window name="ForwardButton" type="MenuWidgets/JuuButton">18 <Property name=" Visible" value="True" />18 <Window name="LeftButton" type="MenuWidgets/Button"> 19 <Property name="Text" value="B" /> 19 20 <Property name="MaxSize" value="{{1,0},{1,0}}" /> 20 <Property name="Area" value="{{0.1,0},{0.75,0},{0.25,0},{0.95,0}}" /> 21 <Event function="CampaignMenu.forwardButton_clicked" name="Clicked" /> 21 <Property name="Area" value="{{0.55,0},{0.9,0},{0.65,0},{0.95,0}}" /> 22 23 </Window> 24 25 <Window name="SelectButton" type="MenuWidgets/Button"> 26 <Property name="Text" value="Play" /> 27 <Property name="MaxSize" value="{{1,0},{1,0}}" /> 28 <Property name="Area" value="{{0.45,0},{0.9,0},{0.55,0},{0.95,0}}" /> 29 22 30 </Window> 23 31 -
code/branches/WorldMap_HS18/data/gui/scripts/CampaignMenu.lua
r12101 r12106 2 2 3 3 local P = createMenuSheet("CampaignMenu") 4 4 5 5 6 function P:onShow() … … 75 76 end 76 77 77 function P.forwardButton_clicked(e) 78 P.loadMap() 79 end 78 79 80 80 81 81 function P.Mission1Button_clicked(e) … … 124 124 125 125 function P.loadMap() 126 orxonox.execute("change Game NC_StoryModeLevel") 126 orxonox.execute("changeGame dynamicMatch.oxw") 127 hideAllMenuSheets() 127 128 end 128 129 -
code/branches/WorldMap_HS18/data/levels/StoryModeMapDev.oxw
r12101 r12106 22 22 <Template link=lodtemplate_default /> 23 23 </templates> 24 25 <Template name=selectertemplate> 26 <StoryModeController team=0> 27 <attache> 28 <Model position="550,300,0" mesh="assff.mesh" scale=20 visible="true" orientation="-0.015,0.091,0.038,-0.995"/> 29 </attache> 30 </StoryModeController> 31 </Template> 32 24 33 <?lua include("includes/notifications.oxi") ?> 25 34 <?lua … … 83 92 84 93 94 85 95 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 86 96
Note: See TracChangeset
for help on using the changeset viewer.