Change Level Names...?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Change Level Names...?

Post by marshallman »

Hey mans i wonder and i wanna know how can i change a level names of doom ? please help me i need of this :) i hope you help me... :)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Change Level Names...?

Post by wildweasel »

Took the liberty of putting your thread in a place where people are more likely to see and help.
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: Change Level Names...?

Post by Ghastly »

MapInfo, specifically, defining maps in MapInfo.

You can look at the MapInfo in zdoom.pk3 (opens like a zip) for examples, though be sure not to edit the ones in zkoom.pk3 or things might not work correctly.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

So i need to make e picture or some like that to change level name ? :(
User avatar
Enjay
 
 
Posts: 26936
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Change Level Names...?

Post by Enjay »

marshallman wrote:So i need to make e picture or some like that to change level name ? :(
No, unless you specifically specify a graphic to use, define the map name in MAPINFO and Zdoom will generate the screen names for you.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

When i try to edit name it says that have a wrong thing in 55 line :( and nothing happend...
User avatar
Enjay
 
 
Posts: 26936
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Change Level Names...?

Post by Enjay »

Post your code.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

map <maplump> <nice name> i saw this from the http://zdoom.org/wiki/MAPINFO/Map_definition and try 100 ways to change the nice name but i won't :( it says unknown property at line 55 :(
User avatar
Enjay
 
 
Posts: 26936
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Change Level Names...?

Post by Enjay »

Post your code. ie post what you have put in your MAPINFO lump.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

I put this : map <maplump> <nice name>
User avatar
Enjay
 
 
Posts: 26936
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Change Level Names...?

Post by Enjay »

Enjay wrote:Post your code.
Enjay wrote:Post your code. ie post what you have put in your MAPINFO lump.
Post your code!

ie post the exact text that you have in your MAPINFO lump. Do not just post general editing terms. We know the general editing terms. We need to see exactly what you have typed. MAPINFO works. Your code doesn't. Select the contents of your entire MAPINFO lump, copy it and paste it into the forum (preferably inside code tags). Do not leave anything out. Post exactly what you actually have in your MAPINFO lump - nothing more, nothing less.
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

Code: Select all

// MAPINFO for Doom 1 (Shareware, Registered, and Retail)
include "mapinfo/doomcommon.txt"

gameinfo
{
	creditpage = "CREDIT", "HELP2"
	titlemusic = "$MUSIC_INTRO"
	titletime = 5
	finalemusic = "$MUSIC_VICTOR"
	finaleflat = "FLOOR4_8"
	finalepage = "HELP2", "VICTORY2", "ENDPIC"
	infopage = "HELP1", "HELP2"
	quitsound = "menu/quit1"
	borderflat = "FLOOR7_2"
	drawreadthis = true
	intermissionmusic = "$MUSIC_INTER"
}

clearepisodes
episode e1m1
{
	picname = "M_EPI1"
	key = "k"
}

episode e2m1
{
	picname = "M_EPI2"
	key = "t"
}

episode e3m1
{
	picname = "M_EPI3"
	key = "i"
}

episode e4m1
{
	picname = "M_EPI4"
	key = "t"
	optional

}

// Registered/Retail Episode 1

defaultmap
{
	sucktime = 1
}

map E1M1 lookup "HUSTR_E1M1"
{
	map "nice name"
	levelnum = 1
	titlepatch = "WILV00"
	next = "E1M2"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 30
	music = "$MUSIC_E1M1"
}

map E1M2 lookup "HUSTR_E1M2"
{
	levelnum = 2
	titlepatch = "WILV01"
	next = "E1M3"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 75
	music = "$MUSIC_E1M2"
}

map E1M3 lookup "HUSTR_E1M3"
{
	levelnum = 3
	titlepatch = "WILV02"
	next = "E1M4"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 120
	music = "$MUSIC_E1M3"
}

map E1M4 lookup "HUSTR_E1M4"
{
	levelnum = 4
	titlepatch = "WILV03"
	next = "E1M5"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 90
	music = "$MUSIC_E1M4"
}

map E1M5 lookup "HUSTR_E1M5"
{
	levelnum = 5
	titlepatch = "WILV04"
	next = "E1M6"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 165
	music = "$MUSIC_E1M5"
}

map E1M6 lookup "HUSTR_E1M6"
{
	levelnum = 6
	titlepatch = "WILV05"
	next = "E1M7"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 180
	music = "$MUSIC_E1M6"
}

map E1M7 lookup "HUSTR_E1M7"
{
	levelnum = 7
	titlepatch = "WILV06"
	next = "E1M8"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 180
	music = "$MUSIC_E1M7"
}

map E1M8 lookup "HUSTR_E1M8"
{
	levelnum = 8
	titlepatch = "WILV07"
	next = "EndGame1"
	secretnext = "E1M9"
	sky1 = "SKY1"
	cluster = 1
	par = 30
	nointermission
	nosoundclipping
	baronspecial
	specialaction_lowerfloor
	music = "$MUSIC_E1M8"
}

map E1M9 lookup "HUSTR_E1M9"
{
	levelnum = 9
	titlepatch = "WILV08"
	next = "E1M4"
	secretnext = "E1M4"
	sky1 = "SKY1"
	cluster = 1
	par = 165
	music = "$MUSIC_E1M9"
}

// Registered/Retail Episode 2

map E2M1 lookup "HUSTR_E2M1"
{
	levelnum = 11
	titlepatch = "WILV10"
	next = "E2M2"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 90
	music = "$MUSIC_E2M1"
}

map E2M2 lookup "HUSTR_E2M2"
{
	levelnum = 12
	titlepatch = "WILV11"
	next = "E2M3"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 90
	music = "$MUSIC_E2M2"
}

map E2M3 lookup "HUSTR_E2M3"
{
	levelnum = 13
	titlepatch = "WILV12"
	next = "E2M4"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 90
	music = "$MUSIC_E2M3"
}

map E2M4 lookup "HUSTR_E2M4"
{
	levelnum = 14
	titlepatch = "WILV13"
	next = "E2M5"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 120
	music = "$MUSIC_E2M4"
}

map E2M5 lookup "HUSTR_E2M5"
{
	levelnum = 15
	titlepatch = "WILV14"
	next = "E2M6"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 90
	music = "$MUSIC_E2M5"
}

map E2M6 lookup "HUSTR_E2M6"
{
	levelnum = 16
	titlepatch = "WILV15"
	next = "E2M7"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 360
	music = "$MUSIC_E2M6"
}

map E2M7 lookup "HUSTR_E2M7"
{
	levelnum = 17
	titlepatch = "WILV16"
	next = "E2M8"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 240
	music = "$MUSIC_E2M7"
}

map E2M8 lookup "HUSTR_E2M8"
{
	levelnum = 18
	titlepatch = "WILV17"
	next = "EndGame2"
	secretnext = "E2M9"
	sky1 = "SKY2"
	cluster = 2
	par = 30
	nointermission
	nosoundclipping
	cyberdemonspecial
	specialaction_exitlevel
	music = "$MUSIC_E2M8"
}

map E2M9 lookup "HUSTR_E2M9"
{
	levelnum = 19
	titlepatch = "WILV18"
	next = "E2M6"
	secretnext = "E2M6"
	sky1 = "SKY2"
	cluster = 2
	par = 170
	music = "$MUSIC_E2M9"
}

// Registered/Retail Episode 3

map E3M1 lookup "HUSTR_E3M1"
{
	levelnum = 21
	titlepatch = "WILV20"
	next = "E3M2"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 90
	music = "$MUSIC_E3M1"
}

map E3M2 lookup "HUSTR_E3M2"
{
	levelnum = 22
	titlepatch = "WILV21"
	next = "E3M3"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 45
	music = "$MUSIC_E3M2"
}

map E3M3 lookup "HUSTR_E3M3"
{
	levelnum = 23
	titlepatch = "WILV22"
	next = "E3M4"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 90
	music = "$MUSIC_E3M3"
}

map E3M4 lookup "HUSTR_E3M4"
{
	levelnum = 24
	titlepatch = "WILV23"
	next = "E3M5"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 150
	music = "$MUSIC_E3M4"
}

map E3M5 lookup "HUSTR_E3M5"
{
	levelnum = 25
	titlepatch = "WILV24"
	next = "E3M6"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 90
	music = "$MUSIC_E3M5"
}

map E3M6 lookup "HUSTR_E3M6"
{
	levelnum = 26
	titlepatch = "WILV25"
	next = "E3M7"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 90
	music = "$MUSIC_E3M6"
}

map E3M7 lookup "HUSTR_E3M7"
{
	levelnum = 27
	titlepatch = "WILV26"
	next = "E3M8"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 165
	music = "$MUSIC_E3M7"
}

map E3M8 lookup "HUSTR_E3M8"
{
	levelnum = 28
	titlepatch = "WILV27"
	next = "endbunny"
	secretnext = "E3M9"
	sky1 = "SKY3"
	cluster = 3
	par = 30
	nointermission
	nosoundclipping
	spidermastermindspecial
	specialaction_exitlevel
	music = "$MUSIC_E3M8"
}

map E3M9 lookup "HUSTR_E3M9"
{
	levelnum = 29
	titlepatch = "WILV28"
	next = "E3M7"
	secretnext = "E3M7"
	sky1 = "SKY3"
	cluster = 3
	par = 135
	music = "$MUSIC_E3M9"
}

// Retail Episode 4

map E4M1 lookup "HUSTR_E4M1"
{
	levelnum = 31
	titlepatch = "WILV30"
	next = "E4M2"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E3M4"
}

map E4M2 lookup "HUSTR_E4M2"
{
	levelnum = 32
	titlepatch = "WILV31"
	next = "E4M3"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E3M2"
}

map E4M3 lookup "HUSTR_E4M3"
{
	levelnum = 33
	titlepatch = "WILV32"
	next = "E4M4"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E3M3"
}

map E4M4 lookup "HUSTR_E4M4"
{
	levelnum = 34
	titlepatch = "WILV33"
	next = "E4M5"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E1M5"
}

map E4M5 lookup "HUSTR_E4M5"
{
	levelnum = 35
	titlepatch = "WILV34"
	next = "E4M6"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E2M7"
}

map E4M6 lookup "HUSTR_E4M6"
{
	levelnum = 36
	titlepatch = "WILV35"
	next = "E4M7"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	cyberdemonspecial
	specialaction_opendoor
	music = "$MUSIC_E2M4"
}

map E4M7 lookup "HUSTR_E4M7"
{
	levelnum = 37
	titlepatch = "WILV36"
	next = "E4M8"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E2M6"
}

map E4M8 lookup "HUSTR_E4M8"
{
	levelnum = 38
	titlepatch = "WILV37"
	next = "EndGame4"
	secretnext = "E4M9"
	sky1 = "SKY4"
	cluster = 4
	nointermission
	nosoundclipping
	spidermastermindspecial
	specialaction_lowerfloor
	music = "$MUSIC_E2M5"
}

map E4M9 lookup "HUSTR_E4M9"
{
	levelnum = 39
	titlepatch = "WILV38"
	next = "E4M3"
	secretnext = "E4M3"
	sky1 = "SKY4"
	cluster = 4
	music = "$MUSIC_E1M9"
}

// Clusters (correspond with same-numbered episode)

cluster 1
{
	flat = "$bgflatE1"
	music = "$MUSIC_VICTOR"
	exittext = lookup, "E1TEXT"
}

cluster 2
{
	flat = "$bgflatE2"
	music = "$MUSIC_VICTOR"
	exittext = lookup, "E2TEXT"
}

cluster 3
{
	flat = "$bgflatE3"
	music = "$MUSIC_VICTOR"
	exittext = lookup, "E3TEXT"
}

cluster 4
{
	flat = "$bgflatE4"
	music = "$MUSIC_VICTOR"
	exittext = lookup, "E4TEXT"
}
[/code]
Last edited by marshallman on Tue May 17, 2011 1:06 pm, edited 1 time in total.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: Change Level Names...?

Post by amv2k9 »

Use code tags, please.

Code: Select all

Like this.
User avatar
Enjay
 
 
Posts: 26936
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Change Level Names...?

Post by Enjay »

marshallman wrote:code
Thank you.

OK, first off, to change the name for map E1M1 (which is what you seem to be trying to do) try this:

Code: Select all

map E1M1 "My Cool Map Name"
{
   levelnum = 1
   next = "E1M2"
   secretnext = "E1M9"
   sky1 = "SKY1"
   cluster = 1
   par = 30
   music = "$MUSIC_E1M1"
}
Second, you seem to be using the entire doom MAPINFO from zdoom.pk3. You do not need to do that. You just need to include the stuff for the levels in your mod.

eg, just copy everything in the code tags that I just posted, paste it into a text file called MAPINFO.txt (you do not need to put anything else in the file) and then load the file in Zdoom and play E1M1. Check the automap - it will say "My Cool Map Name". Finish the map and the the intermission page will say "My Cool Map Name" too.

Do not replace the MAPINFO in zdoom.pk3 or otherwise alter zdoom.pk3.

[Edit] Notice I took out the line that said

Code: Select all

titlepatch = "WILV00"
That line tells Zdoom to use the normal graphics lump for the level name at the intermission screen. Without it, Zdoom uses the text I entered to generate the map name on the intermission screen. Also, because you just copied/pasted the full doom MAPINFO, there are possibly other things in the map definition that might not be appropriate for what you want to do. [/edit]
marshallman
Posts: 8
Joined: Tue May 17, 2011 7:31 am

Re: Change Level Names...?

Post by marshallman »

Man GOD BLESS YOU :D It works fine and it's a all what i want to do :) thanks very much :) :) :)
Locked

Return to “Editing (Archive)”