Ok, basically this entire mod, is stolen. However, I did modify it to extend player class MTLUNATCO, and gametype MTLTeam.
How To:
1. In the included config, type in the package name, gametype, and update the number of gametypes number.
2. change this line in your deusex.ini: DefaultGame=GametypeLoader.MultiplayerFixGameInfo
i'm using it for my cs mod. and hopefully it will help other codders load their gametypes.
GametypeLoader.ini, here it is: (note you can specify mutators in it as well)
Code: Select all
[GametypeLoader.MultiPlayerFixmenuchoice_class]
NumClasses=5
ClassClasses[0]=DXMTL152b1.MTLJCDenton
ClassClasses[1]=DXMTL152b1.MTLNSF
ClassClasses[2]=DXMTL152b1.MTLUNATCO
ClassClasses[3]=DXMTL152b1.MTLMJ12
ClassClasses[4]=MTLCSTeam.CT
ClassClasses[5]=
ClassClasses[6]=
ClassClasses[7]=
ClassNames[0]=JC Denton
ClassNames[1]=NSF Terrorist
ClassNames[2]=Unatco Trooper
ClassNames[3]=Majestic-12 Agent
ClassNames[4]=
ClassNames[5]=
ClassNames[6]=
ClassNames[7]=
texPortraits[0]=Texture'DeusExUI.UserInterface.menuplayersetupjcdenton'
texPortraits[1]=Texture'DeusExUI.UserInterface.menuplayersetupnsf'
texPortraits[2]=Texture'DeusExUI.UserInterface.menuplayersetupunatco'
texPortraits[3]=Texture'DeusExUI.UserInterface.menuplayersetupmj12'
texPortraits[4]=None
texPortraits[5]=None
texPortraits[6]=None
texPortraits[7]=None
[GametypeLoader.MultiPlayerFixmenuchoice_team]
NumTeams=3
TeamNumber[0]=0
TeamNumber[1]=1
TeamNumber[2]=2
TeamNumber[3]=
TeamNumber[4]=
TeamNumber[5]=
TeamNumber[6]=
TeamNumber[7]=
TeamNames[0]=Unatco / Terrorists
TeamNames[1]=NSF / Soldiers
TeamNames[2]=Spectator
TeamNames[3]=
TeamNames[4]=
TeamNames[5]=
TeamNames[6]=
TeamNames[7]=
texPortraits[0]=Texture'DeusExUI.UserInterface.menuplayersetupunatco'
texPortraits[1]=Texture'DeusExUI.UserInterface.menuplayersetupnsf'
texPortraits[2]=None
texPortraits[3]=None
texPortraits[4]=None
texPortraits[5]=None
texPortraits[6]=None
texPortraits[7]=None
[GametypeLoader.MenuChoice_MultiPlayerFixGameType]
NumGameTypes=5
gameTypes[0]=DXMTL152b1.MTLDeathMatch
gameTypes[1]=DXMTL152b1.MTLBasicTeam
gameTypes[2]=DXMTL152b1.MTLAdvTeam
gameTypes[3]=DXMTL152b1.MTLTeam
gameTypes[4]=MTLCSTeam.CSTeam?Mutators?Mutator=CSMenu.CSMutator [OBVIOUSLY CHANGE THIS LINE TO YOUR MOD]
gameTypes[5]=
gameTypes[6]=
gameTypes[7]=
gameNames[0]=Deathmatch
gameNames[1]=Basic Team Deathmatch
gameNames[2]=Advanced Team Deathmatch
gameNames[3]=Custom Team Deathmatch
gameNames[4]=CounterStrike [CHANGE THIS FOR THE NAME]
gameNames[5]=
gameNames[6]=
gameNames[7]=