Was wondering if anyone has/knows of a way to skip the online multiplayer when it comes up, so that when you click multiplayer it takes you straight to the 'other multiplayer section'.
Also to ghost, i was wondering what/how many cfg's you modified to remove the tile effect, banner bars etc.
Thanks.
Multiplayer Lobby
-
- Forum Noob
- Posts: 6
- Joined: Tue Jul 27, 2010 4:11 am
- Lobby Username: cheesestringer
- Ghost
- Administrator
- Posts: 1894
- Joined: Fri Nov 07, 2008 12:25 am
- Lobby Username: [-Ts-] Ghost
- Location: San Francisco, CA, USA
Re: Multiplayer Lobby
I don't think you can make it skip directly to that screen because the entry point (when you're on the main menu and you click Multiplayer) is hard-coded to show the login screen, and I don't think that can be changed.
As for my lobby mods, I know I've made quite a few changes. They're only in a few files though:
RootScreen.cfg
LanScreen.cfg
Images\bkg_german.jpg
Images\main_menu_compilation.jpg
Images\MainBackgroundTile.jpg
Skin\Buttons.png
Skin\MenuButtons.png
main_menu_compliation.jpg and MainBackgroundTile.jpg are the same image for me, at 1024x768. bkg_german.jpg is the same image as MainBackgroundTile.jpg but it is cropped slightly so that it seemlessly sits on top of the tiled background.
Source code for my RootScreen.cfg and LanScreen.cfg:
As for my lobby mods, I know I've made quite a few changes. They're only in a few files though:
RootScreen.cfg
LanScreen.cfg
Images\bkg_german.jpg
Images\main_menu_compilation.jpg
Images\MainBackgroundTile.jpg
Skin\Buttons.png
Skin\MenuButtons.png
main_menu_compliation.jpg and MainBackgroundTile.jpg are the same image for me, at 1024x768. bkg_german.jpg is the same image as MainBackgroundTile.jpg but it is cropped slightly so that it seemlessly sits on top of the tiled background.
Source code for my RootScreen.cfg and LanScreen.cfg:
Code: Select all
SetResource: RootScreen
RectangleComponent3D GameLogoFrame
{
Up: false
Thickness: 1
SetVisible: false
}
ImageTextButton GameLogo
{
NormalImage: @GameLogo
DefaultCursor: Predefined, Hand
BrowseLocation: @TitleHomeURL
}
Component TopFrame // for calulation only
{
SizeAtLeast: 0,parent.GameLogo.height + 4
SizeAtLeast: 0,parent.TabCtrl._ContainerLayout.top + 4
}
ImageTextButton SierraLogo
{
NormalImage: @SierraLogo
DefaultCursor: Predefined, Hand
BrowseLocation: "http://www.sierra.com"
}
RectangleComponent3D LowerBannerFrame
{
Up: false
Thickness: 1
}
CrossPromotionButton LowerBanner
{
DefaultCursor: Predefined, Hand
DefaultImage: @DefaultBanner
DefaultBrowse: @DefaultBannerURL
}
WONButton BackButton
{
Text: @Logout
TextColor: $PlayNowColor$
SetDesiredWidth: 0
SizeAtLeast: 90,40
ControlId: @ID_Logout
}
MSSeperator LowerDivider
{
Height: 10
}
NewLayoutPoint: LowerLayoutPoint
Layout: BackButton, SameRight SameTop, this, -388, 2
//Layout: GameLogo, SameRight SameTop, this, -5, 4
//Layout: GameLogoFrame, SameLeft SameTop SameSize, GameLogo, -1,-1,2,2
//Layout: LowerBannerFrame, SameSize, LowerBanner, 0,0,2,2
//Layout: LowerBannerFrame, SameBottom, this, 0, -4
HorzCenterLayout: this
//, LowerBannerFrame
//Layout: LowerBanner, SameLeft SameTop, LowerBannerFrame, 1,1
//Layout: LowerDivider, Above, LowerBannerFrame
//Layout: LowerDivider, SameWidth, this
//Layout: SierraLogo, SameLeft, this, 11
//VertCenterLayout: LowerBannerFrame, SierraLogo
//VertCenterLayout: LowerBannerFrame
Layout: TabCtrl, SameLeft GrowToRight, this, 4,0,-4
//Modify: TabCtrl, Top, parent.TopFrame.Bottom - _ContainerLayout.top + 2
Layout: TabCtrl, GrowToTop, LowerLayoutPoint
Add: TabCtrl, BackButton
//Add: GameLogoFrame, GameLogo
//Add: LowerDivider, SierraLogo, LowerBannerFrame, LowerBanner
Code: Select all
ImageComponent Back
{
Image: @TiledBackground
Tile: true
}
Layout: Back,SameSize,this
Add: Back
Container LanTab
{
IncludeFile: MainLanTab.cfg
}
GameStagingCtrl GameTab
{
IncludeFile: GameStagingCtrl.cfg
}
DirectConnectCtrl DirectConnectTab
{
IncludeFile: DirectConnectCtrl.cfg
}
LanOptionsCtrl OptionsTab
{
IncludeFile: LanOptions.cfg
}
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.CrossPromotionCheck,CrossPromotionCheck
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.LobbySoundEffectsCheck,LobbySoundEffectsCheck
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.ChatSoundEffectsCheck,ChatSoundEffectsCheck
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.StagingSoundEffectsCheck,StagingSoundEffectsCheck
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.LobbyMusicCheck,LobbyMusicCheck
MapComponent: OptionsTab.CommonOptionsFrame.CommonOptions.ShowConfirmationsCheck,ShowConfirmationsCheck
GameBrowserCtrl HelpTab
{
IncludeFile: GameBrowserCtrl.cfg
HomeLocation: "help/HelpRoot.html"
}
WONTabCtrl TabCtrl
{
//TabBarOverlap: 1
//TabOverlap: 5
//TabVertOffset: 8
//TabHorzOffset: 2
GroupDefine TabButtonDef
{
SizeAtLeast: 90,40
Transparent: true
}
WONTabButton t1 { Text: @Lan; IncludeGroup: TabButtonDef; Font: @MediumFont }
WONTabButton t2 { Wrap: true; Text: @DirectConnect; IncludeGroup: TabButtonDef; Font: @MediumFont }
WONTabButton t3 { Text: @Game; IncludeGroup: TabButtonDef; Font: @MediumFont }
WONTabButton t4 { Text: @Options; IncludeGroup: TabButtonDef; Font: @MediumFont }
WONTabButton t5 { Text: @Help; IncludeGroup: TabButtonDef; Font: @MediumFont }
AddTab: t1,parent.LanTab
AddTab: t2,parent.DirectConnectTab
AddTab: t3,parent.GameTab
AddTab: t4,parent.OptionsTab
AddTab: t5,parent.HelpTab
}
IncludeFile: RootScreen.cfg
"Nothing is foolproof to a sufficiently talented fool."
-•¤Lazy Bone¤•-: we had to double ghost or we had no chance
•§ITHLORD§•(surfer): artylery give no many domage on aa mobile since 3 day
-•¤Lazy Bone¤•-: we had to double ghost or we had no chance
•§ITHLORD§•(surfer): artylery give no many domage on aa mobile since 3 day
-
- Forum Noob
- Posts: 6
- Joined: Tue Jul 27, 2010 4:11 am
- Lobby Username: cheesestringer
Re: Multiplayer Lobby
thanks for the code ghost. ive been messing around with it a little, trying to get background the same first though, it likes to move off the side for some reason, is this what you were talking about in regards to cropping the image?
http://img251.imageshack.us/img251/1585/sdfsdfm.jpg
http://img251.imageshack.us/img251/1585/sdfsdfm.jpg
- Ghost
- Administrator
- Posts: 1894
- Joined: Fri Nov 07, 2008 12:25 am
- Lobby Username: [-Ts-] Ghost
- Location: San Francisco, CA, USA
Re: Multiplayer Lobby
Yeah that's what I meant. The one on the inside is smaller and needs to be a cropped portion of the outside image, and the crop has to be offset so that it lines up properly.
Just use a 1024x768 image on the outside, then crop it to the size of 1015x724 for the inside. The offset from the right will be 3 or 4 pixels and the offset from the top will depend on how big the top bar is (where the tabs are)
Just use a 1024x768 image on the outside, then crop it to the size of 1015x724 for the inside. The offset from the right will be 3 or 4 pixels and the offset from the top will depend on how big the top bar is (where the tabs are)
"Nothing is foolproof to a sufficiently talented fool."
-•¤Lazy Bone¤•-: we had to double ghost or we had no chance
•§ITHLORD§•(surfer): artylery give no many domage on aa mobile since 3 day
-•¤Lazy Bone¤•-: we had to double ghost or we had no chance
•§ITHLORD§•(surfer): artylery give no many domage on aa mobile since 3 day
-
- Forum Noob
- Posts: 6
- Joined: Tue Jul 27, 2010 4:11 am
- Lobby Username: cheesestringer
Re: Multiplayer Lobby
Bit of a late reply but thanks for all your help ghost
Who is online
Users browsing this forum: No registered users and 7 guests