|
Axe Software Forums
Quest Developer Forum reQuest.
|
Author | Topic: reQuest. |
Luca Brazzi |
posted 16-10-2000 12:36 GMT
It would be an immense help if these 3 commands would be included in the next quest version: 1. an "it" command: whenever a player concludes a command, whatever first object he used would enter a string, so when the player would like to reuse it with a different action, the program would still recognize it. example: player types "examine book". I found a way of doing it, with caculating the number of characters followed by the object in quest.command, and up to the first space character. here is how i worked it out (I'll write in QDK reference, so all could understand): in the "Game Properties" section, go to the "Global settings", to the "custom player commands". this should do it. 2. the "again" command: when a player types "again", the program acts as if he retyped his last command. example: player types "examine book". The way i found to do it is: add a global user defined command: command <again> exec <#last_action#> then add a global after turn conditional: if is not <quest.command;again> then <last_action;#quest.command#> this means that if the player types "again", the program will run the string last_command as if it the string quest.command was retyped by the player. 3. the unspecified object command: if a player types an action without specifying an object after it, the program asks him what does he want to execute this command on, and when the player types the name of the object, the program uses it as if the player type the whole command properly. example: player types "examine". I havnen't still figured out a way to do it. Please help me with this, and also answer to the possibility of all the above commands appearing in the next Quest version. Thank you very much. |
Alex |
posted 16-10-2000 12:59 GMT
Thanks for your tip re: "examine it" etc. I've sent you an email with code for making an "examine" command to work on its own, but for the benefit of other forum readers, here it is: command <examine> {
|
Luca Brazzi |
posted 16-10-2000 14:25 GMT
True, true. Though true only in a sense of unrecognised commands. If the program associates the command (for example, "examine") with a built-in command ("look at", in this case), it wouldn't work. Know any way it could? |
Alex |
posted 16-10-2000 21:10 GMT
Only by manually setting up a "command <look at>" would this be possible.
|
Luca Brazzi |
posted 18-10-2000 12:08 GMT
Thanx, got it. :) I didn't realize you have to apply the exact specific original command, and that in that case - synoyms won't do. I'm currently working on the "get all" command, which is supposed to give you all the avaiable objects in the room to carry, but it's quite complicated, so I'll have to get back to you on this... BTW, what of all the above will the next verion have? When will the next version come out? And why can't I upload a game I wrote to work with the 3.0 version of Quest Player? I uploaded the nessacery libraries and all... Thanx, Luca. |
Alex |
posted 18-10-2000 14:04 GMT
> BTW, what of all the above will the next verion have? I'm hoping to implement the "it" feature at least for Quest 3.0. The unspecified object command may be a possibility but I'm not really sure how useful it will be. There's already a keyboard shortcut that does much the same as "again" - if you hit F12 the last command typed will be re-entered into the command box, and from there you can either edit it or hit ENTER to execute the command again (although again, I'm not sure how useful executing the same command twice could be).
I started my studies at university two weeks ago which means I don't have as much time available for developing Quest as I previously did have. I might make some small progress over the next few weeks, but hopefully I'll be able to put more serious amounts of time into it come mid-December. But then there's Christmas and all... I wouldn't expect anything much more than a few smallish updates over the next few months. I still can't say when the final Quest 3.0 will be released, as I really have no idea at all. > And why can't I upload a game I wrote to work with the 3.0 version of Quest Player? I uploaded the nessacery libraries and all... I'm not sure what you mean - where did you upload the game?
|