Page 1 of 1

CMPGNINF not working for Survival

Posted: Fri Dec 06, 2013 10:04 am
by arkore
According to http://zdoom.org/wiki/CMPGNINF, I can use a CMPGNINF lump to control the gamemode of my map. But, it's not working for me.

I have a wad with two maps: HUB, and MAP01

This wad is meant for Survival gameplay, so I start my server as Survival.

My plan is that I don't want my HUB map to be treated as Survival; no Warmup countdown "FIGHT!" stuff.

So, I have a CMPGNINF lump with:

Code: Select all

{
	mapname = HUB
	gamemode = cooperative
}
But when I get to the HUB map, it still acts as Survival gamemode.

---

I also tried this backwards, by setting my server as Coop(non-survival), then having a CMPGNINF lump of

Code: Select all

{ 
	mapname map01
	gamemode = survival 
}
and still it doesn't work; my MAP01 remains as "Coop"

RE: CMPGNINF not working for Survival

Posted: Fri Dec 06, 2013 10:55 am
by Klofkac
Starting server completely ignores CMPGNINF, because it uses the DMFLAGS, gamemode and limits specified by the server.
CMPGNINF is designed to set those when you are playing singleplayer campaign.

RE: CMPGNINF not working for Survival

Posted: Fri Dec 06, 2013 11:58 am
by arkore
Thanks for answering. You've been very helpful.