Jump to content

Qwery input and text search


SquirrelStew

Recommended Posts

Hi,

 

is it possible to script so you can input text from the computer qwerty keyboard in dialogs?

 

If you could use text search on top of that (such as GREP), combined with scripting you could have interactive dialogues at a complete new level.

 

Maybe I am just dreaming, but it would be great to know if it is possible.

 

N.

Link to comment
Share on other sites

I have never seen this done in any fallout mod and I do not believe it is possible. If you are familiar with "interactive fiction" such as Zork (or if you google these terms) it is very difficult to understand arbitrary text that the user might type in. Most modern games stay away from this in favor of some kind of menu system.
Link to comment
Share on other sites

Ok, that is a shame. I am checking out an old school rpg engine (Dungeon Craft) that can do GREP a la Zork, and it works really good. But it would be nice to work with a modern engine like Fallouts.

 

Maybe you should give it a go? I am yet to check out your mods but one of them has emphasis on dialog, so qwerty input should your cup of tea! :)

 

Anyway, I will download your mods, thanks!

 

N.

Link to comment
Share on other sites

Zork uses a noun/verb parser, unrelated to grep

When I use what is said to be grep in Dungeon Craft, the in game result is much like Zork. But under the the hood it is different I understand.

 

AFAIK, there is no way in the fallout engine to put up a dialog box where the user can enter text.

When starting a new game you enter your name from your keyboard in a dialog box.

Link to comment
Share on other sites

Hi,

 

is it possible to script so you can input text from the computer qwerty keyboard in dialogs?

 

If you could use text search on top of that (such as GREP), combined with scripting you could have interactive dialogues at a complete new level.

 

Maybe I am just dreaming, but it would be great to know if it is possible.

 

N.

 

well i've read somewhere it's possible to query keyboard entries via menumode-scripts, so at least this part should work somehow.

and for the parser, theoretically, it should be possible to do a simple verb/noun-parser on if-loops alone, but if you'd want this to understand more than 3 words, the scripts would become long as eternity in hell.... :-)

Link to comment
Share on other sites

There is no way for a modder to put up a dialog box which allows the user to enter text. The scripting engine does not deal with strings so there is no way for a modder to write if statements on strings.

well, not exactly _enter_text_, but it does allow to query single keys pressed, no...?

Link to comment
Share on other sites

I suppose it is possible that a clever modder could create a dialog box which accepts text, by writing a huge case statement for each possible key, including backspace for editing, etc. If it is possible at all, it would be a huge amount of work. But the fact that you cannot deal with strings in the scripting language seems to be a fatal problem with this concept.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...