Library Creation

francisstokes
I would like to create a library of my own for use in my game specifically,and the typelib.qlb doesn't really suit its needs,and computer whizz's librarys are finished (but there coming along well!),so id like to make a custom library.thing is,i dont know how.can anyone help?

MaDbRiT
Francis

I'm not being 'funny' here - but if the information given in the Quest help isn't enough for you to read up on how to make libraries for Quest, then you probably don't have enough coding experience to succeed (as yet).

We all have to start somewhere and Alex does give a trivial little example in the Quest manual. Read the section, actually MAKE the library as Alex suggests and once you get that working, you'll have the groundwork in place to develop your library making skills... take it slow and don't try to run before you can walk.

:idea: MadbRiTs golden rule #1 - plan it on paper before you write a line of code!

My "typelib.qlb" (the sixth or seventh Quest lib I've written) was developed from something originally written to suit my particular game making plans (all of my output is non-violent being targeted at a specific audience) and is offered to anyone who has similar needs. Because I-F is such a diverse thing it is unlikely any one library will ever cover all requirements, even to try to do so it would make a huge and unwieldy lib that would (probably) be a pain to use!

:idea: Keep your targets modest, especially at first.

I've no desire/intention to build 'combat' routines into typelib - I think CW is covering the bases with that in his 'RPG' library. I'm adding more NPC interaction (talking to them etc) to typelib because that's what I need ;-)

:idea: Don't re-invent the wheel!

I also don't plan a multi-player version of typelib - I don't have an audience for multi player RPG's and I don't play them myself...

:idea: Stick with what you know!

What I probably will add to typelib (because it already exists I just haven't put a QDK interface on it yet) is my 'shopkeeper' module which deals with money and buying and selling things.

I've also got a 'bartering' module - but I doubt that is general purpose enough to gum up typelib with it. :lol:

:idea: Just because you CAN do it doesn't mean you SHOULD do it...

Al

paul_one
Oooo, I like the idea of that shopkeeping bit Al.

As you said, requirements seem to push what is created, so I am creating the RPG library.

I mayb actually use my own Math's library in there, as I can shorten 3 lines of maths into one now, and that will help with understanding what I have written!

I found library's hard at first, I think there was less documentation on it at the time.

But basically all the library is, is an ASL file, with only routines/rooms/objects in it.
You CAN add stuff to other area's of the game - but you don't need to know that at first...
Open Quest's help file and look through the ASL reference. In there somewhere is a Library page which tells you some information on it.

I have to go with Al here and say "go slowly", there's no need to rush into it.

This topic is now closed. Topics are closed after 14 days of inactivity.

Support

Forums