FAQ Search
Memberlist Usergroups
Profile
  Forum Statistics Register
 Log in to check your private messages
Log in to check your private messages
Moonpod Homepage Starscape Information Mr. Robot Information Free Game Downloads Starscape Highscore Table
h1r1 - the first room
Post new topic   Reply to topic    Discussion Pod Forum Index -> User Adventures View previous topic :: View next topic  
 Author
Message
Poo Bear
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 4121
Location: Sheffield, UK



PostPosted: Thu Dec 20, 2007 9:59 am    Post subject: h1r1 - the first room Reply with quote

Here is the lua script for the first room in the game

Note - x = room width (left=0 to right), y = room height (bottom=0 to top), z = room length (front=0 to back). You can work out coordinates using the editor by selecting a single square tile and moving it around the room and reading off the coordinates displayed.

Code:

-- asimov is frozen, effect plays on his head, he wakes up, hel tells him to get to work,
-- player gets control

-- definitions - these are unchanging "names" for the different states this room can get in
INTRO_EFFECT = 0
START_CONV = 1
WAIT_CONV_FINISH = 2
DOWNLOAD = 3

-- globabls - these values will be set when we enter the room and then we'll change
-- them as things happen, if we leave the room and walk back in they'll reset to these values again
g_timer = 0
g_state = DOWNLOAD


--a function called sequence is always called if we're new to the room
--it will keep being called over and over while we are in the room
function sequence()

   if( g_state == DOWNLOAD ) then   
   
      --stop him and wait a tiny bit
      closeDoor( 0, true )  -- close the door straight away, do it instantly
      overrideAsimov( true ) -- stop the player moving around
      -- grab a dummy robot in the room and make it walk from xz1->xz2->xz3 and back again
      sendMessage( "h1r1dummy", "SYSTEM", "WANDER", "2,0,7,0,7,8" )
      g_state = INTRO_EFFECT -- switch to the next state next time this function runs
      g_timer = getTime()  -- setup a timer
   
   elseif( g_state == INTRO_EFFECT ) then
   
      if( not timerExpired( 500, g_timer ) ) then
         return false  -- wait around a bit, no rush
      end
      --play an effect on his head
      Asimov = getDynamicObject( "PLAYER" ) -- grab the player object
      x, y, z = getDisplayPos( Asimov ) -- work out where it is
      y = y + 0.85 -- go above it slightly
      launchEffectSimple( x, y, z, "asimov_brain_download" ) -- play a little sparkly effect
      g_state = START_CONV
      g_timer = getTime()
   
   elseif( g_state == START_CONV ) then

      -- wait for the effect to finish      
      if( not timerExpired( 3000, g_timer ) ) then
         return false
      end

      -- play a conversation
      name = "T01_asimov_wakeup"
      playConversation( name )   
      g_state = WAIT_CONV_FINISH

   elseif( g_state == WAIT_CONV_FINISH ) then

      -- when the conversation finishes release asimov      
      if( isConversationActive() ) then
         return false
      end
      overrideAsimov( false )
      openDoor( 0, false )  -- open the door slowly
      return true
   end

   return false
end

-- when sequence returns true the game remembers and then starts calling
-- completed instead, use this to keep things tidy after the room is finished with
function completed()

   if( g_state == DOWNLOAD ) then   -- remember our state variable will reset when we leave and come back
      -- getKeyVal and saveKeyVal are a way for scripts to save bits of text permanently
      -- and let other scripts check them later. In this case we are checking for some major event happening
      -- later in the game that means all the robots should have gone
      if( getKeyVal( "z1r17" ) == "main_objective" ) then
         sendMessage( "h1r1dummy", "SYSTEM", "DISABLE", "" ) -- stop that dummy robot doing stuff
         sendMessage( "h1r1dummy", "SYSTEM", "SHOW", "FALSE" ) -- make it vanish
      else
         sendMessage( "h1r1dummy", "SYSTEM", "WANDER", "2,0,7,0,7,8" ) -- otherwise make sure it keeps wandering about
      end
      openDoor( 0, true ) -- make sur ethe door stays open, do it fast
      -- put us into any other state just so we stop running this bit of code
      g_state = INTRO_EFFECT
   
   end
   
   return true

