Jump to content
The Dark Mod Forums

Start Mission cleanup


joebarnin

Recommended Posts

Whether this is enough depends on your startup parameters. Are you starting the game with +set fs_game darkmod or +set fs_game saintlucia (with +set fs_game_base)?

 

You should use either +set fs_game darkmod and place the startingMap.txt in darkmod/

 

or use +set fs_game_base darkmod +set fs_game saintlucia

Link to comment
Share on other sites

  • Replies 73
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I'm using the same default I've always used, so it's not +set fs_game saintlucia.

 

You should use either +set fs_game darkmod and place the startingMap.txt in darkmod/

 

Wait, the saintlucia folder should be directly under the "darkmod" folder, not "doom3"? Mine is the latter.

Link to comment
Share on other sites

Wait, the saintlucia folder should be directly under the "darkmod" folder, not "doom3"? Mine is the latter.

No, the saintlucia folder should be next to the darkmod folder, not beneath it.

 

C:\Games\Doom3\darkmod

C:\Games\Doom3\saintlucia

 

Otherwise it wouldn't be suitable for neither fs_game nor fs_game_base.

 

Leave your folders as they are and use this shortcut:

c:\games\doom3\DOOM3.exe +set fs_game_base darkmod +set fs_game saintlucia

Link to comment
Share on other sites

Hm. Do you have a startingMap.txt file in your darkmod/

 

That's likely the problem. My startingMap.txt file is in the doom3/saintlucia folder, not my darkmod folder.

Link to comment
Share on other sites

Ok, that's fixed it, so I'm able to continue cleaning up the start menus.

 

I think we had agreed to leave the difficulty buttons as text, so that authors could change the names if they wish, correct?

 

Where are the names set, btw? The current ones are not the names we had settled on, but I can't find where "gui::diff0Name" is set.

 

 

 

I might need a little help with the difficulty screen...I'm finding it very hard to tell what affects only that screen and what affects the regular objectives screen, and a lot of stuff seems to be defined outside the gui file. Even something simple, like moving the title, becomes complicated because I can't find where the position is defined (the X is, but not the Y that I can see).

 

The two things I'd like to do that are causing me trouble:

 

Lower the parchment about 20 units to make room for a title above the parchment. Move the DIFFICULTY_TITLE to a different location and replace the text with a graphic.

 

 

I'm not having much luck today. I thought I'd move on to the shop menu, but I still can't get to it. Although it now goes to the Diffculty menu after the briefing is complete (or I hit esc) it does not go to the shop screen when I hit "buy equipment". Instead I go back to the regular Start Menu. <_<

Link to comment
Share on other sites

Where are the names set, btw? The current ones are not the names we had settled on, but I can't find where "gui::diff0Name" is set.

The names are the one you posted in the inventory thread here: http://forums.thedarkmod.com/index.php?s=&am...st&p=163038

 

I can easily change them, they are defined in the map's worldspawn.

 

The two things I'd like to do that are causing me trouble:

 

Lower the parchment about 20 units to make room for a title above the parchment. Move the DIFFICULTY_TITLE to a different location and replace the text with a graphic.

The "gui::yyyyyy" variables are interacting with the SDK code, things are kept very flexible. The parchment, title text and position are set dynamically by the code, depending on which menu is visible.

 

Just give me the graphics and I'll handle the code changes - some might not be trivial, but we'll get there.

 

I'm not having much luck today. I thought I'd move on to the shop menu, but I still can't get to it. Although it now goes to the Diffculty menu after the briefing is complete (or I hit esc) it does not go to the shop screen when I hit "buy equipment". Instead I go back to the regular Start Menu. <_>

Have you checked the console - it should be complaining about what's missing on your system.

Link to comment
Share on other sites

The names are the one you posted in the inventory thread here: http://forums.thedarkmod.com/index.php?s=&am...st&p=163038

 

Maybe something still isn't working for me, because I see "Easy" "Average" and "Difficult" (could be misremembering the middle one). I think what we had agreed on was "Easy" "Hard" and "Expert".

 

Have you checked the console - it should be complaining about what's missing on your system.

 

I'll try that tonight.

Link to comment
Share on other sites

The only error I get is "couldn't load maps/" which doesn't clear anything up for me.

 

And I've updated, but I still see Easy, Medium, and Difficult for the difficult settings. What's going on??

Link to comment
Share on other sites

The only error I get is "couldn't load maps/" which doesn't clear anything up for me.

