As clearly noted i need help
I have never made a dialog button b4 in my life and well I tried can someone tell me whats wrong I tried and I failed... ;p;
no lol everything works accept I can't show all the dialog options at once if you are good at making dialog buttons please share with me what I have to do.
Re: Doom Help
Posted: Sat Oct 11, 2008 10:22 am
by 3ICE
You should have attached an empty map with only the dialog-related triggers copied from the Doom map instead of the entire thing.
Your variables are messed up: For a dialog panel and all of it's buttons, two variables are needed. You created like 7.
Here is a proper dialog initialization with two variables, a dialog button array(var_DialogButtonArray) and a Dialog(var_Dialog): InitDialogs by 3ICE
.... Events
........ Map initialization
.... Conditions
.... Actions
........ -------- Clearing is not necessary, but it won't hurt. --------
........ Dialog - Clear var_Dialog
........ -------- Set a title: --------
........ Dialog - Change the title of var_Dialog to Select difficulty:
........ -------- Create an Easy button --------
........ Dialog - Create a dialog button for var_Dialog labelled Easy
........ Set var_DialogButtonArray[0] = (Last created dialog Button)
........ -------- Create a Medium button --------
........ Dialog - Create a dialog button for var_Dialog labelled Medium
........ Set var_DialogButtonArray[1] = (Last created dialog Button)
........ -------- Create a Hard button --------
........ Dialog - Create a dialog button for var_Dialog labelled Hard
........ Set var_DialogButtonArray[2] = (Last created dialog Button)
........ -------- You can't show dialogs at Map Initialization, so add a Wait: --------
........ Wait 0.00 seconds
........ -------- Finally we show the dialog to Red --------
........ Dialog - Show var_Dialog for Player 1 (Red)
Now we need to detect clicks: HandleDialogs by 3ICE
.... Events
........ Dialog - A dialog button is clicked for var_Dialog
.... Conditions
.... Actions
........ If (All Conditions are True) then do (Then Actions) else do (Else Actions)
............ If - Conditions
................ (Clicked dialog button) Equal to var_DialogButtonArray[0]
............ Then - Actions
................ -------- Easy --------
............ Else - Actions
................ If (All Conditions are True) then do (Then Actions) else do (Else Actions)
.................... If - Conditions
........................ (Clicked dialog button) Equal to var_DialogButtonArray[1]
.................... Then - Actions
........................ -------- Medium --------
.................... Else - Actions
........................ If (All Conditions are True) then do (Then Actions) else do (Else Actions)
............................ If - Conditions
................................ (Clicked dialog button) Equal to var_DialogButtonArray[2]
............................ Then - Actions
................................ -------- Hard --------
............................ Else - Actions
Re: Doom Help
Posted: Sat Oct 11, 2008 3:51 pm
by I_H8_U_M8
your first part of you forum make NO SCENCE
LIKE WHAT KIND of vars are they ugg
Even though I did do it ;p;
thanks 3ice but please when explaining tellme what var type i should use ;p;
I_H8_U_M8 wrote:your first part of you forum make NO SCENCE
LIKE WHAT KIND of vars are they ugg
I did name the variable types:
3ICE wrote:two variables, a dialog button array(var_DialogButtonArray) and a Dialog(var_Dialog)
Dialog Button (array)
Dialog
This is how the variables are called, if this doesn't make sense to you, check your variables panel again...
And it is called a post, not a forum.
Re: Doom Help
Posted: Sat Oct 11, 2008 4:33 pm
by I_H8_U_M8
3Ice i did accually got what you ment but the way you had worded and explained it made it difficult to read also double spacing helps ;p;
Re: Doom Help
Posted: Thu Oct 16, 2008 7:42 pm
by I_H8_U_M8
Help Wanted! I Need so help with my doom game I need you (the viewer) to help me think of more game modes
Current game modes
Campain This is a team battle where your team will fight and escape through doom game.
Survival This is another team game where you defend your base for 40 rounds if you lose your # of lives then you lose the game.
Battle Battle against the other players. you each will have 10 lives and when you are kill another player you gain one live and the owner of the dieing unit will lose one live
What modes do you think I should have or is this good?
answer any thought.
Re: Doom Help
Posted: Fri Oct 17, 2008 5:11 am
by 3ICE
Just because I made a tag and a tag, doesn't mean you can mindlessly spam them. Please only use them when you have to, not because they look cool. Thanks.
By the way blink doesn't work on all versions of IE, so Microsoft Zombies will most likely not even see them. (Microsoft Zombie = IE user, mindlessly using the tools he/she is provided with, instead of switching to Firefox)