Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2011, 4:54:07 PM (14 years ago)
Author:
dafrick
Message:

Replacing getNick() with getName(). nick_ in HumanPlayer is only needed to synchronize the player name over the network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/data/levels/docking.oxw

    r8196 r8197  
    3030      <SpawnPoint position="<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3131    <?lua end ?>
    32 
    33 
    34     <Dock>
    35         <effects>
    36             <DockToShip />
    37         </effects>
    38         <events>
    39             <execute>
    40                 <EventListener event="dockMe" />
    41             </execute>
    42         </events>
    43         <attached>
    44             <DistanceTrigger position="0,0,0" distance="20" target="Pawn" name="dockMe" />
    45             <Billboard material="Examples/Flare" colour="1.0, 0, 0" />
    46         </attached>
    47     </Dock>
    48 
    49 
    5032   
    5133    <Destroyer
     
    6143
    6244      <attached>
     45        <Dock>
     46            <effects>
     47                <DockToShip />
     48            </effects>
     49            <events>
     50                <execute>
     51                    <EventListener event="dockMe" />
     52                </execute>
     53            </events>
     54            <attached>
     55                <DistanceMultiTrigger position="0,0,0" distance="20" target="Pawn" name="dockMe" />
     56                <Billboard material="Examples/Flare" colour="1.0, 0, 0" />
     57            </attached>
     58        </Dock>
     59     
    6360        <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    6461        <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90"  yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
Note: See TracChangeset for help on using the changeset viewer.