Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2012, 10:00:06 AM (13 years ago)
Author:
mentzerf
Message:
  • Changed waypoint scale so that they are not visible anymore
  • Changed gun position
  • Changed Tower to be a Pawn subclass
  • Fixed glitches of Tower by overriding the orientation and rotation functions

+ Now spawning a few towers in -start

  • Clean up
Location:
code/branches/newlevel2012/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/includes/towerWeaponSettings.oxi

    r9213 r9236  
    2020        <Weapon>
    2121          <attached>
    22             <Model mesh="LightningGun.mesh" pitch="100" roll="90" yaw="90" position="0,-1.3,0" scale=20/>
    23             <Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,0" scale=20 />
    24             <Model mesh="hs-w01_reduced.mesh" roll="45" pitch="-76" yaw="-45" position="-1.5,1,200" scale=20 />
     22            <Model mesh="LightningGun.mesh" pitch="100" roll="90" yaw="90" position="0,-1.3,200" scale=1/>
     23            <Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,200" scale=1 />
     24            <Model mesh="hs-w01_reduced.mesh" roll="45" pitch="-76" yaw="-45" position="-1.5,1,200" scale=10 />
    2525          </attached>
    2626          <HsW01 mode=0 munitionpershot=0 delay=0.005 damage=31.4159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
  • code/branches/newlevel2012/data/levels/templates/tower.oxt

    r9213 r9236  
    55   explosionchunks        = 6
    66
    7    reloadrate          = 1
     7   reloadrate          = 3
    88   reloadwaittime      = 1
    99
     
    1313
    1414  >
    15 
    16    
    17 
    18   <controller>
    19         <WaypointPatrolController alertnessradius=10000 team=5>
    20                  <waypoints>
    21             <Model mesh="cube.mesh" scale=20 position=" 700, 200, 100" />
    22           </waypoints>
    23         </WaypointPatrolController>
    24       </controller>
     15        <controller>
     16                <WaypointPatrolController alertnessradius=1000 team=5>
     17                        <waypoints>
     18                                <Model mesh="cube.mesh" scale=0 position=" 700, 200, 100" />
     19                        </waypoints>
     20                </WaypointPatrolController>
     21        </controller>
    2522
    2623
    2724    <attached>
    28       <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
     25                <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
    2926    </attached>
    3027
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9213 r9236  
    2727  <Pawn>
    2828    <camerapositions>
    29       <CameraPosition position="0,0,2000"/>
     29      <CameraPosition position="0,0,1500"/>
    3030    </camerapositions>
    3131  </Pawn>
     
    7676        <!--SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    7777       
    78         <SpaceShip position="-700,-500, 100" lookat="0,0,0" scale=2 team=1 >
     78        <SpaceShip position="-700,-500, 100" lookat="0,0,0" scale=3 team=1 >
    7979      <templates>
    8080        <Template link=spaceshipassff />
     
    8484          <waypoints>
    8585                          <!-- 1,3 10,3 10,11, 13,11 -->
    86             <Model mesh="cube.mesh" scale=20 position="-700,-500, 100" />
    87             <Model mesh="cube.mesh" scale=20 position=" 200,-500, 100" />
    88             <Model mesh="cube.mesh" scale=20 position=" 200, 300, 100" />
    89             <Model mesh="cube.mesh" scale=20 position=" 500, 300, 100" />
     86            <Model mesh="cube.mesh" scale=0 position="-700,-500, 150" />
     87            <Model mesh="cube.mesh" scale=0 position=" 200,-500, 150" />
     88            <Model mesh="cube.mesh" scale=0 position=" 200, 300, 150" />
     89            <Model mesh="cube.mesh" scale=0 position=" 500, 300, 150" />
     90                        <Model mesh="cube.mesh" scale=0 position=" 500, 700, 150" />
    9091          </waypoints>
    9192        </WaypointController>
     
    99100                 <attached>
    100101                        <Model position="-50,-50,0" mesh="Playfield_ME.mesh" scale=80 />
     102                        <!-- Base -->
     103                        <Model position="500,700,100" mesh="sphere.mesh" scale=80 />
    101104            <!--Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /--> <!-- Only temporary needed to help align the collisionshape -->
    102105                        <!-- This was used to mark the playfield, let's let it be here for now -->
Note: See TracChangeset for help on using the changeset viewer.