Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8891 for code/trunk/data


Ignore:
Timestamp:
Oct 12, 2011, 7:50:43 PM (13 years ago)
Author:
jo
Message:

Ai and tutorial improvements merged back to the trunk. AI features: all weapons are used, the ai-firestrength is configurable, bots are able to collect pickups . I've set the tutorial level as default level.

Location:
code/trunk
Files:
8 edited
3 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/data/gui/scripts/QuestGUI.lua

    r8858 r8891  
    55P.questManager = nil -- The QuestManager.
    66P.showActive = true -- Whether the active or finished quest list is displayed.
    7 P.currentQuest = nil -- The quest that is currently displayed.
    87P.player = nil -- The player the quests are displayed for.
    98P.quests = {}
     
    2928
    3029    -- Load the list of quests to be displayed.
    31     P.loadQuestsList(P.currentQuest)
     30    P.loadQuestsList()
     31    -- Pause the game - possible conflict for multiplayer quests
     32    orxonox.execute("setPause 1")
     33end
     34
     35function P.onQuit()
     36    orxonox.execute("setPause 0")
    3237end
    3338
     
    171176        window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize-P.scrollbarWidth), CEGUI.UDim(0,offset+P.borderSize)))
    172177    end
    173 
    174     P.currentQuest = quest
    175178end
    176179
     
    204207    end
    205208    hints:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.scrollbarWidth-P.borderSize), CEGUI.UDim(0, 0)))
    206 
    207     P.currentQuest = nil
    208209end
    209210
  • code/trunk/data/levels/fightInOurBack.oxw

    r8867 r8891  
    22  name = "Fight in our Back"
    33  description = "Our fleet is far ahead of us. We need to get rid of all the enemies in its back, because we do not want our enemies to attack from everywhere. So let us clear this Sector!"
    4   tags = ""
     4  tags = "singleplayer"
    55/>
    66
  • code/trunk/data/levels/includes/weaponSettingsSwallow.oxi

    r8755 r8891  
    1414        </links>
    1515        <Weapon>
    16           <HsW01 mode=0 munitionpershot=0 delay=0 damage=2.5 material="Flares/point_lensflare" />
    17           <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=2.5 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" />
     16          <HsW01 mode=0 munitionpershot=0 delay=0 damage=3.14159 material="Flares/point_lensflare" />
     17          <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" />
     18
    1819          <LightningGun mode=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20/>
    1920        </Weapon>
    2021        <Weapon>
    21           <HsW01 mode=0 munitionpershot=0 delay=0  damage=2.5 material="Flares/point_lensflare" />
    22           <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=2.5 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" />
     22          <HsW01 mode=0 munitionpershot=0 delay=0  damage=3.14159 material="Flares/point_lensflare" />
     23          <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" />
    2324          <LightningGun mode=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20/>
    2425        </Weapon>
  • code/trunk/data/levels/includes/weaponSettingsTransporter.oxi

    r8867 r8891  
    1414        </links>
    1515        <Weapon>
    16           <HsW01 mode=0 munitionpershot=0 delay=0.1   damage=3.14159 material="Flares/point_lensflare" muzzleoffset="0,0,0" />
    17           <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="0.5,0.6,1.7" />
     16          <HsW01 mode=0 munitionpershot=0 delay=0.1   damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
     17          <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
    1818          <LightningGun mode=1 muzzleoffset="0,0,0"   damage=3.14159 shielddamage=20 />
    1919        </Weapon>
    2020        <Weapon>
    21           <HsW01 mode=0 munitionpershot=0 delay=0.1   damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0,0,0" />
    22           <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" />
     21          <HsW01 mode=0 munitionpershot=0 delay=0.1   damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
     22          <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
    2323          <LightningGun mode=1 muzzleoffset="0,0,0"   damage=3.14159 shielddamage=20 />
    2424        </Weapon>
  • code/trunk/data/levels/lastTeamStanding.oxw

    r8706 r8891  
    4747    </StaticEntity>
    4848
    49     <PickupSpawner position="-160,65,10" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"><!--EasterEgg-->
    50       <pickup>
    51         <InvisiblePickup template=mediuminvisiblepickup />
    52       </pickup>
    53     </PickupSpawner>
    54     <PickupSpawner position="-160,60,17" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"><!--EasterEgg-->
     49    <PickupSpawner position="-160,60,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="10"><!--EasterEgg-->
    5550      <pickup>
    5651        <InvisiblePickup template=hugeinvisiblepickup />
  • code/trunk/data/levels/lastTeamStandingII.oxw

    r8706 r8891  
    1717 name         = "On the fly"
    1818 description  = "testmap for gametype last team standing"
    19  gametype     =  "LastTeamStanding"
     19 gametype     = "LastTeamStanding"
    2020>
    2121  <templates>
  • code/trunk/data/levels/planets.oxw

    r8706 r8891  
    8080      mass="5000000"
    8181      pitch="0"
    82       mesh="planets/ganymede.mesh"
     82      mesh="planets/muunilinst.mesh"
    8383      atmosphere="atmosphere1"
    8484      rotationaxis="1,0,0"
Note: See TracChangeset for help on using the changeset viewer.