Jump to content
The Dark Mod Forums

joebarnin

Member
  • Content Count

    379
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by joebarnin

  1. joebarnin

    Briefings

    Okay, looks like tdmlauncher.exe isn't putting the currentfm in the command line when it spawns doom3. (I know I confirmed that you are using tdmlauncher, right?). Here's a quick test: create a shortcut to doom3 Target: g:\Doom3\DOOM3.exe +set fs_game_base darkmod +set fs_game rain Start in: g:\Doom3 Run this, and you should see the briefing text. Now I just have to figure out why tdmlauncher isn't working for you.
  2. joebarnin

    Briefings

    In your \Doom3\darkmod directory, is there a file called currentfm.txt? If so, what does it contain?
  3. joebarnin

    Briefings

    Fidcal, could you scroll up in the console log and find "Current search path:"? Is "G:\doom3/rain" in the list?
  4. joebarnin

    Briefings

    Fidcal (or anyone else who is having this problem), could you grab the latest darkmod.pk4 and try something for me? I added some logging to the code the gets the briefing text from the xdata, maybe it will point me at the problem. Run the Rain Test mission from the Start Mission menu. When you get to the briefing page, bring up the doom console. There should be messages of the format: WARNING: DisplayBriefingPage: <blah blah> Please send me all of those entries. There should be at least 3, at the end of the log. Thanks!
  5. joebarnin

    Briefings

    I've brought over Springheel's GUI changes, and the briefing still works fine for my test cases. I even grabbed Fidcal's snippet of the xd file and put it in mine, and the briefing shows up fine. Fidcal, can you make your entire test_fm1 folder available? Either SVN it somewhere, or email it to me at eby.jeff@gmail.com. Also, could you (or anyone else who is having this problem, or is that everyone but me ) try this: SVN Update \darkmod\fms\rain folder. Copy this entire folder (and subfolders) to the \doom directory. Run TDM (via tdmlauncher). New Mission. Select Rain, Install This Mission. After TDM restarts, select New Mission, Start Mission (should be Rain). Do you see anything in the Briefing parchment?
  6. joebarnin

    Briefings

    I'll update to the latest files and see what the issue is. I wont be able to look at it for a few hours, when I'm done with work.
  7. joebarnin

    Briefings

    You've got it in the right place. It needs to be either in the \darkmod\xdata folder or the \<modname>\xdata folder. The name of the .xd file doesn't matter. The name of the xd entry does matter, so for example: maps/saintlucia/mission_briefing { "num_pages" : "2" "page1_body" : "test page 1" "page2_body" : "test page 2" } One question: are you using tdmlauncher.exe to start TDM? Because if you're just running doom3.exe and you don't have the fs_game command line variables set up correctly, then any files in your \saintlucia folder won't be found. It sounds like you've got the file in \darkmod\xdata, so this doesn't apply in that case anyway.
  8. "Install mission" just puts the FM name into currentfm.txt. When TDM launcher runs (either from the restart or when you run it from the desktop), it read this file and sets the +set fs_game command line variable. So when doom3 runs the correct FM is on doom's path (via the fs_game variable). This also explains why the graphics options reset when you switch mods -- doom looks for the DoomConfig.cfg in the fs_game location, and (I guess) creates a default if it can't find it. I would call this a bug -- when you install a mod, I should probably copy the existing DoomConfig.cfg to the new mod directory, if one doesn't exist there. That will at least get your defaults correct. Unfortunately, if you change settings in one mod, they won't apply to others (because they get saved in the local FM dir). At least, that's my understanding of it. I'll look into what can be done to fix this. In some ways, it's very powerful; you can have different settings for each FM. But I would guess most people don't want that level of granularity. Right, this is a feature or a bug, depending on how you look at it . The idea was, you're backing up to a previous screen, so you're throwing away whatever choices you've made. I could keep track of what choices were made and try to populate the shop screen accordingly. Note that the FM designer could specify completely different parameters for the shop, based on difficulty (starting cash, the number and types of items available, and the cost of each item can vary based on the difficulty). So automatically giving you what you chose before might not be a good idea (or even possible). But if there's demand for this feature, I can put it in.
  9. Springheel - if there's any New Mission GUI work you want to hand off to me, just let me know.
  10. greebo, you are a god! By the time I received the Topic Subscription Notification, you had already fixed the problem! Thanks! joe
  11. Well, I'm confused (which is not big news ). I'm not in a position to check this out right now, but I'll look into it tonight. That's great that it works like that -- I'm just surprised that it does!
  12. Doh! I forgot about the forum access limitations! I thought I was being so clever (i.e., lazy) to simply reference my previous note. Thank you so much Crispy for summarizing this. This is correct, as long as you run tdmlauncher.exe, which is found in the \Doom3\darkmod directory. tdmlauncher starts doom3 with all the right command line args to enable this. So presumably we will need to create a desktop icon pointing to the tdmlauncher executable as part of the TDM install process.
  13. Would that be why they are in separate folders?Basically, yes. It doesn't move the pk4s, it just points to them. Each mod needs to be in a subdirectory of the D3 directory. There are some test FMs in SVN but I don't know if you have access. You don't really need a pk4 -- the files can be separate, in pk4s, or a combination. See the link in my previous note for the details, but all you need is a startingMap.txt, a darkmod.txt, and the map files, all in a folder under the D3 main directory. The loader does the rest.
  14. Actually, it's even simpler than that . No files are copied at all -- the loader just restarts D3 with a command line that specifies where the mod files are. The full details are here, but the key is the use of the "fs_game_base" and "fs_game" command line options.
  15. I actually experimented with it this way (no faded drops) and I concur, it looks better (IMHO).
  16. Here are the buttons that are currently text: New Mission: Start Install this Mission (dislays on the left when you select a mod on the right) Main Menu (already a graphic, but I think this should be moved to the right side of the page (it doesn't look good where it is), and thus the colors will have to change) Briefing: New Mission Objectives Difficulty: Briefing Buy Equipment Shop: Difficulty Start Mission If you create the graphics, I'll be happy to place them in the guis.
  17. Looks like sound is not permitted while a map is loading. I added a timer to the saintlucia gui, and verified that it worked by having the timer change the visiability of a background (just as a test). But when I had the timer try to make a sound, it didn't work. This makes sense -- if you start TDM and then bring up the doom command prompt, the music keeps playing. But as soon as you type "map <mapname>", the music stops. I suspect map loading shuts down all sounds. At least, that's my theory. *edit* And the Doom3 SDK agrees with me . See http://www.iddevnet.com/doom3/, scroll down to 01/31/05 Map Loading: " When you issue a "map" command, the following process happens: Mute Sound System ...
  18. I would guess you would need the drip sound code in some sort of timer loop. The way it is now in saintlucia.gui, it only gets executed once, when the menu loads. I'll experiment.
  19. I'd like to do some cleanup of the Start Mission menu chain (New Mission, Briefing, Objectives, Purchase). I'd like to get these menus looking and behaving as consistent as possible. Before I dive in I think we need to reach consensus on some basic questions of the menus. (Maybe consensus has already been reached, in which case someone just needs to tell me ). Text vs. Graphics. Some menus use graphics for buttons, others use text. I'd love to make things consistent -- which way do we go? Graphics give you more control over the rollover behavior (I think). Using text is nice because it's easy to change. Also, some buttons have to be text because their value can be specified by the map creator (for example, the 3 difficulty levels (Easy, Medium, Hard) can be overridden in the map). If we declare that buttons are all text, I can make this change. If we want buttons to be graphics, I don't have the knowledge on how to do this, but perhaps I could be taught. Fonts: Is there a rule for when to use carleton and when to use nancy? The current rule seems to be that main button text and "headings" are carlton, and everything else is nancy. Or should we just use one of them? Perhaps this is moot, depending on the answer to the Text vs. Graphics question. joe
  20. Looks great! When I first realized what the "loading bar" was, it kind of freaked me out. I'm sure that was the intent. There was a long pause after the loading bar finished on my machine too. It took about as long after the bar finished as before (about 2 mintues each way). Don't know if there's any way around that. Your drip sound script, maybe you need to use the < comparison (not ==) like Crispy said.
  21. joebarnin

    Briefings

    Looks good, Tels, thanks. I just tested it out and found a problem -- the code that reads the StartingMap.txt file needs to hande Windows/Linux line ending differences. I will fix the code, but for the time being I've checked in a new version of StartingMap.txt that works (I just removed the trailing LF).
  22. joebarnin

    Briefings

    I can take care of this tomorrow (Monday) night.
  23. joebarnin

    Briefings

    Actually I took the briefing parchment from the Thief's Den mission and renamed it.
  24. joebarnin

    Briefings

    The Briefing screen is now part of the New Mission gui chain (after you Start the mission, before Objectives). The Briefing text is read from an xdata. Details at the wiki: http://wiki.thedarkmod.com/index.php/Briefing Thanks to greebo for figuring out some xdata issues.
  25. Sorry, I've been out of touch for a week or so. I'll get right on incorporating this.
×
×
  • Create New...