steve the gaming guy wrote:I like the idea of adding a prefix as in "the" before a room name under the GO TO tab. Unfortunately, the only thing this does is make the description realistic (You can go to the right room, the left room).
But when you type "go to the right room", it says you can't. It forces you to type "go to right room" and leave out "the". What the heck?![]()
Alex wrote:Prefix stuff - yes, I agree it would be sensible if Quest recognised "go to the blah blah". I'll add it to my "to do" list.
PUT - not entirely sure what you mean here as there's no built-in "put" command - but it's really quite easy to create one yourself. You need to add a command like "put #@thing1# on #@thing2#". I can see it might be nice to have a standard library for these kinds of things though, and it's something that will probably appear at some point.
Library error - I think you sent me an email about this. (Sorry I've not replied yet - also I can't check right now as I'm at work) - I don't know why you should be getting an error, but the most likely explanation is that your friend simply doesn't have the library on their machine. It should either be in the same folder as the ASL file, or in the Quest folder.
007bond wrote:It would help if you could give us the ASL file plz
think it came from MaDbRit.
if you want to put something on another thing, the Q3EXT library as it was then is working in 'put on clothes mode' - and so you won't get the effect you want.. (it is looking for a 'put jacket on' construct - if you see what I mean.)
If you actually want to put (say) a hamster on a microwave (sadist!) what you need to do is make the microwave a container and the hamster a containable. By default that will let you put the hamster IN the microwave and subsequently describe it as being IN the microwave - a few simple overrides in the lib and those IN's can easily become ON's - problem sorted.
By the way, Q3Ext is VERY out of date, it was replaced by 'Typelib.qlb' some 2 years ago (I think thats when I let the typelib beta escape)
Typelib itself is due for replacement (Typelib Version 3)as soon as I complete my basic testing (which depends on my being available to fix things - which I haven't been for some time)
Al (MaDbRiT)
' "Hammy the Hamster"
' Created with QDK Pro 3.52
!include <Typelib.qlb>
define game <Hammy the Hamster>
asl-version <350>
gametype singleplayer
start <kitchen>
game author <MaDbRiT>
game info <Created with QDK Pro 3.52>
command <drop #@fstobj# on #@scdobj#> exec <put #fstobj# in #scdobj#>
command <use microwave> {
if here <microwave> then msg <The Microwave is broken, sorry.>
else msg <What microwave?>
}
end define
define synonyms
end define
define room <kitchen>
define object <microwave>
type <TLTcontainer>
properties <listHeader=Sitting on the microwave is; sizeLimit=15; sizeLimit=15>
end define
define object <hamster>
alt <hamster; hammy>
look <he's kind of cute in a rodent way...>
take
prefix <a>
displaytype <furry animal>
gender <he>
type <TLTobject>
type <TLTcontainable>
properties <size=15>
action <speak> say <squeak-squeak!>
end define
end define
define text <intro>
end define
define text <win>
end define
define text <lose>
end define
Anonymous wrote:
Note - make sure you have typelib.qlb 1.009 dated 6-Sep-2003. !
typelib.qlb 9/6/03? Is there a link where I can get that one? The one I got from your website was from 2002, I believe. I'll check again later. I'll also have to try out your scenario later too.
I copied your microwave/gerbil program into QDK under the Misc ASL code section and I was able to get the game to run. However, I could not make the two objects interact with the other. I can look and examine both objects. I can pick up the hamster. I can use the microwave. But I cannot put the hamster on or in the microwave nor can I drop the hamster on the microwave.
What command should I be typing in?
(Start of new game)
You are in kitchen.
You can see a microwave and a hamster here.
> take hamster
Taken.
> put hamster on microwave
O.K.
> x microwave
Nothing out of the ordinary.
Sitting on the microwave is a hamster.