Yes, you can ask directly in the topic.Zan wrote: Hey, by the way, can any of you please answer me some editing related questions (in pm I guess)? I'm making my first game and wanted to ask you some simple stuff like how you added different music in different areas, or how you make text pop up on your screen, or how you made those tnt blow-able walls.
1. Different music can be added by the script. See https://zdoom.org/wiki/SetMusic for details.
2. "tnt blow-able walls" is a trick. We use a script at the wall that checks whether a player has dynamite. If yes, then there is an object - an explosion - is spawned and the part of the wall is lowered quickly (like Floor_lower to lowest or similar action). And dynamite is taken from the player's inventory.
3. " how you make text pop up on your screen" - it is a rather complicated system of scripts.
The R button summons a script that checks for specific items in the player's inventory and refers to the scripts responsible for the scrolling arrows to select an answer in dialogues (by 2, 3, 4, 5 positions). The button T summons a script that checks for other special items in the player's inventory, and refers to the scripts responsible for the withdrawal of the corresponding replica of the text, which also depend on the position in the dialogue.
Special items are put into inventory and taken away during the dialogue.
For a better understanding of the dialogs system see scripts on the maps (eg, simple dialogues of peasants or guards on MAP 07).