Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12374


Ignore:
Timestamp:
May 16, 2019, 1:36:04 PM (4 months ago)
Author:
cwaupoti
Message:

changes enemy's spawn point

Location:
code/branches/Boxhead_FS19
Files:
3 edited

Legend:

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

    r12354 r12374  
    8383    />
    8484
    85     <SpaceShip position="100,20,100" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
     85    <SpaceShip position="500,20,500" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
    8686                                    <templates>
    8787                                            <Template link=spaceshipzombie />
     
    9999    </SpaceShip>
    100100
     101
    101102   
    102103  </Scene>
  • code/branches/Boxhead_FS19/data/levels/templates/spaceshipzombie.oxt

    r12358 r12374  
    3636   linearDamping     = 0.2
    3737   angularDamping    = 0.9999999
    38    collisiondamage = 100
    39     enablecollisiondamage = true
    4038
    4139
  • code/branches/Boxhead_FS19/src/modules/hover/Hover.cc

    r12358 r12374  
    3636#include "HoverOrigin.h"
    3737#include "HoverWall.h"
    38 // #include "HoverFlag.h"
    39  #include "MazeGenerator.h"
     38
     39#include "MazeGenerator.h"
    4040#include "core/CoreIncludes.h"
    41 #include "core/input/KeyBinderManager.h"   
     41
    4242
    4343
     
    4646    RegisterUnloadableClass(Hover);
    4747
    48 
    49 
    50 
    51 
    5248    Hover::Hover(Context* context) : Gametype(context)
    5349    {
    54        
    55 
    56         // HoverKeyBinderManager::getInstance().setConfigValues();
    57 
    58 
    59         // KeyBinderManager::getInstance().unbind("YNeg");
    60         // KeyBinderManager::getInstance().unbind("YPos");
    61 
    6250        RegisterObject(Hover);
    6351
     
    10795            // }
    10896
     97
     98
    10999            //Generate 5 flags randomly
    110100            // for ( int i = 0; i < 5; i++ )
    111101            // {
    112             //     HoverFlag* flag = new HoverFlag(origin_->getContext());
     102            //     HoverFlag* zombieship = new SpaceShip(origin_->getContext());
    113103            //     flag->init(rand()%numCells, rand()%numCells, cellSize);
    114104            //     flags_.push_back(flag);
Note: See TracChangeset for help on using the changeset viewer.