Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12261


Ignore:
Timestamp:
Mar 28, 2019, 4:51:14 PM (6 years ago)
Author:
cwaupoti
Message:

created HoverGun, but file is not working yet

Location:
code/branches/Boxhead_FS19
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Boxhead_FS19/data/levels/Hover.oxw

    r12216 r12261  
    1010
    1111<?lua
    12   include("HUDTemplates3.oxo")
    13   include("templates/spaceshipSwallow.oxt")
    14   include("templates/spaceshipPirate.oxt")
     12 
    1513  include("templates/spaceshipEscort.oxt")
    16   include("templates/spaceshipGhost.oxt")
    17   include("templates/spaceshipCollateralDamage.oxt")
    18   include("templates/spaceshipAssff.oxt")
    19   include("templates/spaceshipAssff2.oxt")
    20   include("templates/spaceshipTransporter.oxt")
    21 
    22 
    2314?>
     15<!-- include("HUDTemplates3.oxo") -->
     16  <!-- include("templates/spaceshipSwallow.oxt") -->
     17  <!-- include("templates/spaceshipPirate.oxt") -->
     18  <!-- include("templates/spaceshipEscort.oxt") -->
     19  <!-- include("templates/spaceshipCollateralDamage.oxt") -->
     20  <!-- include("templates/spaceshipAssff.oxt") -->
     21  <!-- include("templates/spaceshipAssff2.oxt") -->
     22  <!-- include("templates/spaceshipTransporter.oxt") -->
    2423
    2524<LevelInfo
     
    3736
    3837<?lua
    39   include("templates/spaceshipPirate.oxt")
     38  include("templates/spaceshipGhost.oxt")
    4039  include("templates/spaceshipHover.oxt")
    4140  include("overlays/HoverHUD.oxo")
     
    4544MAZE_NUM_CELLS = 10
    4645MAZE_CELL_SIZE = 100
    47 MAZE_CELL_HEIGHT = 30
     46MAZE_CELL_HEIGHT = 100
    4847MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE
    4948?>
     
    108107    <SpaceShip position="100,20,100" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
    109108                                    <templates>
    110                                             <Template link=spaceshipghost />
     109                                            <Template link=spaceshiphover />
    111110                                      </templates>
    112111                                       <controller>
  • code/branches/Boxhead_FS19/data/levels/includes/weaponSettingsHover.oxi

    r12211 r12261  
    11<weaponslots>
    2   <WeaponSlot position="-3,2,-3" />
    3   <WeaponSlot position=" 3,2,-3" />
     2  <WeaponSlot position="-3,3, 3" />
     3  <WeaponSlot position=" 3,3, 3" />
    44</weaponslots>
    55<weaponsets>
     
    1414    </links>
    1515    <Weapon>
    16       <IceGun mode=0 munitionpershot=0 delay=0.125 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" projectileMesh="LaserBeam2.mesh" />
     16      <HoverGun mode=0 munitionpershot=0 delay=0.125 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" projectileMesh="LaserBeam2.mesh" />
    1717    </Weapon>
    1818    <Weapon>
    19       <IceGun mode=0 munitionpershot=0 delay=0     damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" projectileMesh="LaserBeam2.mesh" />
     19      <HoverGun mode=0 munitionpershot=0 delay=0     damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" projectileMesh="LaserBeam2.mesh" />
    2020    </Weapon>
    2121  </WeaponPack>
  • code/branches/Boxhead_FS19/data/levels/templates/spaceshipGhost.oxt

    r12216 r12261  
    5959    </explosion>
    6060<?lua
    61   include("../includes/weaponSettingsHover.oxi")
     61  include("../includes/weaponSettingsGhost.oxi")
    6262?>
    6363  </SpaceShip>
  • code/branches/Boxhead_FS19/data/levels/templates/spaceshipHover.oxt

    r12216 r12261  
    6161
    6262<?lua
    63   include("../includes/weaponSettingsHeartAttack.oxi")
     63  include("../includes/weaponSettingsHover.oxi")
    6464?>
    6565  </SpaceShip>
  • code/branches/Boxhead_FS19/src/modules/hover/Hover.h

    r11495 r12261  
    2727 */
    2828
    29 /**
     29/**f
    3030    @file Hover.h
    3131    @brief Gametype. For more information see .cc file
  • code/branches/Boxhead_FS19/src/modules/weapons/projectiles/IceGunProjectile.cc

    r11071 r12261  
    6060
    6161        Model* model = new Model(this->getContext());
    62         model->setMeshSource("IceBolt.mesh");
     62        model->setMeshSource("laserbeam.mesh");
    6363        model->setScale(15.0);
    6464        this->attach(model);
Note: See TracChangeset for help on using the changeset viewer.