Suggestion: Autofill word list for text parser

Started by mkennedy, Sun 20/11/2005 02:29:13

Previous topic - Next topic

mkennedy

I would like an option to autofill the word list used by the text parser with the names of the objects, hotspots, characters, and any other item that can be given a name that the player character can interact with. This would be extreamly useful for text adventure type games.

Elliott Hird

And extremely illogical. What if you have a hack, and that gets recognised, (bad example)?

monkey0506

You could create one, but depending on the number of words it could slow down your game...

You could just basically set up all your words in an array of Strings:

String ParserWords[n];
ParserWords[0] = "firstword";
...
ParserWords[n - 1] = "lastword";

And then you could display them on a GUI...It could work, but it wouldn't necessarily be easy to program.

Pumaman

I can see the uses for this, it could be quite handy for constructing a parser automatically.

Even better would be the ability to automatically link the parser to the mouse cursor verbs and the room hotspots so that it would automatically parse the basic interactions ... it's certainly something to consider for future.

SMF spam blocked by CleanTalk