can some one help me please?

Anything and everything related to the Evolution server.
Post Reply
kagore
Killer in Training
Posts: 15
Joined: Sun Mar 03, 2013 11:14 am

hi guys, I was looking for some help.


I was looking to do something in my new map that im making, kind of like the thing in Utopia where you have to "hack the terminal" with the code to get into the armory thing. what I need to know is how to make a GUI like that, a numbr code, and a place to find the code Thanks in Advance!!!

-Kagore
when life gives you lemons, THROW THEM BACK IN IT'S FACE!!!
DW_Ant
DW Clan Member
Posts: 2679
Joined: Sat Jun 21, 2008 11:00 pm
Location: North Carolina

The GUI stuff is already done for you.

Place a MenuUseTrigger in your map (actor class browser Triggers -> Use Trigger -> DWUseTrigger -> MenuUseTrigger)

Open the MenuUseTrigger properties and go to the MenuUseTrigger category:
Set MenuClass equal to "DWAssaultMapperTools.GUI_KeyCode" (without quotations)
Set MenuType equal to KeyPad

Go to the KeyPad category:
Set your passwords in the Passwords array
You can set your success and fail events here, too

Place a ScriptedTrigger in your map (I'm assuming you know how ScriptedTriggers work)
Add an action called: ACTION_SetMenuTrigger whenever you want the password to be determined.
Set MyMenuUseTrigger equal to MenuUseTrigger# (this value is found in your MenuUseTrigger's Object property.)
Set bRandomizeIndex to true

This is the basic setup of the KeyPad Menu Trigger. Of course there are other properties such as associating a variable from the Variable Storage Actor, but since you are a new mapper, I'll leave it to the basics.
The difference between successful people from others is
not in the lack of strength,
not in the lack of knowledge,
but rather in the lack of will.

FFE466

_________________________
{F}{AH}{CivFR}{XC}{U}{DF}{CJ}{SD}
kagore
Killer in Training
Posts: 15
Joined: Sun Mar 03, 2013 11:14 am

ehh... I appreciate the help, I really do, but I have a hard time following you X3 if you could explain it any simpler, I would be very grateful.





-Kagore
when life gives you lemons, THROW THEM BACK IN IT'S FACE!!!
DW_Ant
DW Clan Member
Posts: 2679
Joined: Sat Jun 21, 2008 11:00 pm
Location: North Carolina

I'll post step-by-step.

1. Open the actor class browser
2. Click on the plus next to Triggers. Then UseTrigger. Then DWUseTrigger. Select the MenuUseTrigger.
3. Place a MenuUseTrigger near the button where you want the players to open the menu.
4. Open the MenuUseTrigger properties (right click actor, click on MenuUseTrigger properties on the shortcut menu)
5. Expand the MenuUseTrigger category.
6. Set MenuClass equal to "DWAssaultMapperTools.GUI_KeyCode" (without quotations). That way the player knows what menu to open.
7. Set MenuType equal to KeyPad. That way the data handling is done according to a keypad menu format.
8. Collapse the MenuUseTrigger category, and expand the KeyPad category.
9. Set your passwords in the Passwords array. These passwords will be randomly chosen later on.
10. Set your success event here, too. This is the event to trigger when the player successfully guessed the right password.

The next part involves the scripted trigger. Let me know if you made it this far.
The difference between successful people from others is
not in the lack of strength,
not in the lack of knowledge,
but rather in the lack of will.

FFE466

_________________________
{F}{AH}{CivFR}{XC}{U}{DF}{CJ}{SD}
Post Reply