This means that the "startingmap.txt" file is not there, because the map name (the part after "maps/") is read from that file. Can you show me the folder contents of your darkmod/ folder?

Link to comment
Share on other sites

This means that the "startingmap.txt" file is not there,

 

It is, though.

 

Here is the list of files in "darkmod":

post-9-1222880594_thumb.jpg

Link to comment
Share on other sites

And the shortcut you're starting TDM with is +set fs_game darkmod?

 

Gah, if bad comes to bad, I'm going to add some logging code to the shop/mod loaders...

 

You could also try to create a new folder saintlucia next to the darkmod/ folder and place a startingmap.txt in there. Then use the shortcut +set fs_game_base darkmod +set fs_game saintlucia.

Link to comment
Share on other sites

And the shortcut you're starting TDM with is +set fs_game darkmod?

 

Yes. :blink:

 

Ok, here's exactly what I have.

 

I have a doom3/saintlucia folder that has in it config.spec, DoomConfig.cfg, darkmod.txt and gamex86.dll

 

I have a StartingMap.txt (does case matter?) in my doom3/darkmod folder, that says "saintlucia"

 

I have the current saintlucia.pk4 in my doom3/darkmod folder.

 

There is a saintlucia.cm file in my doom3/darkmod/maps folder

Link to comment
Share on other sites

Yes. :blink:

 

Ok, here's exactly what I have.

 

I have a doom3/saintlucia folder that has in it config.spec, DoomConfig.cfg, darkmod.txt and gamex86.dll

 

I have a StartingMap.txt (does case matter?) in my doom3/darkmod folder, that says "saintlucia"

 

I have the current saintlucia.pk4 in my doom3/darkmod folder.

 

Try to put that into doom3/saintlucia.

 

There is a saintlucia.cm file in my doom3/darkmod/maps folder

 

That should not be there, it should be in the saintlucia.pk4.

 

StartingMap.txt case does not matter under windows, but matters under linux.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Ok, Springheel, I'd like to check whether this works for you. I checked in a few files which should let saintlucia start by default. This affects the saintlucia branch only.

 

I assume you have your mod installed in C:\Games\Doom3\darkmod or something similar, the important part is that the mod folder is called "darkmod" of course.

 

The shortcut you're using should be having +set fs_game darkmod in it. No fs_game_base, just "fs_game darkmod". com_AllowConsole and the other stuff is fine.

 

This is how it should behave:

 

- Start the game.

- Use the "Start Mission" button to start the briefing (interrupt it with ESC if you like)

- Choose the difficulty and inspect the objectives, then hit "Buy Equipment"

- The shop should open, buy some stuff and then hit "Start Mission"

- The map should load.

 

Does this work?

Link to comment
Share on other sites

I tested it today after switching branches. It loaded the briefing, showed the objectives for SL, let me pick the difficulty. However, when I selected "Buy Equipment," I did not see the shop screen (instead I somehow jumped to the "install mission" screen and there seemed to be no way to load the map).

 

For people saying they can't find the buttons, I noticed they were just outside the window in Windowed mode, but playing in full screen mode they're cdefinitely there.

Link to comment
Share on other sites

I tested it today after switching branches. It loaded the briefing, showed the objectives for SL, let me pick the difficulty. However, when I selected "Buy Equipment," I did not see the shop screen (instead I somehow jumped to the "install mission" screen and there seemed to be no way to load the map).

 

That's exactly what was happening to me, but I haven't tried with the saintlucia branch yet.

Link to comment
Share on other sites

That's exactly what was happening to me, but I haven't tried with the saintlucia branch yet.

 

And that was what happened to me exactly with the SL branch :)

 

But I will retry later.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

After switching to the saintlucia branch, I can confirm that the start menus work properly for me (this may be because I added a startingmap.txt to doom3/saintlucia already...Sneaksie said that was what caused it to start working for him).

 

One thing I notice, however, is that there is no obvious way to get back to the main menu once you start the briefing.

Link to comment
Share on other sites

One thing I notice, however, is that there is no obvious way to get back to the main menu once you start the briefing.

Well, then we need to add a "main menu" button in the objectives screen instead of the "Briefing button" on the left?

Link to comment
Share on other sites

This isn't normally a problem since the briefing is often just a single parchment that does have a "Main Menu" button.

 

I could stick a Main Menu button at the bottom of the difficulty screen as a quick and dirty fix for now. We can worry about long term solutions later.

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...