Changeset 12101 for code/branches/WorldMap_HS18/data
- Timestamp:
- Nov 14, 2018, 10:01:05 AM (6 years ago)
- Location:
- code/branches/WorldMap_HS18/data
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/WorldMap_HS18/data/gui/layouts/CampaignMenu.layout
r12053 r12101 7 7 <Property name="Area" value="{{0,0},{0,0},{1.0,0},{1.0,0}}" /> 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" /> 15 </Window> 16 17 <Window name="ForwardButton" type="MenuWidgets/JuuButton"> 18 <Property name="Visible" value="True" /> 19 <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" /> 22 </Window> 10 23 11 24 <Window name="Mission1Text" type="MenuWidgets/Button"> … … 15 28 <Event function="CampaignMenu.Mission1Button_clicked" name="Clicked" /> 16 29 </Window> 30 17 31 <Window name="Mission1Button" type="MenuWidgets/JuuButton"> 18 32 <Property name="Visible" value="False" /> … … 29 43 <Event function="CampaignMenu.Mission2Button_clicked" name="Clicked" /> 30 44 </Window> 45 31 46 <Window name="Mission2Button" type="MenuWidgets/JuuButton"> 32 47 <Property name="Visible" value="True" /> … … 149 164 <Event function="CampaignMenu.CampaignMenuBackButton_clicked" name="Clicked" /> 150 165 </Window> 166 167 151 168 <Window name="CampaignMenuCongratulation" type="MenuWidgets/StaticText"> 152 169 <Property name="Text" value="Campaign Completed!!!" /> -
code/branches/WorldMap_HS18/data/gui/scripts/CampaignMenu.lua
r12053 r12101 75 75 end 76 76 77 function P.forwardButton_clicked(e) 78 P.loadMap() 79 end 80 77 81 function P.Mission1Button_clicked(e) 82 P.loadLevel(P.FindLevel(0)) 83 end 84 function P.KeyPressed(e) 78 85 P.loadLevel(P.FindLevel(0)) 79 86 end … … 116 123 end 117 124 125 function P.loadMap() 126 orxonox.execute("change Game NC_StoryModeLevel") 127 end 128 118 129 function P.FindLevel(index) 119 130 local filename = orxonox.LevelManager:getInstance():getCampaignMission(index) -
code/branches/WorldMap_HS18/data/levels/NC_StoryModeLevel.oxw
r12058 r12101 1 a<LevelInfo1 <LevelInfo 2 2 name = "NC StoryMode" 3 3 description = "A level in which the Campaign Menu is defined, which opens other levels." -
code/branches/WorldMap_HS18/data/levels/StoryModeMap.oxw
r12059 r12101 37 37 38 38 <Model position="550,300,0" mesh="assff.mesh" scale=20 visible="true" orientation="-0.015,0.091,0.038,-0.995"/> 39 39 <Model position="600,370,0" mesh="Coordinates.mesh" scale=10 /> 40 40 <Billboard colour="1,1,0.05" position="600,370,-80" material="Flares/lensflare" scale=4.5 /> 41 41 -
code/branches/WorldMap_HS18/data/levels/StoryModeMapDev.oxw
r12060 r12101 38 38 39 39 40 41 40 <Model position="550,300,0" mesh="assff.mesh" scale=20 visible="true" orientation="-0.015,0.091,0.038,-0.995"/> 41 <Model position="600,370,0" mesh="Coordinates.mesh" scale=10 /> 42 42 <Billboard colour="1,1,0.05" position="600,370,-80" material="Flares/lensflare" scale=4.5 /> 43 43 … … 77 77 </templates> 78 78 <controller> 79 <StoryModeController accuracy=10 team=3> 80 <waypoints> 81 <Model mesh="cube.mesh" scale=8 position="100,350,-250" /> 82 <Model mesh="cube.mesh" scale=8 position="-900,-400,-1000" /> 83 <Model mesh="cube.mesh" scale=8 position="0,500,0" /> 84 <StaticEntity position="0,0,0" /> 85 </waypoints> 86 </StoryModeController> 79 87 80 </controller> 88 81 </SpaceShip> 89 90 82 91 83 -
code/branches/WorldMap_HS18/data/levels/templates/StoryMode.oxt
r11783 r12101 1 1 <Template name=StoryMode> 2 < Pawn2 <StoryModeController 3 3 hudtemplate = StoryModeMap 4 4 />
Note: See TracChangeset
for help on using the changeset viewer.