changes
Anonymous
24 Apr 2004, 14:59how to make changes in your games?
by example (in a single player game), you are in the beginning room with a gang of persons and when you go to another room the same persons as in the first room are there too (so they are gone in the first room) how to do that?
by example (in a single player game), you are in the beginning room with a gang of persons and when you go to another room the same persons as in the first room are there too (so they are gone in the first room) how to do that?
GameBoy
25 Apr 2004, 09:16what? i think you should make your post a little bit more clear.
I'm assuming you wanna move the gang to the room the players goes, well you could either write a script that makes them goto the room when the player exits the room, or just have a copy of the objects in the room. something like that.
I'm assuming you wanna move the gang to the room the players goes, well you could either write a script that makes them goto the room when the player exits the room, or just have a copy of the objects in the room. something like that.
007bond
29 Apr 2004, 08:03Ste's right
From what I can make out, You want to make changes to the game. Use QDK. Also, if you want to have a gang move with you into every room, it would probably worth your while to just have, as Ste said, a copy of each object in every room.
007bond
From what I can make out, You want to make changes to the game. Use QDK. Also, if you want to have a gang move with you into every room, it would probably worth your while to just have, as Ste said, a copy of each object in every room.
007bond
SteveYoungWork
14 Jan 2005, 16:34This is somehing Al (MaDbRiT), pointed me to, (he is very helpful).
' "NPC Follower Demo"
' Created with QDK Pro 3.52
!include <Typelib.qlb>
define game <NPC Follower Demo>
  asl-version <350>
  gametype singleplayer
  start <kitchen>
  game author <Your Name>
  game version <1.0>
  game copyright <© 2004 ...>
  game info <Extra Info>
  afterturn doaction <fluffy;following>
end define
define synonyms
end define
define room <kitchen>
  look <a normal kitchen>
  north <hall>
  define object <fluffy>
    type <TLTobject>
    type <TLTactor>
    properties <displaytype=cat; not takeable>
    action <following> {
      if flag <cat_following> and ( $locationof(fluffy)$ <> #quest.currentroom# ) then {
        move <fluffy;#quest.currentroom#>
        msg <Fluffy has followed you and is miaowing for attention.>
      }
    }
    action <speak> {
      flag on <cat_following>
      msg <Fluffy miaows back at you... Cats are not great conversationalists>
    }
  end define
end define
define room <hall>
  look <a normal hall>
  north <lounge>
  south <kitchen>
end define
define room <lounge>
  look <a normal lounge>
  south <hall>
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define
' "NPC Follower Demo"
' Created with QDK Pro 3.52
!include <Typelib.qlb>
define game <NPC Follower Demo>
  asl-version <350>
  gametype singleplayer
  start <kitchen>
  game author <Your Name>
  game version <1.0>
  game copyright <© 2004 ...>
  game info <Extra Info>
  afterturn doaction <fluffy;following>
end define
define synonyms
end define
define room <kitchen>
  look <a normal kitchen>
  north <hall>
  define object <fluffy>
    type <TLTobject>
    type <TLTactor>
    properties <displaytype=cat; not takeable>
    action <following> {
      if flag <cat_following> and ( $locationof(fluffy)$ <> #quest.currentroom# ) then {
        move <fluffy;#quest.currentroom#>
        msg <Fluffy has followed you and is miaowing for attention.>
      }
    }
    action <speak> {
      flag on <cat_following>
      msg <Fluffy miaows back at you... Cats are not great conversationalists>
    }
  end define
end define
define room <hall>
  look <a normal hall>
  north <lounge>
  south <kitchen>
end define
define room <lounge>
  look <a normal lounge>
  south <hall>
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define
Anonymous
14 Jan 2005, 18:15Newbie to the rescue, eh? Good job
Seeing that the post in reference is from last April, the author probably found his answer in that same post you referenced.
EagleWing
15 Jan 2005, 12:25newbie boobie doo wrote:Newbie to the rescue, eh? Good jobSeeing that the post in reference is from last April, the author probably found his answer in that same post you referenced.