Doom Help

Do you need World Editor help? Ask here!
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.

Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.

Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.

Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
User avatar
I_H8_U_M8
Posts: 134
Joined: Wed Jul 02, 2008 5:57 pm
Location: Canada

Doom Help

Unread post 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.
Attachments
Doom 4.0.w3x
newest version
(1.15 MiB) Downloaded 470 times
Last edited by 3ICE on Sat Oct 11, 2008 10:23 am, edited 1 time in total.
Reason: removed unnecessary poll and smilies

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Doom Help

Unread post 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
ImageImageImageImageImage
Image
ImageImage

User avatar
I_H8_U_M8
Posts: 134
Joined: Wed Jul 02, 2008 5:57 pm
Location: Canada

Re: Doom Help

Unread post 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;
Last edited by I_H8_U_M8 on Sat Oct 11, 2008 4:31 pm, edited 1 time in total.

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Doom Help

Unread post 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.
ImageImageImageImageImage
Image
ImageImage

User avatar
I_H8_U_M8
Posts: 134
Joined: Wed Jul 02, 2008 5:57 pm
Location: Canada

Re: Doom Help

Unread post 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;

User avatar
I_H8_U_M8
Posts: 134
Joined: Wed Jul 02, 2008 5:57 pm
Location: Canada

Re: Doom Help

Unread post 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.
Last edited by 3ICE on Fri Oct 17, 2008 5:06 am, edited 1 time in total.
Reason: Removed useless decoration. Your other topic was deleted for abusing [buttons] and [blinks] too much, STOP!

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Doom Help

Unread post 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)
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests