X-Maps for INF

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
Apr 11, 2002
796
0
16
Dallas, TX
www.google.com
X-Maps

I have been trying to get this utility to work properly with Infiltration 2.9, but it
cannot detect the new gametypes. WHat's nice about this mutator/utility is
that it can randomly select maps from a maplist, and it can randomly cycle
between gametypes and their maplists. Each maplist can also have their own
set of mutatos, allowing the server to play EAS with irons only for five maps and
then switch to specialist with scopes. I'll let you visit their site for more info on
what X-Maps does.

Even if I could get X-Maps to run with INF2.9, I would have to use vanilla UT to
edit the map lists, like I did with 2.86, or edit the massive .INI files. What I'd like
to see is X-Maps built into INF2.9. To do this, a new menu would need to be
made, and a link to that menu from the existing menus would also be needed.

I know it's a lot to ask, but it's something I feel the community would benafit from
 

Crowze

Bird Brain
Feb 6, 2002
3,556
1
38
40
Cambridgeshire, UK
www.dan-roberts.co.uk
Well, the mutator config menu button I was hoping to see in 2.9 didn't arrive, so I canned the SpeechPad config menu and I'll probably write something in Java to do the same thing.

I agree, though, XMaps would be very, very useful for inf.
 

Keganator

White as Snow Moderator
Jun 19, 2001
5,262
0
36
PR's Barracks
www.kegnet.net
Yes. I was very disappointed to not see the mutator config menu, or 'mod' menu, in Inf. :hmm: It was something that we really, really needed.

Hey Crowze, contact me, and maybe we can work out creating a 3rd party mutator configuration program for Infiltration. I'm sure it would come in handy in many instances. :)
 
Oct 23, 2001
32
0
6
americas
Visit site
Hi,
Yeah it'd be cool to have an x-maps like way of mixing gametypes on an inf-server. I would like to mix eas with regualr assualt for instance.
just wanted to let Demosthanese he's not alone ;)
 

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
GameSwitcher mutator

Well, I only know this X-Maps mutator cause I read its name here and on BeyondUnreal I guess and never downloaded it so I can only guess how they do this stuff.

Most of you know the SwitchLevel command I guess. This can be used to provide a full 'URL' and not only the map name. Means that you can use this command to switch to a map, setup the gametype, mutators aso. (just like the command line of a dedicated server).

So I tested this out and attched you can find the GameSwitcher mutator that can be used for setting up a maplist with map-specific mutatorlists and for switching gametypes too this way.

How does it work:
  1. game ends: search for current map within the list and select the next "slot number"
  2. map vote: search for the voted map within the list and select this "slot number".
  3. If not found then only use the new map as URL.
  4. If found, construct the new URL out of:
    • the map name found in the slot
    • the gametype if one was assigned to this slot
    • the default mutator list
    • the additional mutator list if one was assigned to this slot
  5. assign a dummy MapList to the current gametype with the URL as only map available OR setup the map vote with the URL string
  6. gametype will switch to the URL map with switching the gametype and adding the list of mutators

This way you can use this mutator for ie.:
  • setting up a fully mixed map list with mixed gametypes and map-specific mutators.
  • setting up a map list with map-specific mutators without any gametype changes.

ie. You can setup your personal map list this way and add the NoScopes mutator for RoadToKandahar only and not in general. Or the NoACOG mutator for CQB maps aso aso. Many possible setups.

Known 'problems':
  • a map can only show up once within the list! So you can play it only in one way and not several ones.
  • vote RestartRound restarts the round with the additional mutators NOT being loaded again. So this gets rid off the map-specific mutators then.

The attached zip contains an example ini file that 'should' be enough to explain it a bit.

have fun !

Beppo
 

Attachments

  • GameSwitcher.zip
    3.3 KB · Views: 33
Apr 11, 2002
796
0
16
Dallas, TX
www.google.com
Cool:)

Still, if you could get the auther's permission, you ould probably add a new menu to
INF, or at the very lweast, get X-Maps to detect the EAS/SPC gametypes. That's the
only thing keeping me from using X-Maps, is that it cannot detect those game types
through UT.

