Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 29, 2015, 12:14:43 PM (9 years ago)
Author:
gania
Message:

improved dodging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/AITest.oxw

    r10885 r10886  
    3232
    3333    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    34     <TeamSpawnPoint team=0 position="-5000, 3000, -2000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     34    <TeamSpawnPoint team=0 position="3000, -1500, 1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3535   
    3636<!-- HERE STARTS DEMO FOR THE "WAYPOINTS" -->
     
    6262<!-- HERE STARTS DEMO FOR THE ACTIONPOINTS.
    6363P.S. Never set protectMe in the first actionpoint: if human didn't spawn, that actionpoint will be skipped -->
    64        <!--
     64       
    6565    <Model mesh="cube.mesh" scale=8 position="0,0,0" />
    6666
     
    123123      </templates>
    124124    </SpaceShip>
    125   -->
     125 
    126126   
    127127<!-- HERE ENDS DEMO FOR THE ACTIONPOINTS -->
    128128<!-- HERE STARTS DEMO FOR FIGHTING -->
    129    
     129    <!--
    130130    <SpaceShip position="-4000, 1500, -1000" lookat="0,0,0" team=0 name="ss2">
    131131      <templates>
     
    242242      </controller>
    243243    </SpaceShip>
    244 
     244 -->
    245245   
    246246<!-- HERE ENDS DEMO FOR FIGHTING -->
     
    297297    -->
    298298<!-- HERE ENDS DEMO FOR FORMATIONS -->
    299     <!--
    300     <SpaceShip position="-2000, 3000, -2000" lookat="0,0,0" team=1 name="ss2">
    301       <templates>
    302         <Template link=spaceshipassff />
    303       </templates>
    304       <controller>
    305         <DivisionController team=1 formationMode="finger4">
    306          
    307         </DivisionController>
    308       </controller>
    309     </SpaceShip>
    310  -->
     299    <!-- 1 division is roughly equal to 6 AIControllers--!>
     300<!--
     301    <SpaceShip position="2000, -1500, 1000" lookat="0,0,0" team=1 >
     302      <templates>
     303        <Template link=spaceshipassff />
     304      </templates>
     305      <controller>
     306        <DivisionController team=1 formationMode="WALL">
     307
     308        </DivisionController>
     309      </controller>
     310    </SpaceShip>
     311    <SpaceShip position="2000, -1900, 1000" lookat="0,0,0" team=1>
     312      <templates>
     313        <Template link=spaceshipassff />
     314      </templates>
     315      <controller>
     316        <SectionController team=1>
     317        </SectionController>
     318      </controller>
     319    </SpaceShip>
     320    <SpaceShip position="2000, -2100, 1000" lookat="0,0,0" team=1>
     321      <templates>
     322        <Template link=spaceshipassff />
     323      </templates>
     324      <controller>
     325        <WingmanController team=1>
     326        </WingmanController>
     327      </controller>
     328    </SpaceShip>
     329    <SpaceShip position="2000, -2400, 1000" lookat="0,0,0" team=1>
     330      <templates>
     331        <Template link=spaceshipassff />
     332      </templates>
     333      <controller>
     334        <WingmanController team=1>
     335        </WingmanController>
     336      </controller>
     337    </SpaceShip>
     338
     339    <?lua
     340      for i = 0, 5, 1 do
     341        ?>
     342      <SpaceShip position="<?lua print(7000) ?>,<?lua print(i*500) ?>,<?lua print(0) ?>" team=2>
     343        <templates>
     344          <Template link=spaceshipassff />
     345        </templates>
     346        <controller>
     347          <AIController team=2 />
     348        </controller>
     349      </SpaceShip>
     350    <?lua end ?> -->
     351   
    311352
    312353  </Scene>
Note: See TracChangeset for help on using the changeset viewer.