Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4051


Ignore:
Timestamp:
Jul 3, 2006, 10:29:55 AM (18 years ago)
Author:
snellen
Message:

objects get added from within the script

Location:
data/branches/single_player_map
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • data/branches/single_player_map/scripts/falldown.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("TestEntity", "fallingguy")
     3thisscript:addObject("FPSPlayer", "Player")
     4
    15dy = 0
    26randTime = 0
  • data/branches/single_player_map/scripts/floorguy.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("GenericNPC", "floorguy")
     3thisscript:addObject("FPSPlayer", "Player")
    14
    25programRoute = true
  • data/branches/single_player_map/scripts/guard.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("GenericNPC","guard")
     3thisscript:addObject("FPSPlayer", "Player")
     4
    15-- Global Variables
    26walkingRouteOne = true   -- True if thestranger is walking route one
  • data/branches/single_player_map/scripts/prisoner.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("GenericNPC", "prisoner")
     3thisscript:addObject("FPSPlayer", "Player")
     4thisscript:addObject("GenericNPC", "secondguard")
     5
     6
    17cellDoorOpened = false
    28walkinCellFinished = false
  • data/branches/single_player_map/scripts/secondguard.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("GenericNPC", "secondguard")
     3thisscript:addObject("GenericNPC", "guard")
     4thisscript:addObject("FPSPlayer", "Player")
     5thisscript:addObject("GenericNPC", "prisoner")
     6
    17-- Global Variables
    28allOk = true
  • data/branches/single_player_map/scripts/secondprisoner.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("GenericNPC", "Secondprisoner")
     3thisscript:addObject("FPSPlayer", "Player")
    14
    25-- Initialises the random number generator
  • data/branches/single_player_map/scripts/spaceship.lua

    r3991 r4051  
     1-- Get objects from orxonox
     2thisscript:addObject("Claw", "spaceshipclaw")
     3thisscript:addObject("RepairStation", "repair")
     4thisscript:addObject("FPSPlayer", "Player")
     5thisscript:addObject("SpaceShip", "spaceship")
    16
    27function tick(timestep)
  • data/branches/single_player_map/worlds/sp_level_ambush_at_jupiter.oxw

    r3991 r4051  
    1919    <Script>
    2020     <file>guard.lua</file>
    21      <object>GenericNPC, guard</object>
    22      <object>FPSPlayer, Player</object>
    2321    </Script>
    2422
    2523    <Script>
    2624     <file>secondguard.lua</file>
    27      <object>GenericNPC, secondguard</object>
    28      <object>GenericNPC, guard</object>
    29      <object>FPSPlayer, Player</object>
    30      <object>GenericNPC, prisoner</object>
    3125    </Script>
    3226
    3327    <Script>
    3428     <file>prisoner.lua</file>
    35      <object>GenericNPC, prisoner</object>
    36      <object>FPSPlayer, Player</object>
    37      <object>GenericNPC, secondguard</object>
    3829    </Script>
    3930
    4031    <Script>
    4132     <file>secondprisoner.lua</file>
    42      <object>GenericNPC, Secondprisoner</object>
    43      <object>FPSPlayer, Player</object>
    4433    </Script>
    4534
    4635    <Script>
    4736     <file>falldown.lua</file>
    48      <object>TestEntity, fallingguy </object>
    49      <object>FPSPlayer, Player</object>
    5037    </Script>
    5138
    5239    <Script>
    5340     <file>floorguy.lua</file>
    54      <object>GenericNPC, floorguy </object>
    55      <object>FPSPlayer, Player</object>
    5641    </Script>
    5742
    5843    <Script>
    5944     <file>spaceship.lua</file>
    60      <object>Claw, spaceshipclaw</object>
    61      <object>RepairStation, repair</object>
    62      <object>FPSPlayer, Player</object>
    63      <object>SpaceShip, spaceship</object>
    6445    </Script>
    6546   
Note: See TracChangeset for help on using the changeset viewer.