Back in 2.86, I set UT up for INF light and set up my map lists in UT, then I just added
the mutator into the list in INF. If you could find a way for UT to detect the new
gametypes, X-Maps would work as it did in 2.86.
 

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
Adding a menu to INF 2.9 would need a version change and that is currently not planned.

Well all that is needed to get UT to 'find' our gametypes is to setup an INT file in a proper way. INF uses other MetaClass entries to not allow UT to find our gametypes cause they will not work with it and would only mess up the system. So if you want to let UT find our gametypes... use the following in any INT file you want:
Code:
Object=(Name=InfiltrationUT.InfilDeathMatchPlus,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=InfiltrationUT.InfilTeamGamePlus,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=InfiltrationUT.InfilAssault,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=InfiltrationUT.InfilDomination,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=InfiltrationUT.InfilCTFGame,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=InfiltrationUT.InfilLastManStanding,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=INF_GameTypes.INFg_CoopGame,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=INF_GameTypes.INFg_Specialist,Class=Class,MetaClass=Botpack.TournamentGameInfo)
Object=(Name=INF_GameTypes.INFg_EASGame,Class=Class,MetaClass=Botpack.TournamentGameInfo)

But keep in mind that X-Maps will probably not work with the vote location and reset round features of INF 2.9 and maybe other things as well.
 
Last edited:

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
New version of the GameSwitcher mutator attached.
It now resets the 'next' gametype before calling it. Means that the next gametype will ie start with the first round and not with the second aso. This led to some mixups online pretty fast if you voted ie in the 2nd round for another map that then changed the gametypes.

I tested it out for some hours now and everything worked ok even on a ded server.
 

Attachments

  • GameSwitcher.zip
    3.5 KB · Views: 92

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
Odie3 said:
That did not work for me at all. I started up Inf Server, which starts on Reactor EAS. I then voted for Avignon Specialist. The map started as Specialist but I voted restart the round to get to Attacker side. The Maps was still Specialist but I had no Mutators loaded (UT Compass/SpeechPad Gone) and my M16 was a pistol. The Gun load out hud showed Number 5 was selected but the Pistol picture was in it. (no I am not using ANY weapon load outs in the URL).

I went ahead and played two rounds of Avignon to see if the next map (Ruin) would switch back to EAS Type any my mutators and M16 would come back. However it did not work out. No Mutators and I still had a pistol.

Beppo said:
Known 'problems':
  • a map can only show up once within the list! So you can play it only in one way and not several ones.
  • vote RestartRound restarts the round with the additional mutators NOT being loaded again. So this gets rid off the map-specific mutators then.

So the RestartRound stuff is already known cause I cannot let the mutator jump in while doing this. I will check it out further but restarting the round kicks the additional mutators and maybe some more in your case.

Well, 'normally' the standard mutators aren't touched... but ONLY if they are actually 'saved' within the ini. So I guess that they are not within your regular list of mutators and so are 'only' loaded cause your command line features them for the first start.
Check out your infiltration.ini and search for the section called [INF_Menu.INF_sm_Mission] and below you will find the entries called
MutatorList=INF_Mutators.RollingM67,GameSwitcher.GameSwitcherMut
bKeepMutators=True

This mutator list has to have the whole bunch of mutators listed in your command line listed there too to work properly. Normally the webadmin or INFs menu itself can be used to store the list of mutators within the ini. If needed please add them manually (divided by comma as in the command line).

Beppo
 

{GD}Odie3

You Give Odie a Boner
Nov 19, 2001
1,210
0
36
55
Austin Texas
ghostdogs.net
Roger Beppo.

I understand now about Map Restarts. Also you where correct, I had to add all but one mutator to my inf.ini. That corrected my Mutators not showing up on a map change. It also seemed to fix Vote - Restart.

Sorry I did not understand you readme.txt - sorry for that
 

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
Yeah vote restart works but the additional mutators that are assigned by the gameswitcher due to a map specific setting within the ini file will not be loaded then.

So, for example if you setup RtK to be played with the NoScopes mutator and all players agree to play without this 'restriction' then all they need to do is to vote 'RestartRound' and the game will restart this map with the default list of mutators and without the map specific one from the gameswitcher ini.

So, only the map specific mutators will be kicked by a vote RestartRound, nothing more.