Clippy Posted April 23, 2023 Hey guys hey - so I am very slowly making a megawad and want to be sure ppl dont jump n crouch in GzedDoom I have the map names in there as a dehacked list of map names but it seems like I have to actually add each map detail in mapinfo for this to work? I want to just keep it as simple as possible lol - dont want to fill out map names twice eh thanks for any help u all awesome 2 Quote Share this post Link to post
The DANDY Company Posted April 23, 2023 For MAPINFO, typically all you would need is the below block of code. But I'm not sure if this would affect your existing map names or not because I don't use dehacked and am not familiar with compatibility/incompatibility between using both things. Worth trying though. defaultmap { NoJump NoCrouch } 0 Quote Share this post Link to post
Clippy Posted April 23, 2023 Thanks I tried this but just simply putting this alone still let me jump in crouch in gz 0 Quote Share this post Link to post
Pistoolkip Posted April 23, 2023 1 hour ago, The DANDY Company said: For MAPINFO, typically all you would need is the below block of code. But I'm not sure if this would affect your existing map names or not because I don't use dehacked and am not familiar with compatibility/incompatibility between using both things. Worth trying though. defaultmap { NoJump NoCrouch } This does work for me 1 Quote Share this post Link to post
boris Posted April 23, 2023 defaultmap works on all subsequently defined maps, so you'll have to put it on the top of your MAPINFO. 3 Quote Share this post Link to post
Arrowhead Posted April 23, 2023 (edited) For ZDOOM MAPINFO it's like this, I'm pretty sure - at least that's what I've done for all my MP stuff, and it has worked: defaultmap nocrouch nojump (you put this at the top) Edited April 23, 2023 by Arrowhead 0 Quote Share this post Link to post
Clippy Posted April 23, 2023 Thanks will try again. All I want in my MapInfo is to disable jump crouch. I already have the map names in the dehacked lump 0 Quote Share this post Link to post
maxmanium Posted April 23, 2023 defaultmap does do the trick, but yeah, you'll have to define all your maps in the mapinfo lump for it to actually do anything. 0 Quote Share this post Link to post
Clippy Posted April 23, 2023 1 hour ago, maxmanium said: defaultmap does do the trick, but yeah, you'll have to define all your maps in the mapinfo lump for it to actually do anything. Right I want the shortest code that skips all that cause I don't want to define and copy all the map names over from the dehacked file 1 Quote Share this post Link to post
The DANDY Company Posted April 23, 2023 3 hours ago, boris said: defaultmap works on all subsequently defined maps, so you'll have to put it on the top of your MAPINFO. Good point, forgot about that! :) 0 Quote Share this post Link to post
Doomy__Doom Posted April 23, 2023 45 minutes ago, Clippy said: Right I want the shortest code that skips all that cause I don't want to define and copy all the map names over from the dehacked file Then it may be a better idea to look into CVARINFO lump and sv_nojump/sv_nocrouch CVARs. 0 Quote Share this post Link to post
Edward850 Posted April 23, 2023 (edited) 12 minutes ago, Doomy__Doom said: Then it may be a better idea to look into CVARINFO lump and sv_nojump/sv_nocrouch CVARs. Cvarinfo cannot modify cvars that already exist, it's only for defining new ones. Their only option is to create MapInfo entries for their maps, thanks to GZDoom's weird non-compliant defaults. Edited April 23, 2023 by Edward850 1 Quote Share this post Link to post
Clippy Posted April 23, 2023 12 minutes ago, Edward850 said: Cvarinfo cannot modify cvars that already exist, it's only for defining new ones. Their only option is to create MapInfo entries for their maps, thanks to GZDoom's weird non-compliant defaults. There's really no way to do it simple without defining maps eh. Kind of a pain lol. I didn't want to copy my map names twice since it's already in dehacked (and I keep changing them) lol Thank all 0 Quote Share this post Link to post
Worst Posted April 24, 2023 19 hours ago, Clippy said: There's really no way to do it simple without defining maps eh. Kind of a pain lol. I didn't want to copy my map names twice since it's already in dehacked (and I keep changing them) lol If you don't want to double define your map names, you could use the lookup keyword in MapInfo, to make the maps use the same name that you have defined in dehacked. defaultmap { NoJump NoCrouch } map MAP01 lookup "HUSTR_1" { titlepatch = "CWILV00" next = "MAP02" secretnext = "MAP02" sky1 = "SKY1" cluster = 5 par = 30 music = "$MUSIC_RUNNIN" } See this file for the default mapinfo definitions for doom2 maps: https://github.com/ZDoom/gzdoom/blob/master/wadsrc/static/mapinfo/doom2.txt 0 Quote Share this post Link to post
Clippy Posted April 24, 2023 16 minutes ago, Worst said: If you don't want to double define your map names, you could use the lookup keyword in MapInfo, to make the maps use the same name that you have defined in dehacked. defaultmap { NoJump NoCrouch } map MAP01 lookup "HUSTR_1" { titlepatch = "CWILV00" next = "MAP02" secretnext = "MAP02" sky1 = "SKY1" cluster = 5 par = 30 music = "$MUSIC_RUNNIN" } See this file for the default mapinfo definitions for doom2 maps: https://github.com/ZDoom/gzdoom/blob/master/wadsrc/static/mapinfo/doom2.txt Thank you so much you are the winner I'm really surprised there is no way to avoid putting in any map stuff and just simply leaving it at no jumping no crouch as a complete and all map info command but if this is how it be this is how it be You guys are all awesome 🍗 I just came back from a FANTASTIC walk 2 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.