end


Does this help anyone or just add to the confusion Smile
Back to top
View user's profile Visit poster's website
abc1234567



Joined: 25 Jul 2018
Posts: 205



PostPosted: Wed Jul 25, 2018 1:29 am    Post subject: Reply with quote

abc20180725
salvatore ferragamo shoes
louis vuitton outlet online
cheap oakley sunglasses
pandora outlet
ugg boots outlet
gucci outlet online
cheap oakley sunglasses
pandora charms outlet
kate spade outlet
michael kors outlet
nike shoes
ugg outlet store
michael kors outlet store
asics outlet
adidas yeezy boost
fred perry outlet
nike free 3.0
adidas nmd r1
coach outlet online
ralph lauren uk
underarmour outlet
cheap jordan shoes
coach outlet online
birkenstock shoes
hermes bags
columbia outlet
lebron james shoes
moncler
canada goose outlet store
christian louboutin shoes
vans outlet
pandora charms
ugg boots
polo ralph lauren outlet
cheap nfl jerseys wholesale
mlb jerseys cheap
oakley sunglasses outlet
ugg outlet store
oakey sunglasses outlet store
longchamp outlet
coach factorty outlet store
rolex replica watches
birkenstock outlet
coach factory outlet online
coach outlet online
michael kors outlet store
pandora canada
canada goose jackets
canada goose jackets
michael kors outlet store
burberry outlet store
pandora outlet
michael kors outlet online
birkenstock sandals
jordans
salvatore ferragamo
christian louboutin sale
michael kors bags
nike air max 2018
coach outlet
harden vol 1
ray ban sunglasses discount
tiffany and co outlet
fitflops sale
supreme shirts
yeezy boost 350
coach outlet online
coach outlet online
longchamp
ugg outlet store
nike air max 2019
tiffany and co jewelry
ugg boots
cheap air jordans
red bottom heels
moncler outlet online
coach outlet store
cheap jordan shoes
adidas shoes
pandora charms
kate spade outlet online
coach factory outlet online
timberland outlet
adidas nmd r1
ugg outlet online
coach factory outlet online
ysl outlet
air jordan retro
ray ban sunglasses outlet
nike outlet online
adidas outlet online
tory burch handbags
ecco outlet
kate spade outlet online
air jordan shoes
rolex replica watches for sale
coach outlet online
ralph lauren uk
cheap jordan shoes
moncler coats
nike huarache shoes
polo ralph lauren outlet
kate spade bags
mlb jerseys cheap
birkin handbags
mont blanc pens
dr martens
tory burch outlet online
coach factory outlet online
louis vuitton factory outlet
nike zoom shoes
mont blanc pen
coach outlet canada
cheap oakley sunglasses
pandora jewelry
christian louboutin shoes
dodgers jerseys
polo ralph lauren outlet online
coach outlet online
fitflop sandals
marlins jerseys
adidas yeezy boost
timberland boots
nike sneakers
longchamp outlet online
coach factory outlet
salvatore ferragamo outlet
pandora charms outlet
pandora jewelry
coach outlet store
jimmy choo
ecco shoes
adidas sneakers
swarovski crystal
nike dunks
ecco outlet
air max 270
mulberry handbags
polo ralph lauren outlet
pg 2 shoes
louboutin shoes
canada goose coats
michael kors outlet online
ray ban glasses
michael kors outlet online
nike air max 90
philipp plein
coach factory outlet online
canada goose outlet
prada shoes
diamondbacks jerseys
michael kors outlet
coach factory outlet online
cheap jordan shoes
michael kors outlet store
birkenstock outlet store
nike air max 2018
kate spade purses
coach outlet online
ralph lauren outlet online
uggs outlet
retro 11
ralph lauren uk
michael kors outlet online
nike air presto
adidas yeezy boost 350
ronaldo jerseys
fitflops sale clearance
air jordans
nike zoom
adidas stan smith
kate spade outlet online
adidas yeezy
timberland shoes
jordan shoes
cheap jordans for sale
nike air max 97
coach outlet online
cheap oakley sunglasses
air more uptempo
coach factory outlet online
air max axis
coach outlet store online clearance
michael kors handbags
cheap ray ban sunglasses
mlb jerseys
louis vuitton factory outlet
polo ralph lauren outlet
puma outlet
jordan shoes
cheap jordans
fitflop sandals
cheap nike shoes
astros jerseys
ralph lauren uk
louis vuitton outlet store
timberland shoes
christian louboutin shoes
coach factory outlet
nike outlet store
fake rolex
cheap jordan shoes
yeezy boost 350
kate spade handbags
canada goose
pandora charms outlet
air max 90
air more money
ysl handbags
pandora charms
ralph lauren sale
dansko shoes
pandora charms outlet
pandora jewelry outlet
nike air max 97
pirates jerseys
nike shox shoes
yeezy shoes
converse outlet
nike free 5.0
hermes handbags
converse all star
nike air max zero
red bottom
ralph lauren sale clearance uk
adidas outlet store
coach factory outlet online
indians jerseys
michael kors outlet clearance
mbt
michael kors outlet online
coach outlet online
coach factory outlet online
adidas yeezy shoes
fitflops uk
supreme uk
polo ralph lauren outlet
nike sneakers
coach factorty outlet store
ralph lauren
air max
timberland shoes
nike running shoes
ecco shoes for women
coach outlet store online
pandora jewelry
canada goose sale
nike shoes
supreme clothing
pandora charms
dr martens boots
cheap air jordans
ralph lauren sale clearance uk
moncler outlet online
reebok outlet
ugg canada
air foamposite
coach outlet store online
timberland outlet
louis vuitton outlet
louboutin shoes
ferragamo outlet
coach outlet store online
canada goose jackets
pandora jewelry
yeezy shoes
mulberry outlet uk
cheap ray ban sunglasses
louis vuitton outlet
kate spade handbags
ray bans
coach factory outlet online
pandora charms sale clearance
nike outlet online
abercrombie kids
michael kors
asics outlet store
nfl jerseys
ray ban sunglasses outlet
moncler sale
michael kors outlet online
canada goose jackets
coach outlet
nike outlet
nike outlet store
coach outlet store online
moncler sale
pandora jewelry store
durant shoes
kobe shoes
nike outlet store
ugg boots
coach factory outlet online
new balance outlet
michael kors outlet clearance
coach outlet store online
rockies jerseys
devil rays jerseys
toms shoes
kate spade outlet
fitflops sale
coach factory outlet online
orioles jerseys
coach outlet online
canada goose
coach factorty outlet online
tiffany outlet
discount oakley sunglasses
kyrie 4
oakley sunglasses wholesale
michael kors outlet clearance
kate spade handbags
kate spade outlet store
michael kors outlet clearance
canada goose jackets
timberland outlet
michael kors
moncler jackets
coach outlet online
canada goose jackets
louboutin outlet
pandora charms sale clearance
ralph lauren outlet
kate spade handbags
yeezy boost 350
air force 1
louis vuitton handbags
swarovski outlet
braves jerseys
basketball shoes
ecco outlet
cheap jordan shoes
adidas yeezy
nike outlet
lacoste polo shirts
air max
cheap jordans
polo ralph lauren outlet online
nike react shoes
mlb jerseys wholesale
coach outlet online
hermens
padres jerseys
oakey sunglasses outlet
moncler coats
brewers jerseys
nike outlet store online
discount oakley sunglasses
supra for sale
air max shoes
vans outlet store
tory burch outlet online
discount oakley sunglasses
kate spade bags
ralph lauren outlet online
air max outlet
pandora jewelry outlet
canada goose jacket
mulberry
adidas ultra boost
air max 87
coach factory outlet online
adidas superstars
canada goose parka
air max shoes
coach factory outlet
nike cortez classic
cheap air jordans
polo ralph lauren
pandora sale clearance
pandora charms outlet
new balance outlet store
moncler jacket
nike shoes outlet
ralph lauren sale
valentino outlet
rolex replica watches
yeezy shoes
toms outlet online
athletics jerseys
birkenstock uk
birkenstock outlet
blue jays jerseys
jimmy choo shoes
coach factorty outlet online
mets jerseys
tory burch outlet store
jordan shoes for sale
kate spade outlet online
ralph lauren outlet online
michael kors canada
coach factory outlet
cartier watches
cheap jordan shoes
adidas originals
yeezy boost
cheap ray ban sunglasses
canada goose sale
coach factory outlet
pandora charms sale
ugg outlet online
hermes outlet
canada goose coats
mulberry uk
adidas outlet online
ugg sale
ugg outlet
kate spade outlet online
longchamp outlet
fitflop uk
uggs outlet
salvatore ferragamo outlet
nba jerseys cheap
christian louboutin sale
red bottoms
coach outlet online
pandora jewelry
polo outlet online
adidas nmd r1
nike tessen
coach factory outlet
salomon outlet
reds jerseys
toms outlet store
coach outlet online
coach factory outlet
jimmy choo outlet
uggs outlet
city royals jerseys
supreme shirts
birkenstock shoes outlet
nike cortez classic
nfl jerseys
kate spade handbags
christian louboutin shoes
kate spade purses
oakley sunglasses outlet
white sox jerseys
pandora charms sale clearance
air max 1
fitflop shoes
louis vuitton outlet online
michael kors outlet store
salvatore ferragamo shoes
philipp plein outlet
fitflops sale clearance
timberland boots outlet
twins jerseys
adidas store
mariners jerseys
angels jerseys
coach outlet store online
pandora jewelry outlet
adidas outlet store
supra for sale
converse shoes
kobe shoes
fred perry polo shirts
columbia shoes
christian louboutin shoes
pandora charms sale
prada outlet online
michael kors handbags
cheap jordans free shipping
dr martens boots
pandora outlet store
pandora charms sale
kate spade outlet online
epic react flyknit
nmd adidas
michael kors outlet clearance
pandora charms outlet
adidas nmd runner
adidas outlet
ferragamo shoes
ugg boots sale
kate spade outlet
louboutin outlet
rangers jersey
cheap oakley sunglasses
adidas superstar shoes
adidas campus shoes
nike huarache shoes
hermes bag
ugg shoes
coach outlet online
skechers outlet
yeezy shoes
michael kors outlet store
birkenstock outlet store
hermes bags
air max 95
pandora rings
kate spade handbag
kate spade outlet online
birkenstock outlet online
ralph lauren outlet online
polo ralph lauren outlet online
canada goose
ralph lauren
fendi handbags
ralph lauren outlet online
birkenstock sale
cheap ray ban sunglasses
fitflops sale
nba jerseys wholesale
adidas shoes
adidas outlet online
cheap air max
abc20180725
Back to top
View user's profile AIM Address
cadwangy3



