Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Main Menu

- - - - -

  • Please log in to reply
20 replies to this topic

#1
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
So I've created a main menu for our **DRC**, and everything is written correctly... well... at least I think it is. It isn't wanting to pull up when I open ET or disconnect from a server. Can anyone take a few moments and look over it? Since I can't upload it to this post, I can email it to whomever wants it or find another way to get it to you.

#2
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
U can zip the pk3 and upload it here. I will enable pk3 upload in few mins and then you don't need to zip it.

Thanks

#3
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland
I will take a look at it, just post the file.

#4
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
When trying to download the file, it keeps telling me that the file is to large and skips the download.

#5
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
I could email it to you. Just PM your email address and I'll email it to you

#6
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
Attached File  drcmenu1.zip   24.18KB   8 downloads

My assets folder was to larger to add into the zip file..

Those files named in my assets folder are:

Portraits (folder) - inside of that is allies_win_flag and axis_win_flag
3_cursor3 - TGA file
background_mask - TGA file
click - WAV file
et_logo_huge - TGA file
filter_balance - TGA file
menu - jpg file

I hope that is what you need. Let me know what needs added to make it work.

Thanks!

#7
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland
All works fine, you've forgotten only one thing :) Change: menudef.h and menumacros.h files to the ones from our pk3. They have changed.
We changed the UI, many things are different now, however we did it in the way that 99.9% of menu files can remain unchanged to properly work with our themed UI.
But you need to have those modified files (menudef.h and menumacros.h) placed in the ui folder in your pk3. They contain definitions of styles and other things for the new UI. This is also compiled into the code, so without it it won't work.

EDIT:
Regarding mentioned 99.9%. Actually 100% of menus will work but some need some change to be themed. This concerns for example the quick chat menus.

#8
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
I would suggest to release menu after final release 0.4.0 so in case if we fix something in UI, you will not have to change again and again. But that's just my opinion.

#9
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland
Hellreturn, I don't quite understand. If it was response to me, then we released all that should be released.

#10
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
The menu isn't necessarily just a silent menu. It is a general menu we are putting together to include in our ET installation we have made that includes the 2.60b patch, an etkey and other files that are necessary to play on our servers.

#11
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
What needs changed in those files though?

#12
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland
Here is the snippet from the wm_quickmessageAlt.menu - the original one:

	itemDef {																									\
		name		"window"																					\
		rect		0 19 204 136																				\
		origin		ORIGIN_QUICKMESSAGE																			\
		style		WINDOW_STYLE_FILLED																			\
		backcolor	0 0 0 .75																					\
		border		WINDOW_BORDER_FULL																			\
		bordercolor	.5 .5 .5 .5																					\
		visible		1																							\
		decoration																								\
	}																											\
																												\
	itemDef {																									\
		name		"windowtitle"																				\
		rect		$evalfloat((0)+2) $evalfloat((19)+2) $evalfloat((204)-4) 12									\
		origin		ORIGIN_QUICKMESSAGE																			\
		text		"MESSAGE"																					\
		textfont	UI_FONT_ARIBLK_16																			\
		textscale	.19																							\
		textalignx	3																							\
		textaligny	10																							\
		style		WINDOW_STYLE_FILLED																			\
		backcolor	.16 .2 .17 .8																				\
		forecolor	.6 .6 .6 1																					\
		visible		1																							\
		decoration																								\
	}
 
	#define QM_MENU_END }
 
	#define QM_MENU_ITEM( WINDOWTEXT, ACTION, KEY, POS )				\
	itemDef {															\
		name			"menuitem"##WINDOWTEXT							\
		rect			6 $evalfloat( 35 + ( 12 * POS )) 128 10			\
		origin			ORIGIN_QUICKMESSAGE								\
		type			ITEM_TYPE_TEXT									\
		text			WINDOWTEXT										\
		textfont		UI_FONT_COURBD_21								\
		textstyle		ITEM_TEXTSTYLE_SHADOWED							\
		textscale		.2												\
		textaligny		8												\
		forecolor		.6 .6 .6 1										\
		visible			1												\
		decoration														\
	}																	\
	execKey KEY { ACTION }

In this item the style has been changed:
itemDef {																									\
		name		"window"																					\
		rect		0 19 204 136																				\
		origin		ORIGIN_QUICKMESSAGE																			\
		style		WINDOW_STYLE_FILLED																			\
		backcolor	0 0 0 .75																					\
		border		WINDOW_BORDER_FULL																			\
		bordercolor	.5 .5 .5 .5																					\
		visible		1																							\
		decoration																								\
	}																									
to:
  style  SUBWINDOW_STYLE_SIL_TITLE_BLACK

itemDef named "windowtitle" has been removed completely.

Also Y coordinate in all rectangles has been changed like this:
From:
rect   6 $evalfloat( 35 + ( 12 * POS )) 128 10
To:
rect   6 $evalfloat( 40 + ( 12 * POS )) 128 10


#13
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
Would it be easier to copy and paste and fix what you have mentioned, or just get the file from one of the updated original menus?

#14
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
Or would it be even easier to fix it in the file, then you attach it here and I can just add it to my menu pk3 and it'll be all good :D

#15
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland
It's on top of the menu file, so the change is quick and simple, you can just copy and paste that part.
The easiest this is to copy and paste all above first occurrence of this:
#define QM_MENU_END }
#define QM_MENU_ITEM(


#16
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
Do you have xfire?

#17
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame

Hellreturn, I don't quite understand. If it was response to me, then we released all that should be released.


No, it was in response to Avery. Let's say we change something in final version due to enhancement or bug, then he has to fix it again and again players have to download it.

So what I suggested him, wait for final release and then release the main menu pk3 so that players need to download it once. It's off course a suggestion to Avery but in the end it's totally his choice.

#18
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland

Do you have xfire?

Nope, I am a linux user. For international communication I have the MSN or google talk accout. You can find me by silencer4321@gmail.com on both of them.

#19
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
@hellreturn - I don't think I am gonna really need to wait for the official new release of silent. Like I said, this menu is just for the general ET main menu when you launch the game. It's not dedicated to one individual mod.

@Silencer - My issues that I am having is that I can't find the file you are talking about... So i guess I must be a little dumb here, but I am still learning! I am currently trying to find these in the menumacros file and
#define QM_MENU_END }
#define QM_MENU_ITEM(
isn't in that file.. So that is where I am getting lost. The above part with the codes, none of those are in that order. Is that what I am suppose to be changing that file into? Please forgive me, I am a worthless bum. This is my lack of computer classes have done for me. Damn Culinary school!

#20
OFFLINE   =EMP=Avery13

=EMP=Avery13

    Advanced Member

  • Members
  • PipPipPipPip
  • 202 posts
15
On a distinguished road
  • LocationProvidence, RI
I'll be honest, I have no clue what I did, but I pk3'd it on accident instead of a different file and it worked. Took a few minutes... ok.. hour and made sure things looked good and ran good, and now they are excellent.

Thanks guys for the support.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users