[Orxonox-commit 6382] r11039 - code/branches/presentationHS15/data/levels
landauf at orxonox.net
landauf at orxonox.net
Mon Jan 4 14:22:15 CET 2016
Author: landauf
Date: 2016-01-04 14:22:14 +0100 (Mon, 04 Jan 2016)
New Revision: 11039
Modified:
code/branches/presentationHS15/data/levels/planetLevelHS15.oxw
Log:
some cleanup in planetLevelHS15.oxw. using a directional light & reducing ambient light enables pretty shadows in the city. :)
Modified: code/branches/presentationHS15/data/levels/planetLevelHS15.oxw
===================================================================
--- code/branches/presentationHS15/data/levels/planetLevelHS15.oxw 2016-01-04 13:18:34 UTC (rev 11038)
+++ code/branches/presentationHS15/data/levels/planetLevelHS15.oxw 2016-01-04 13:22:14 UTC (rev 11039)
@@ -61,7 +61,7 @@
<Scene
- ambientlight = "10, 10, 10"
+ ambientlight = "0.45, 0.4, 0.35"
skybox = "Orxonox/Starbox"
>
@@ -81,17 +81,14 @@
imagesize="1024.0f"
collisiondamage= 2
enablecollisiondamage= false
- >
- <attached>
+ />
- </attached>
- </Planet>
+ <DistanceTrigger name="SkyboxVisible" position="0,0,0" target="Pawn" distance="100000" stayActive="true" delay=0 />
-<DistanceTrigger name="SkyboxVisible" position="0,0,0" target="Pawn" distance="100000" stayActive="true" delay=0 />
-
- <?lua print(randomHouses(X,Y,CELL_SIZE)) ?>
- <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=0 friction=0.01 yaw=90 roll=90 >
- <attached>
+ <?lua print(randomHouses(X,Y,CELL_SIZE)) ?>
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=0 friction=0.01 yaw=90 pitch=180 roll=90 >
+ <attached>
<Model position="0,0,0" mesh="skyboxHoenggerberg.mesh" scale3D="<?lua print(SKYBOX_SCALE)?>,<?lua print(SKYBOX_SCALE)?>,<?lua print(SKYBOX_SCALE)?>" lodLevel="0">
<events>
<visibility>
@@ -105,23 +102,18 @@
</visibility>
</events>
</Model>
- <PortalEndPoint position="<?lua print(X*CELL_SIZE/2) ?>,500,<?lua print(Y*CELL_SIZE/2) ?>" id="3" distance="40" target="Pawn"/>
- <Light type="point" position="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
- </attached>
+ </attached>
+ </StaticEntity>
-</StaticEntity>
+ <Light type="directional" position="-90,50,60" lookat="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
-<SpawnPoint team=0 position="<?lua print(PLANET_DISTANCE - PLANET_SCALE - 5000)?>,0,0" lookat="<?lua print(PLANET_DISTANCE) ?>,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort orientation="-0.4,-0.6,0.6,0.4" />
+ <SpawnPoint team=0 position="<?lua print(PLANET_DISTANCE - PLANET_SCALE - 2000)?>,0,0" lookat="<?lua print(PLANET_DISTANCE) ?>,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort orientation="-0.4,-0.6,0.6,0.4" />
-<PortalEndPoint position="<?lua print(PLANET_DISTANCE) ?>,0,0" id="2" distance="<?lua print(PLANET_SCALE)?>" target="Pawn"/>
-<PortalEndPoint position="<?lua print(PLANET_DISTANCE + PLANET_SCALE + 6000) ?>,0,0" id="1" distance="40" target="Pawn"/>
+ <PortalEndPoint position="<?lua print(X*CELL_SIZE/2) ?>,<?lua print(Y*CELL_SIZE/2) ?>,500" id="3" distance="40" target="Pawn"/>
+ <PortalEndPoint position="<?lua print(PLANET_DISTANCE) ?>,0,0" id="2" distance="<?lua print(PLANET_SCALE)?>" target="Pawn"/>
+ <PortalEndPoint position="<?lua print(PLANET_DISTANCE + PLANET_SCALE + 6000) ?>,0,0" id="1" distance="40" target="Pawn"/>
-
-<PortalLink fromID="2" toID="3" />
-<PortalLink fromID="3" toID="1" />
-
-
+ <PortalLink fromID="2" toID="3" />
+ <PortalLink fromID="3" toID="1" />
</Scene>
-
-
</Level>
More information about the Orxonox-commit
mailing list