Help making a custom map campain work on a LAN


(hobbes52) #1

This is my campaign script:

{
name “chap1” shortname “chapcustcamp” description “8-custom-map rotation” maps “secret_bay_et;falcon2;ffr_final;northpole;supplydepot2;venice;airassault_fp1;caen” mapTC 374 374 type “wolfmp”
}

As the game loads, i get this error message:

Map ‘falcon2’ isn’t a avalid campaign starting map. Set your gametype to 2 to load it directly.

I have no idea what to do. Please help. thanks!

EDIT: It happens no matter what combination of maps i try. No matter what, I get the error message pertaining to the second map name in my campaign list. Even when i put in a non-custom map like battery.


(SteelRat) #2

You need to add this to your server config file:

set d1 “campaign cmpgn_chap1 ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_chap1 ; set nextcampaign vstr d1”
// server doesn’t recognise the campaign command when the gamecode isn’t running yet.
set d_initial “set g_gametype 4 ; map secret_bay_et ; set nextcampaign vstr d2”
vstr d_initial

d_iniitial should be the name of the first map in your campaign.

Cheers,
SteelRat