Ghost_Ellis Posted March 23, 2024 Hello, Im Ghosty, I'm pretty new to doom modding and scripting, so have a few questions. How can I make a texture change when the player interacts with it? (Ex: A tv that can be turned on and off) How can I make hud messages to notify the player of their objective or tasks? How can I make dialougue like in games like Skyrim, where you interect with an item or character and see text come up, that can be clicked on to skip to the next line of text? (Ex: *click on corpse* "Ive been here for years" player hits e " are you new?") 0 Quote Share this post Link to post
Stabbey Posted March 23, 2024 How experienced are you with modding and scripting in other games? Have you dabbled in any other kind of programming? Judging by these questions, you have some high ambitions for one of your first forays into Doom scripting. That's not to say it's impossible, just that the less experience you have, the more you'll need to learn. I am not sure how well Doom supports using a cursor to interact with things such as corpses. If you have never created a Doom level before, then I shall give the standard advice I give to all new mappers, which is to skim the basic tutorials to get an idea of how the base engine works before immediately diving from a cliff into the rocky shoals of making maps for UDMF format. 0 Quote Share this post Link to post
fekete Posted March 24, 2024 1) you make an animated texture, a switch in this specific case. 2) well, you use hudmessage() funtion to display text. 3) there is a definition language in gzdoom called zsdf, which is specifically for mqking dialogues. 0 Quote Share this post Link to post
Ghost_Ellis Posted March 25, 2024 Perfect, thanks dude. I been using; script 1 //TEXT { HudMessage_(s: "whatever tf text here"; HUDMSG_TYPEON, 1, CR_RED, 0.05, 0.1, 28.0); Delay (35°5); HudMessage_(s: ""; HUDMSG_TYPEON, 1, CR_RED, 0.05, 0.1, 28.0); } So text can pop up, and fade out. Then I just add a script action to linedefs that when interacted with, plays these msgs 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.