Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10484 in orxonox.OLD


Ignore:
Timestamp:
Jan 29, 2007, 5:07:24 PM (17 years ago)
Author:
nicolasc
Message:

tmp xfer

Location:
branches/playability/src/world_entities
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/WorldEntities.am

    r10437 r10484  
    3333                \
    3434                world_entities/questGUI/quest_gui.cc \
    35                 world_entities/questGUI/quest.cc \
     35                world_entities/questGUI/quest.cc \
    3636                \
    3737                world_entities/weapons/weapon_slot.cc \
  • branches/playability/src/world_entities/space_ships/space_ship.cc

    r10449 r10484  
    172172  Weapon* cannon = new SwarmLauncher();
    173173  cannon->setName( "SwarmLauncher");
    174 
     174/*
    175175  Weapon* spike = new SpikeThrower();
    176176  spike->setName( "SpikeThrower" );
     
    181181
    182182  Weapon* acid1 = new AcidLauncher();
    183   acid1->setName( "AcidSplasher" );
     183  acid1->setName( "AcidSplasher" );*/
    184184
    185185
     
    192192  this->weaponMan.addWeapon( wpLeft3, 2, 4);
    193193  this->weaponMan.addWeapon( wpRight3, 2, 5);
    194 /*
     194
    195195  this->weaponMan.addWeapon( wpLeft1, 3, 0);
    196196  this->weaponMan.addWeapon( wpRight1, 3, 1);
     
    201201  this->weaponMan.addWeapon( wpLeft3, 3, 4);
    202202  this->weaponMan.addWeapon( wpRight3, 3, 5);
    203 */
    204 
    205   this->weaponMan.addWeapon( acid0, 3, 0);
    206   this->weaponMan.addWeapon( acid1, 3, 1);
     203
     204
     205//   this->weaponMan.addWeapon( acid0, 3, 0);
     206//   this->weaponMan.addWeapon( acid1, 3, 1);
    207207
    208208
    209209  this->secWeaponMan.addWeapon( cannon, 0, 2);
    210   this->secWeaponMan.addWeapon( spike, 1, 3);
     210//   this->secWeaponMan.addWeapon( spike, 1, 3);
    211211//   this->secWeaponMan.addWeapon( acid0, 2, 2);
    212212//   this->secWeaponMan.addWeapon( acid1, 2, 3);
    213213
    214214
    215   this->weaponMan.changeWeaponConfig(3);
    216   this->secWeaponMan.changeWeaponConfig(1);
     215  this->weaponMan.changeWeaponConfig(0);
     216  this->secWeaponMan.changeWeaponConfig(0);
    217217
    218218  curWeaponPrimary    = 0;
    219   curWeaponSecondary  = 1;
     219  curWeaponSecondary  = 0;
    220220
    221221  Playable::weaponConfigChanged();
     
    244244
    245245
    246 /*  this->loadModel("models/ships/mantawing.obj");*/
     246 this->loadModel("models/spaceships/human_spaceship_fighter.obj", .25);
    247247  //this->setVisibiliy(false);
    248248
  • branches/playability/src/world_entities/weapons/heavy_blaster.cc

    r10479 r10484  
    7272//  this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);
    7373
    74   this->loadModel("models/guns/fragcannon.obj", .4);
     74  this->loadModel("models/guns/frag_cannon.obj", .4);
    7575
    7676
     
    8585
    8686  this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav");
    87   this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");
     87//   this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");
    8888  this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav");
    8989
    9090  this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT);
    91   this->setProjectileTypeC("HBolt");   // FIXME temp project type until the blaste class exist
    92 //   this->setProjectileTypeC("SpikeBall");   // FIXME temp project type until the blaste class exist
     91  this->setProjectileTypeC("HBolt");
    9392  this->prepareProjectiles(5);
    9493
     
    9695  this->setSegs(2);
    9796  this->activeBarrel = 0;
    98 //   this->init2();
    9997
    10098
  • branches/playability/src/world_entities/weapons/light_blaster.cc

    r10415 r10484  
    4343   delete [] this->shootAnim;
    4444   delete [] this->objComp;
    45 /*
    46     for(int j = 0; j < this->getSegs(); j++)
    47     {
    48       delete this->shootAnim[i][j];
    49       delete this->objComp[i][j];
    50     }
    51     delete this->shootAnim[i];
    52     delete this->objComp[i];
    53     delete this->emissionPoint[i];
    54   }*/
    5545
    56 //  this->deconstr();
    57       // model will be deleted from WorldEntity-destructor
    5846}
    5947
     
    6654{
    6755
    68   this->loadModel("models/guns/gattling.obj", 0.333);
     56  this->loadModel("models/guns/gatling.obj", 0.333);
    6957
    7058
     
    7967
    8068  this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav");
    81   this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");
     69//   this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");
    8270  this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav");
    8371
    8472  this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT);
    85   //this->setProjectileTypeC("RailProjectile");   // FIXME temp project type until the blaste class exist
    86   this->setProjectileTypeC("LBolt");   // Working; FIXME: add textures
    87 //   this->setProjectileTypeC("Spike");   // Working; FIXME: add textures
     73  this->setProjectileTypeC("LBolt");
    8874  this->prepareProjectiles(100);
    8975
Note: See TracChangeset for help on using the changeset viewer.