Changeset 9127 for code/branches/shipSelection/data
- Timestamp:
- Apr 27, 2012, 3:56:15 PM (13 years ago)
- Location:
- code/branches/shipSelection/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shipSelection/data/gui/scripts/ShipSelectionMenu.lua
r9101 r9127 16 16 17 17 P.shipList = {} 18 19 --for line in io.lines("../levels/templates/.shipmodels") do orxonox.execute("orxout user_warning " .. line) end 20 for line in io.lines("../levels/templates/.shipmodels") do 21 P.shipList[#P.shipList+1] = string.lower(line) 22 end 18 23 --[[for f in io.lines("../levels/templates/.shipmodels") do 19 24 if selectedlevel:hasShip(f) then … … 151 156 end 152 157 end 153 --]] 158 154 159 function P.ShipSelectionStartButton_clicked(e) 155 160 156 161 if selectedlevel ~= nil then 157 selectedlevel:selectShip( "meinModell")158 --orxonox.execute("startGame " .. selectedlevel:getXMLFilename())162 selectedlevel:selectShip(P.ShipSelectionGetSelectedLevel()) 163 orxonox.execute("startGame " .. "_temp.oxw") 159 164 hideAllMenuSheets() 160 165 else -
code/branches/shipSelection/data/gui/scripts/SingleplayerMenu.lua
r9074 r9127 47 47 while index < size do 48 48 level = orxonox.LevelManager:getInstance():getAvailableLevelListItem(index) 49 if level ~= nil then 49 if (level ~= nil and level:getXMLFilename() ~= "_temp.oxw") then 50 --os.execute("echo " .. level:getXMLFilename() .." >> ~/outputorx") 50 51 local levelXMLFilename = level:getXMLFilename() 51 52 -- create an imageset for each screenshot -
code/branches/shipSelection/data/levels/tutorial.oxw
r9057 r9127 4 4 tags = "tutorial, shipselection" 5 5 screenshot = "codingtutorial.png" 6 startingships = "spaceship Ghost, spaceshipPirate, spaceshipSpacecruiser"6 startingships = "spaceshipghost, spaceshippirate, spaceshipspacecruiser" 7 7 /> 8 8 … … 11 11 include("stats.oxo") 12 12 include("templates/spaceshipAssff.oxt") 13 include("templates/spaceshipGhost.oxt") 14 include("templates/spaceshipSpacecruiser.oxt") 13 15 include("templates/lodInformation.oxt") 14 16 ?>
Note: See TracChangeset
for help on using the changeset viewer.