Joined: 04 Aug 2018
Posts: 63



PostPosted: Tue Aug 28, 2018 2:17 am    Post subject: Re: [June 30, 2009] Clan Competition Signatures Reply with quote

2018.8.28zhouyanhua
antonio brown jersey
ray ban sunglasses
nike air max
replica watches
puma shoes
air max 90
aaron rodgers jersey
mac cosmetics
christian louboutin
converse chuck taylor
montblanc pen
nike free 5
england world cup jersey
bathing ape
pandora jewelry
ray ban
michael kors canada
armani jeans
marc jacobs
true religion jeans
karen millen dresses
instyler
yeezy boost
new balance shoes
lacoste jeans
nike air
jimmy choo shoes
montre pas cher
montre pas cher
kate spade
lebron 12
hollister
ray ban
adidas originals
cheap nfl jerseys
herve leger
carson wentz jersey
timberland boots
jimmy choo sunglasses
cartier bracelet
swarovski jewelry
jordan shoes
louboutin outlet
ed hardy
burberry outlet
barbour jackets
ray ban sunglasses
jordans
tommy hilfiger outlet
prada outlet
hermes bags
pandora jewelry
true religion
adidas soccer cleats
converse
fossil handbags
tod's shoes
nike air max
dak prescott jersey
bape clothing
salvatore ferragamo shoes
converse all star
true religion outlet
oakley sunglasses
fendi
jordan
portugal world cup jersey
air zoom pegasus
wedding dresses
kate spade outlet
adidas zx flux
air max 97
mulberry handbags
replica watches
nike store
michael kors outlet
versace handbags
nike free
givenchy handbags
nike store
jordans
beats pill
nike shoes canada
michael kors outlet
air max 95
air jordan
beats by dre
kobe 9
soccer jerseys
jordan 6
armani sunglasses
beats by dre
sac michael kors
fitflop uk
nike free run
lunette oakley
g-star jeans
salomon shoes
adidas outlet
polo ralph lauren
nike outlet
nike mercurial
jordan 10s
ghd hair straighteners
barbour jackets
nike roshe
kids jordans
insanity workout
nike free
scarpe nike
insanity workout
manolo blahnik
air jordan
bose headphones
dsquared2 outlet
adidas outlet
converse
oakley sunglasses
jimmy choo
kd shoes
yves saint laurent
bottega veneta handbags
chanel handbags
dansko shoes
michael kors handbags
alife clothing
timberland
vans shoes
hermes jewelry
nike shoes
air max 95
jordan shoes
longchamp bags
nike vapor max
nike blazer
nike air max
adidas superstar
jordan 3s
ray ban sunglasses
cheap nfl jerseys
nike blazer
adidas outlet
jordan 1
curry 2
nike air force
burberry outlet online
jordan 4s
coach purse
kevin durant jersey
oakley sunglasses sale
bcbg max
carrera sunglasses
mac makeup
oakley sunglasses
pandora charms
valentino shoes
supra
jordan 3
insanity workout
hermes outlet
kd 10 elite
basket nike
dolce & gabbana sunglasses
hermes uk
balenciaga shoes
ralph lauren outlet
vans scarpe
vans outlet
chi flat iron
nike kyrie 2
longchamp outlet
lebron 11
bulgari jewelry
reebok outlet store
prada handbags
ray ban sunglasses
toms outlet
basket nike
bcbg outlet
new balance outlet
skechers sneakers
stuart weitzman
nike air max plus
mizuno
salvatore ferragamo shoes
nike clothing
michael kors outlet
parajumpers outlet
jordan xx9
guess handbags
michael kors borse
converse shoes
wedding dresses
polo ralph lauren
air max
orologi rolex
tommy hilfiger
isabel marant shoes
supra shoes
new balance pas cher
ferragamo handbags
nike kyrie 4
huf clothing
lunette oakley
brazil world cup jersey
versace sunglasses
pandora bracciali
pandora rings
rolex watches
jordan 12
ghd hair straighteners
new balance 574
ghd hair straighteners
curry 4
gucci outlet online
boy london clothing
karen millen
converse shoes
longchamp
jordan shoes
balmain jeans
nike air max
michael kors outlet
jordan 13s
rolex watches
dsquared2 jeans
new balance
kd 9
gucci bags
arc'teryx jackets
softball bats
lululemon sale
louboutin shoes
asics shoes
fitflops sale
chrome hearts
chrome hearts jewelry
burberry outlet
oakley sunglasses
nike air max
salvatore ferragamo
jordan retro
fendi handbags
dior handbags
adidas soccer cleats
gucci shoes
adidas slides
soccer shoes
belgium world cup jerseys
10 deep clothing
air max 90
michael kors
abercrombie and fitch
nike shoes
jordan 9s
nike air max
adidas outlet
converse shoes
dior sunglasses
polo ralph lauren
burberry bags
dansko shoes
bijoux swarovski
calvin klein outlet
jordan shoes
cheap jerseys china
calvin klein jeans
kobe 12
harry winston jewelry
nike air max
oakley sunglasses
mizuno running shoes
air max 2017
hollister outlet
adidas outlet
fitflops sale
timberland
burberry sunglasses
mac makeup
miu miu shoes
baseball bats
nike air more uptempo
clarisonic mia 2
air max 2017
toms shoes
jordan 32
abercrombie and fitch
marc jacobs handbags
adidas running shoes
pandora bijoux
abercrombie outlet
adidas
ferragamo belts
air force 1
coach outlet
nike blazer
nike outlet
sac longchamp
ray ban
vibram shoes
kobe 10
salvatore ferragamo sunglasses
nike outlet
dyson hair dryer
nike roshe
furla bags
jordan 8s
hogan shoes
kobe 11
curry 3
longchamp handbags
coach outlet store online
true religion jeans
nike air max
germany world cup jersey
asics gel lyte
chloe handbags
kyrie irving jersey
air max 90
nike outlet store online
true religion jeans
sac vanessa bruno
dolce & gabbana
jordan 5
kristaps porzingis jersey
tory burch outlet
air max 90
longchamp handbags
golden goose shoes
argentina world cup jersey
new balance shoes
jordan 2s
reebok outlet store
goyard handbags
nike huarache
pandora jewelry
nike roshe
coach outlet
burberry clothing
nike air max
michael kors outlet
chloe bags
nike store
nike roshe
jordan
burberry sale
nike mercurial
jordan 14s
swarovski jewelry
nike free run
iphone x case
bally shoes
red bottoms
jordan 4
ferragamo shoes
marc jacobs handbags
lebron james shoes
michael kors handbags
replica rolex watches
stuart weitzman shoes
basketball jerseys
adidas outlet
michael kors
ray ban sunglasses
true religion outlet
jordan 11
jbl speaker
cartier sunglasses
bottega veneta handbags
polo lacoste
nike free run
beats headphones
tiffany jewelry
jordans
oakley sunglasses
air max 90
armani handbags
giannis antetokounmpo jersey
lunette ray ban
wedding dresses
gucci bags
nike air max
hogan outlet
adidas clothing
chloe sunglasses
louboutin pas cher
roshe run
adidas trainers
champion clothing
sac guess
gioielli swarovski
france world cup jersey
roshe run
links of london
spain world cup jersey
chanel
jordan clothing
tory burch outlet
guess clothing
babyliss pro nano titanium
hogan
iphone case
nike outlet online
gucci outlet online
christian louboutin shoes
oakley
nike roshe run
omega watches
nike air force
chopard jewelry
flip flops
bvlgari sunglasses
nike air max
michael kors outlet
gentle monster sunglasses
james harden jersey
michael kors outlet
kate spade outlet
ralph lauren
vans pas cher
ralph lauren
asics gel
celine handbags
adidas crazy 8
nike tn
sac longchamp
freshjive clothing
kd shoes
jordan shoes
mizuno running shoes
tory burch
ralph lauren
polo ralph lauren
sac burberry
kenzo clothing
lululemon outlet
jordan 31
christian louboutin
oakley sunglasses
montblanc pen
foamposite
fendi sunglasses
christian louboutin outlet
montre femme
basketball shoes
curry 5
tommy hilfiger
hermes birkin bag
clarks shoes
dolce and gabbana
chaussure nike
givenchy jewelry
adidas flip-flops
kobe 10
nfl jerseys
giuseppe zanotti
bottega veneta sunglasses
mac cosmetics
abercrombie and fitch
jordan 6s
air max 2018
nike factory store
jordan 7s
guess clothing
prada
reebok shoes
jordans
michael kors handbags
asics running shoes
ray ban occhiali
alexander mcqueen handbags
chanel bags
keen sandals
louboutin pas cher
dolce and gabbana
diesel jeans
designer sunglasses
oakley outlet
2018.8.28zhouyanhua
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Discussion Pod Forum Index -> User Adventures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group