Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 104 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD+UO General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Menu Mod Script
Pop322
General Member
Since: Oct 26, 2005
Posts: 50
Last: Jun 11, 2007
[view latest posts]
Level 2
Category: CoD+UO General
Posted: Monday, Jun. 11, 2007 10:32 am
Hey Guys,

I have been searching for this for a while, I need the code for the Menu where the user clicks on a new title which then takes them to one of my clan's Servers.

Code:
stuffcmd "connect 84.234.16.183:28960"


That doesn't seem to work as the console says it is not a 'UI Code'.

All help is much appreiciated, Thanks Guys.


Pop,
Share |
Pop322
General Member
Since: Oct 26, 2005
Posts: 50
Last: Jun 11, 2007
[view latest posts]
Level 2
Category: CoD+UO General
Posted: Monday, Jun. 11, 2007 04:08 pm
Bump =]


Pop,
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD+UO General
Posted: Monday, Jun. 11, 2007 04:21 pm
itemDef
{
name options
text "Modern Rifles"
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
textstyle UI_BUTTON_TEXT_STYLE
rect 70 390 270 25
textalign 0
textscale .4
textalignx 0
textaligny 14
textfont UI_FONT_NORMAL
forecolor .4 0 0 1
visible 1
cvartest "ui_hideSniperMenu"
hidecvar { "1" }
mouseEnter
{
play "mouse_over";
}
action
{
open demos_menu;
close mods_menu;
close options_multi;
exec "connect 84.234.16.183:28960"
}

add that to the menu_background.menu
Share |
Pop322
General Member
Since: Oct 26, 2005
Posts: 50
Last: Jun 11, 2007
[view latest posts]
Level 2
Category: CoD+UO General
Posted: Monday, Jun. 11, 2007 04:58 pm
Thanks dude, thats what i was looknig for =]


Pop,
Share |
eggbeast
General Member
Since: Jan 5, 2007
Posts: 345
Last: Sep 7, 2009
[view latest posts]
Level 5
Category: CoD+UO General
Posted: Saturday, Jun. 23, 2007 08:34 am
that's half the code you need if you're a perfectionist.

it's the right approach (developed by zoxo i think) but it lacks a chack against "ingame" cvar which means you can go to main menu in a game andthen connect to another server without disconnecting, causing you a whole lotta lag for the period that the first servers timeout lasts. come get zzz_gitsmenu_v2.pk3 from our server at
195.78.83.138:28963
and edit the menubackground.menu file to your hearts content
be warned - the version we run atm has the buttons still enabled when you click join server so you might accidentally join our servers instead of the server in the list, which kinda sucks. it's a second fault in this approach in the original zoxo menu and i'm hoping to debug it.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD+UO General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»