#1 2022-04-14 07:30:34

NullNotZero
Player
Reputation: +14
Registered: 2022-04-13
Posts: 7
Windows 10 Chrome 100.0

Can I get a little clarity on maplist.con?

I'm trying to understand the mod setting on each line of the maplist on the server (bf1942, xpack1 etc.) Currently I have my maplist set so that the mod parameter matches the mod folder that the map is in. I have been watching my server as the map rotates and it appears that it is using that parameter to also choose the mod to run when it loads the map. For example, Battle of Britain loads bf1942, and Cassino loads Xpack1.

A few questions: What happens if I change the mod parameter on a map in the list to one that is not part of a particular mod's folder? Say, changing Battle of Britain to Xpack1. Will it just error out because there is no Battle of Britain map in the Xpack1 folder?

If I wanted to add the Desert Combat mod. Can I use the same maplist and just change the last parameter to DC_Final and it will load the Desert Combat mod when it loads that map? Can I combine DC with BF1942 maps in the same list? Would the client be able to switch mods on the fly or will it break?

Offline

    Positive reputation 0   Negative reputation 0

#2 2022-04-14 09:41:27

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 10 Firefox 99.0

Re: Can I get a little clarity on maplist.con?

In the maps menu folder there is file "init.con" that tells the game engine what mod its supposed to run.

Example BF vanilla is game.setMapId "BF1942"

Offline

    Positive reputation 0   Negative reputation 0

#3 2022-04-14 16:30:49

NullNotZero
Player
Reputation: +14
Registered: 2022-04-13
Posts: 7
Windows 10 Chrome 100.0

Re: Can I get a little clarity on maplist.con?

In my installation I have bf1942, xpack1 and xpack2, all three have init.con files but there is no 'game.setMapid' in any of the files.
My maplist has maps from all three mods in it with the mod name listed after each map. It appears the maplist file is taking the role of the init.con file and switching mods each time a new map loads. That's the clarification I am looking for. When I watch the process load for each map on my server I notice that the command line option '+game' switches to the one one that matches my setting for the loaded map, so a bf1942 map has '+game bf1942f', and xpack1 has '+game xpack1' I assume it is pulling this parameter from the maplist since I do not have it anywhere else.

Offline

    Positive reputation 0   Negative reputation 0

#4 2022-04-15 11:19:16

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 10 Firefox 99.0

Re: Can I get a little clarity on maplist.con?

The maps are compressed (.rfa) so cant read them without unpacking them first.

Offline

    Positive reputation 0   Negative reputation 0

Board footer