Changeset 5236 for data/Media
- Timestamp:
- Oct 24, 2008, 2:44:14 AM (16 years ago)
- Location:
- data/Media
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
data/Media/gui/scripts/loadGUI.lua
r5165 r5236 14 14 quit:setText("Quit") 15 15 quit:setSize(CEGUI.UVector2(CEGUI.UDim(0.15, 0), CEGUI.UDim(0.05, 0))) 16 quit:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0. 6, 0)))16 quit:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0.7, 0))) 17 17 quit:subscribeEvent("Clicked","button_quit_clicked") 18 18 … … 23 23 standalone:subscribeEvent("Clicked","button_standalone_clicked") 24 24 25 local dedicated = winMgr:createWindow("TaharezLook/Button", "orxonox/DedicatedButton") 26 dedicated:setText("Dedicated") 27 dedicated:setSize(CEGUI.UVector2(CEGUI.UDim(0.15, 0), CEGUI.UDim(0.05, 0))) 28 dedicated:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0.4, 0))) 29 dedicated:subscribeEvent("Clicked","button_dedicated_clicked") 30 25 31 local server = winMgr:createWindow("TaharezLook/Button", "orxonox/ServerButton") 26 32 server:setText("Server") 27 33 server:setSize(CEGUI.UVector2(CEGUI.UDim(0.15, 0), CEGUI.UDim(0.05, 0))) 28 server:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0. 4, 0)))34 server:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0.5, 0))) 29 35 server:subscribeEvent("Clicked","button_server_clicked") 30 36 … … 32 38 client:setText("Client") 33 39 client:setSize(CEGUI.UVector2(CEGUI.UDim(0.15, 0), CEGUI.UDim(0.05, 0))) 34 client:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0. 5, 0)))40 client:setPosition(CEGUI.UVector2(CEGUI.UDim(0.4, 0), CEGUI.UDim(0.6, 0))) 35 41 client:subscribeEvent("Clicked","button_client_clicked") 36 42 … … 43 49 rootSheet:addChildWindow(standalone) 44 50 rootSheet:addChildWindow(server) 51 rootSheet:addChildWindow(dedicated) 45 52 rootSheet:addChildWindow(client) 46 53 background:addChildWindow(rootSheet) … … 59 66 function button_server_clicked(e) 60 67 orxonox.CommandExecutor:execute("selectGameState server") 68 hideGUI() 69 end 70 71 function button_dedicated_clicked(e) 72 orxonox.CommandExecutor:execute("selectGameState dedicated") 61 73 hideGUI() 62 74 end -
data/Media/levels/sample2.oxw
r5219 r5236 1 <Template name="spectatorhud"> 2 <OverlayGroup> 3 <OverlayText 4 position = "0.5, 0.85" 5 font = "VeraMono" 6 caption = "Press [Fire] to start the match!" 7 textSize = 0.05 8 colour = "1.0, 1.0, 0.0, 0.8" 9 align = "center" 10 /> 11 </OverlayGroup> 12 </Template> 1 <?lua 2 include("../../media/levels/hudtemplates.oxw") 3 ?> 13 4 14 <LevelInfo name="Sample" description="Just a few tests" ambientlight="1,0,0,1" skybox="Orxonox/Starbox" /> 15 <!--PositionableEntity position="10,20,30" /--> 16 <!--MovableEntity position="100,200,300" velocity="1,0,0"> 5 <LevelInfo 6 name = "Sample" 7 description = "Just a few tests" 8 ambientlight = "0.4, 0.4, 0.4" 9 skybox = "Orxonox/Starbox" 10 /> 11 12 <MovableEntity position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> 17 13 <attached> 18 <MovableEntity position="0,0,1"> 14 <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> 15 <PositionableEntity position="0,0,100"> 19 16 <attached> 20 <MovableEntity position="0,0,10" /> 21 <PositionableEntity position="0,0,20" /> 17 <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> 18 <MovableEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> 19 <attached> 20 <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> 21 <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> 22 <Model position="35,0,0" scale=2 mesh="ast1.mesh" /> 23 <Model position="-35,0,0" scale=2 mesh="ast1.mesh" /> 24 </attached> 25 </MovableEntity> 26 </attached> 27 </PositionableEntity> 28 <MovableEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> 29 <attached> 30 <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> 31 <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> 32 <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> 22 33 </attached> 23 34 </MovableEntity> 24 <PositionableEntity position="0,0,2">25 <attached>26 <MovableEntity position="0,0,20" />27 </attached>28 </PositionableEntity>29 35 </attached> 30 </MovableEntity--> 31 <!--ControllableEntity position="10,20,30" /--> 32 <!--MovableEntity position="100,200,300" /--> 36 </MovableEntity> 33 37 34 <Model position="0,0,100" mesh="ast1.mesh" /> 35 <Model position="0,0,-100" mesh="ast1.mesh" /> 36 <Model position="0,100,0" mesh="ast1.mesh" /> 37 <Model position="0,-100,0" mesh="ast1.mesh" /> 38 <Model position="100,0,0" mesh="ast1.mesh" /> 39 <Model position="-100,0,0" mesh="ast1.mesh" /> 38 <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> 39 <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> 40 <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> 41 <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> 42 <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> 43 <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> 44 45 <Model position="0,0,-100" pitch=-90 roll=-90 scale=7 mesh="assff.mesh" /> 46 47 <Model position="1000,-200,200" scale3D="1,1000,1000" mesh="ast1.mesh" /> -
data/Media/materials/scripts/assff.material
r5066 r5236 7 7 { 8 8 ambient 0.600000 0.600000 0.600000 1.000000 9 diffuse 0.800000 0.800000 0.800000 1.0000009 diffuse 5.000000 5.000000 5.000000 1.000000 10 10 emissive 0.000000 0.000000 0.000000 1.000000 11 11 texture_unit -
data/Media/materials/scripts/rock.material
r5123 r5236 5 5 pass 6 6 { 7 ambient 1.0 1.0 1.0 1.0 8 diffuse 10.0 10.0 10.0 1.0 7 9 8 10 texture_unit
Note: See TracChangeset
for help on using the changeset viewer.