Cannot Gain Score In TDM With Custom Map

Discuss all aspects related to modding Zandronum here.
Post Reply
false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

Cannot Gain Score In TDM With Custom Map

#1

Post by false_chicken » Mon Jan 05, 2015 2:02 pm

Hello. This may be a noob question but I am new to map editing and cannot seem to gain any TDM score in my map. The map is my Trench map from my WWII mod (Thread in the projects area) and as long as I play in that map I cannot gain any frags. But if I switch maps using the map command to say a built in map (D2DM10 for example.) I can gain score whenever I kill a bot. Any suggestions? The hud obviously shows that I am in TDM mode but the kills count for nothing. This seems like an odd problem to have... Thanks!

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: Cannot Gain Score In TDM With Custom Map

#2

Post by Lollipop » Mon Jan 05, 2015 3:52 pm

Is your mapinfo properly set up? I am not sure, but that might be the issue.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

RE: Cannot Gain Score In TDM With Custom Map

#3

Post by false_chicken » Mon Jan 05, 2015 6:13 pm

Thats likely the issue. Is there anything specific to deathmatch/TDM that I should be including? Here is what it currently looks like:

Code: Select all

episode RANGE
{
    name = "Shooting Range"
}

map RANGE "Shooting Range"
{
	sky1 = "RSKY1"
	NoInfighting
}

map TRENCH "TDM Trench"
{
	sky1 = "RSKY1"
}
Thanks!
Last edited by false_chicken on Mon Jan 05, 2015 6:13 pm, edited 1 time in total.

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: Cannot Gain Score In TDM With Custom Map

#4

Post by Lollipop » Mon Jan 05, 2015 6:16 pm

I honestly don't know, I can only recommend digging into another wad to see how it is set up.
I am sorry, but my knowledge kinda ends there :(
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

RE: Cannot Gain Score In TDM With Custom Map

#5

Post by false_chicken » Mon Jan 05, 2015 6:39 pm

Hmm I see. Dang. Ive been looking through the zdoom wiki on the mapinfo lump but don't see anything relevant. Its a shame :/. I hate problems that do not make sense/have no immediately recognizable solution. Thanks for the suggestion.

EDIT: I really do not understand :/. I get medals and such for killing the bot but the score doesn't increase at all.
Last edited by false_chicken on Mon Jan 05, 2015 6:53 pm, edited 1 time in total.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: Cannot Gain Score In TDM With Custom Map

#6

Post by Torr Samaho » Thu Jan 08, 2015 7:37 am

Does your map have DM starts?

false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

RE: Cannot Gain Score In TDM With Custom Map

#7

Post by false_chicken » Thu Jan 08, 2015 10:40 pm

Torr Samaho wrote: Does your map have DM starts?
No.... I have starts for team 1 and 2 but no DM spawns because for some reason when I do include regular deathmatch spawns everyone tries to spawn there even in TDM.

Thanks for the reply. I had almost lost hope lol

EDIT: I've just tried setting the DM spawn flags like dormant, Single player, Unchecking deathmatch. The game forces everyone to spawn there anyway :/. However the players spawn in the proper team points I set when I remove it. Really annoying.

Arctangent
 
Posts: 82
Joined: Mon Nov 24, 2014 8:19 am

RE: Cannot Gain Score In TDM With Custom Map

#8

Post by Arctangent » Thu Jan 08, 2015 11:10 pm

What's happening there is that Zandronum automatically switches game modes based on what player starts the map has. Since there's no deathmatch starts, which team deathmatch uses by default, it's switching to something like capture the flag or teamgame as there are team starts and those game modes use them. Something similar would probably happen if you have the numbered player starts, with Zandronum switching to cooperative instead.

To bypass this, you'll need to set sv_useteamstartsindm to 1, then teamplay ( which is the team deathmatch cvar ) to 1, and then finally use the map command to warp to your desired map.
Last edited by Arctangent on Thu Jan 08, 2015 11:11 pm, edited 1 time in total.

false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

RE: Cannot Gain Score In TDM With Custom Map

#9

Post by false_chicken » Fri Jan 09, 2015 12:08 am

Arctangent wrote: What's happening there is that Zandronum automatically switches game modes based on what player starts the map has. Since there's no deathmatch starts, which team deathmatch uses by default, it's switching to something like capture the flag or teamgame as there are team starts and those game modes use them. Something similar would probably happen if you have the numbered player starts, with Zandronum switching to cooperative instead.

To bypass this, you'll need to set sv_useteamstartsindm to 1, then teamplay ( which is the team deathmatch cvar ) to 1, and then finally use the map command to warp to your desired map.
Thanks! Ill give that a shot tonight.

Post Reply