Jump to content
The Dark Mod Forums

Trouble whit Objective


Nielsen74

Recommended Posts

I´m having trouble playing my map while testing it with the the console

 

This is just a littel mission' date=' but I´m kind of stuk at the moment as when I make the objectivs I can´t test the mission? it dmap´s ok but when I wan´t to play it DarkMod giv´s a error about not finding the map file???[/quote']
Serpentine

you can try using 'devmap <mapname like you gave dmap>' from console, just for super simple testing, it wont help with the objective issue etc.

 

I would try unpacking one of the released FM's and looking at how things are done there if you cant get things working from the info on the wiki smile.gif

 

Fidcal

At the console' date=' if you enter dmap and it works then it is accessing the map file so the same should apply to map. What do you see in the console if you enter dmap <tab key> or map <tab key> It should show what maps are in that folder. Is your map in the darkmod\fms folder and you are using tdmlauncher to develop and test? Have you possibly installed another FM since you last dmapped. If so, UNinstall it.

 

If not, when you get the error, enter condump console.txt then copy and paste here the last dozen lines from that (in the map folder) so we can see the actual error.

 

Map file might be corrupt I guess. Don't worry, it can likely be sorted out. Have you an earlier save just before you added the objectives?

 

Looking good anyway.

[/quote']

 

 

Link to comment
Share on other sites

In Windows Explorer - menu > Tools > Folder options > Hide extensions for known file types: UNcheck it so it shows extensions.

Just rename the extension from zip to pk4 and vice versa. So to make a pk4 you would make a normal zip file (not a rar) and rename its suffix to pk4.

 

A better way to access pk4s is to associate the file with your zip program. To do this, right click a pk4 in Explorer and select Open With. Select your zip program (might need the browse button) and make sure 'always use this prog' is checked.

Link to comment
Share on other sites

All I get is this;

 

config.spec

DoomConfig

gamex86.dll

startmap (as .PK4)

startmap (as .ZIP)

 

And when I try to rename the .ZIP to a .map file nothing happens mellow.gif it´s still a .zip file???

Edited by Nielsen74
Link to comment
Share on other sites

It's not clear what you mean. The pk4 *is* a zip file. If you 'send it' to your zip program it will ignore it if '.pk4' is not associated with it as described. If however, you associate .pk4 with your zip program then it will open it as a zip file. At this point it is still named pk4. Not sure what you mean by 'unzip' but if you mean extract the files then you extract the files somewhere. They are not a pk4 file - they are the contents of the pk4 file.

 

If you are confused about this then I suggest you do not associate pk4 with your zip program but stick to renaming the pk4 to zip and back later when needed.

 

So, you have a pk4 file which is an FM archive, a zip file with a different name. It contains all the files for the FM - map file, aas files, various other files and folders. To open it up just rename it from say, chalice.pk4 to chalice.zip

 

Now open that zip file in your zip program. Inside you will see all the files inside - the map file, aas files etc etc. You can extract them.

 

To make a pk4 file you reverse that. Take all your map files and folders necessary to make an FM and zip them up as say name.zip. Take this zip file and rename it to name.pk4.

 

Study the wiki article for more clarification: http://wiki.thedarkmod.com/index.php?title=How_to_pack_your_Mission

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...