Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11039


Ignore:
Timestamp:
Jan 4, 2016, 2:22:14 PM (9 years ago)
Author:
landauf
Message:

some cleanup in planetLevelHS15.oxw. using a directional light & reducing ambient light enables pretty shadows in the city. :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/data/levels/planetLevelHS15.oxw

    r11026 r11039  
    6262
    6363  <Scene
    64     ambientlight = "10, 10, 10"
     64    ambientlight = "0.45, 0.4, 0.35"
    6565    skybox       = "Orxonox/Starbox"
    6666  >
     
    8282      collisiondamage= 2
    8383      enablecollisiondamage= false
    84     >
    85       <attached>
     84    />
    8685
    87       </attached>
    88     </Planet>
     86    <DistanceTrigger name="SkyboxVisible" position="0,0,0" target="Pawn" distance="100000" stayActive="true" delay=0 />
    8987
    90 <DistanceTrigger name="SkyboxVisible" position="0,0,0" target="Pawn" distance="100000" stayActive="true" delay=0 />
    91 
    92    <?lua print(randomHouses(X,Y,CELL_SIZE)) ?>
    93   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=0 friction=0.01 yaw=90 roll=90 >
    94     <attached>
     88    <?lua print(randomHouses(X,Y,CELL_SIZE)) ?>
     89 
     90    <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=0 friction=0.01 yaw=90 pitch=180 roll=90 >
     91      <attached>
    9592        <Model position="0,0,0" mesh="skyboxHoenggerberg.mesh" scale3D="<?lua print(SKYBOX_SCALE)?>,<?lua print(SKYBOX_SCALE)?>,<?lua print(SKYBOX_SCALE)?>" lodLevel="0">
    9693          <events>
     
    106103          </events>
    107104        </Model>
    108         <PortalEndPoint position="<?lua print(X*CELL_SIZE/2) ?>,500,<?lua print(Y*CELL_SIZE/2) ?>" id="3" distance="40" target="Pawn"/>
    109         <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"/>
    110     </attached>
     105      </attached>
     106    </StaticEntity>
    111107
    112 </StaticEntity>
     108    <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"/>
    113109
    114 <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" />
     110    <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" />
    115111
    116 <PortalEndPoint position="<?lua print(PLANET_DISTANCE) ?>,0,0" id="2" distance="<?lua print(PLANET_SCALE)?>" target="Pawn"/>
    117 <PortalEndPoint position="<?lua print(PLANET_DISTANCE + PLANET_SCALE + 6000) ?>,0,0" id="1" distance="40" target="Pawn"/>
     112    <PortalEndPoint position="<?lua print(X*CELL_SIZE/2) ?>,<?lua print(Y*CELL_SIZE/2) ?>,500" id="3" distance="40" target="Pawn"/>
     113    <PortalEndPoint position="<?lua print(PLANET_DISTANCE) ?>,0,0" id="2" distance="<?lua print(PLANET_SCALE)?>" target="Pawn"/>
     114    <PortalEndPoint position="<?lua print(PLANET_DISTANCE + PLANET_SCALE + 6000) ?>,0,0" id="1" distance="40" target="Pawn"/>
    118115
    119 
    120 <PortalLink fromID="2" toID="3" />
    121 <PortalLink fromID="3" toID="1" />   
    122 
    123 
     116    <PortalLink fromID="2" toID="3" />
     117    <PortalLink fromID="3" toID="1" />   
    124118  </Scene>
    125 
    126 
    127119</Level>
Note: See TracChangeset for help on using the changeset viewer.