CMPGNINF not working for Survival

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
arkore
Forum Regular
Posts: 189
Joined: Mon Dec 17, 2012 8:01 pm

CMPGNINF not working for Survival

#1

Post by arkore » Fri Dec 06, 2013 10:04 am

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"
Last edited by arkore on Fri Dec 06, 2013 10:05 am, edited 1 time in total.

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: CMPGNINF not working for Survival

#2

Post by Klofkac » Fri Dec 06, 2013 10:55 am

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.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

User avatar
arkore
Forum Regular
Posts: 189
Joined: Mon Dec 17, 2012 8:01 pm

RE: CMPGNINF not working for Survival

#3

Post by arkore » Fri Dec 06, 2013 11:58 am

Thanks for answering. You've been very helpful.

Post Reply