id Tech Forums

id Tech 4 (Doom3/Prey/Q4) => id Tech 4 Scripting => Topic started by: The Happy Friar on December 11, 2018, 10:55:27 PM

Title: When monster shot, possible to freeze time & bring up GUI to type in?
Post by: The Happy Friar on December 11, 2018, 10:55:27 PM
I'm looking for an exciting way to help my younger kids learn how to spell/read, so I thought maybe Doom could be modded so that when you successfully hit a monster time is "stopped" for several seconds, a gui pops up & you have to spell the word it displays.  I have minimal experience with the GUI aspects of the game so I'm wondering if this is even possible without C++ coding.
The words that you spell would be listed in a file (or I guess a script/def) and one is randomly chosen.  The faster you type the word the more damage is done to the monster.  Misspelling the word causes less damage then normal.  That's all secondary to if it can even be done.
Title: Re: When monster shot, possible to freeze time & bring up GUI to type in?
Post by: EoceneMiacid on December 12, 2018, 03:14:03 AM
Hmm, that's a pretty good idea. Are you sure Doom 3 is the right game to do this with, though?...
Title: Re: When monster shot, possible to freeze time & bring up GUI to type in?
Post by: The Happy Friar on December 12, 2018, 07:24:13 AM
If I can get it in stock D3 then I can make it more kid oriented (as in less scary).  I was originally thinking of doing it in Quake 2 but I thought D3 might be easier.
Title: Re: When monster shot, possible to freeze time & bring up GUI to type in?
Post by: bitterman on December 12, 2018, 07:25:31 AM
"By the power of linguistic shotgun I command you - die!" )))

****** upd *******

Think about AI_WEAPON_FIRED in ai player script.