Page 1 of 1

Doom Help

Posted: Sat Oct 11, 2008 10:00 am
by I_H8_U_M8
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):t_tri InitDialogs by 3ICE
.... t_eve Events
........ t_all Map initialization
.... t_co Conditions
.... t_act Actions
........ t_com -------- Clearing is not necessary, but it won't hurt. --------
........ t_dia Dialog - Clear var_Dialog
........ t_com -------- Set a title: --------
........ t_dia Dialog - Change the title of var_Dialog to Select difficulty:
........ t_com -------- Create an Easy button --------
........ t_dia Dialog - Create a dialog button for var_Dialog labelled Easy
........ t_set Set var_DialogButtonArray[0] = (Last created dialog Button)
........ t_com -------- Create a Medium button --------
........ t_dia Dialog - Create a dialog button for var_Dialog labelled Medium
........ t_set Set var_DialogButtonArray[1] = (Last created dialog Button)
........ t_com -------- Create a Hard button --------
........ t_dia Dialog - Create a dialog button for var_Dialog labelled Hard
........ t_set Set var_DialogButtonArray[2] = (Last created dialog Button)
........ t_com -------- You can't show dialogs at Map Initialization, so add a Wait: --------
........ t_wai Wait 0.00 seconds
........ t_com -------- Finally we show the dialog to Red --------
........ t_dia Dialog - Show var_Dialog for Player 1 (Red)


Now we need to detect clicks:t_tri HandleDialogs by 3ICE
.... t_eve Events
........ t_dia Dialog - A dialog button is clicked for var_Dialog
.... t_co Conditions
.... t_act Actions
........ t_if If (All Conditions are True) then do (Then Actions) else do (Else Actions)
............ t_co If - Conditions
................ t_if (Clicked dialog button) Equal to var_DialogButtonArray[0]
............ t_act Then - Actions
................ t_com -------- Easy --------
............ t_act Else - Actions
................ t_if If (All Conditions are True) then do (Then Actions) else do (Else Actions)
.................... t_co If - Conditions
........................ t_if (Clicked dialog button) Equal to var_DialogButtonArray[1]
.................... t_act Then - Actions
........................ t_com -------- Medium --------
.................... t_act Else - Actions
........................ t_if If (All Conditions are True) then do (Then Actions) else do (Else Actions)
............................ t_co If - Conditions
................................ t_if (Clicked dialog button) Equal to var_DialogButtonArray[2]
............................ t_act Then - Actions
................................ t_com -------- Hard --------
............................ t_act 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;

Re: Doom Help

Posted: Sat Oct 11, 2008 4:20 pm
by 3ICE
I just finished a tutorial: http://www.3ice.hu/blog/diffdiag/

EDIT:
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 blink 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)