Jump to content
The Dark Mod Forums

datiswous

Member
  • Posts

    3232
  • Joined

  • Last visited

  • Days Won

    54

Posts posted by datiswous

  1. 7 hours ago, thebigh said:

    All the files are where they're supposed to be.

    Are all the files and folders lowercase? Probably.

    I was wondering something. TDM's core skin files all have "" around file paths, but you don't see this in material files and on the skins wiki it is also not really mentioned as necessary. Whould it matter to include or not include them?

     

  2. I would build TDM levels that I let as much as possible people beta test (never finishing), but I change things per beta tester to confuse people and new versions add frustrating elements like traps and limited autosaves (an autosave every time you get damage or get spotted).

    Not because I am evil, but because of my braintransplantation I gathered a disconnect with pleasent social behaviour..

    Your mission it is to end this by knocking out (there's a no kill requirement of course) the bad mission builder and throw him in the water (what happens after is not your fault). To do this you have to find the holy blackjack. It was lost though, so you have to get back in time somehow and steal this holy symbol (where have you heard this before?).

    Spoiler

    There's a year 2000+ horror game with a similar objective.

     

  3. 12 hours ago, stgatilov said:

    Existing messages would fit the new limits (they would be a bit larger), hopefully without exceptions.

    Do you mean more text space per message block or larger size of text? If there's more useble text per block available, that's nice I guess as long as you don't have to use it, but can use it.

  4. Hi, I'm not completelly following everything what is being said in this thread, but I wonder if big changes are being applied that make it necessary to change subtitles later? I have been creating subtitles for existing missions lately. Is it possible that these files have to be modified later? If so, I stop now doing that until changes are made.

  5. On 3/31/2023 at 7:29 PM, nbohr1more said:

    If you can please bisect down to which 2.10 dev build caused the breakage, it will be easier to fix things:

    It still worked on 2.10 dev16335-9550

    It stopped working on 2.10 dev16342-9552

     

    Not surprising maybe:

    Quote

    dev16342-9552

    * Merged branch with major changes in main menu GUI (5323, thread).

    Known problems: All the missions from the list do not work as expected in main menu: custom background is missing, empty briefing page is shown, in rare cases even briefing/debriefing video can disappear. This will be properly fixed only when 2.10 is released. Right now you can download fixed pk4 file by direct link from the same page --- fixed version should work as expected.

     

  6. I got it working in TDM 2.0 !!!

    Maybe the menu change in 2.10 broke it?

    Well I guess I can make a bug report, since it did work in TDM 2.0 (standalone) and I can reproduce the functionality. I will try to check on which version it got broken.

     

    Edit: It still worked in tdm 2.09, but stopped working in 2.10, so it must be related to the changes @stgatilov made to the main menu in TDM 2.10 .

  7. I haven't actually tried it with older tdm versions. Maybe I should do that too.

    Edit: does not work in tdm 2.0

     

    12 hours ago, Geep said:

    onAction {

    set "gui::startSelect" "startpos2";

    set "cmd" "startSelect"; // line 161 of ModMenu.cpp

    }

    I tried that also, but nothing happened.

    I wonder if when it works, I should see something in the console.

  8. So I have now the following code in the mainmenu_briefing.gui :

    	windowDef StartPointBox1 {
    		rect 160,160,300,100
    		visible	0
    		forecolor	1, 1, 0.8, 0.7
    			font	BRIEFING_TEXT_FONT
    		textscale	BRIEFING_TEXT_SCALE
    		text "Scale the north wall"
    		onAction {		
    			set "gui::startSelect" 	"startpos2";
    			}
    	}

    And under //Stage 5. Things that need to be visible: text5, nextbutton5, PrevButton4 :

    				set "StartPointBox1::visible" "1";

    The text is visible and clickable.

    "startpos2" is the name of the second info_player_start entity

    If I click on the text. Nothing happens it seems. It seems this set command doesn't work this way?

  9. 1 minute ago, HMart said:

    The engine has multi spawn positions but only for multiplayer, the single player code does not handle that

    Well aperently it does, because this has been in core since TDM 1.08

     

    2 minutes ago, HMart said:

    Something like this, In DR put special "go to" entities, just used as locations to transport too, then in the main menu GUI set which entity the player should jump too and then transport the player to it when he spawns, you can do a fade transition to hide the jump, for the player will be like he spawned there in the first place.

    Yeah, cool idea, I just think if somehow the original functionality added by Grayman is used, it's much easier to use.

  10. This seems to be the code in core:

    Game_local.h

    // grayman #2933 - store the start position selected during the mission briefing, if any
    const char *			m_StartPosition;

     

    Game_local.cpp

    	m_StartPosition = ""; // grayman #2933

     

    /*
    ===========
    idGameLocal::SelectInitialSpawnPoint
    ============
    */
    idEntity *idGameLocal::SelectInitialSpawnPoint( idPlayer *player ) {
    	spawnSpot_t		spot;
    	idVec3			pos;
    
    	// grayman #2933 - Did the player specify
    	// a starting point in the briefing?
    
    	bool foundSpot = false;
    	spot.ent = NULL;
    	if ( m_StartPosition != NULL && m_StartPosition[0] != '\0' )
    	{
    		spot.ent = FindEntity( m_StartPosition );
    		if ( spot.ent != NULL )
    		{
    			foundSpot = true;
    		}
    	}
    	
    	if ( !foundSpot )
    	{
    		spot.ent = FindEntityUsingDef( NULL, "info_player_start" );
    		if ( !spot.ent )
    		{
    			Error( "No info_player_start on map.\n" );
    		}
    	}
    	return spot.ent;
    }

     

    ModMenu.cpp

    	else if (cmd == "startSelect") // grayman #2933 - save mission start position
    	{
    		gameLocal.m_StartPosition = gui->GetStateString("startSelect", "");
    	}

     

    Issue #2933

  11. Hey @Geep I wondered, since you're the Gui expert around here (I think), can you give it a quick look if it's not too difficult to generate the gui code for the mainmenu_briefing.gui that's currently missing, or that we really need that file. I gathered it's just an example file and the gui code can be created from the info in the wiki. It's just still a bit difficult for me. I don't know if this currently still works though, I guess I could test it in TDM 1.08 as well (If I get it running).

    Edit: The same code for this at least seems presents in both TDM 1.08 and 2.11

    See: https://wiki.thedarkmod.com/index.php?title=Briefing#Controlling_Where_the_Player_Starts

    Here is a testmap: https://drive.google.com/file/d/1YQQknGlVJE9TJyItE_H2KjggvrIAuhnf/view?usp=sharing

  12. Pretty good medium sized mission with interesting story. I found it too difficult though, so I got stuck. Good that you have a hints section. But maybe it's an idea to give more in-mission clues for lower difficulties (although I wasn't playing on easy)?

    I found some "issues" that I post in screenshots later, but I found especially that the Ambient light in full darkness seemed too bright?

    Btw.

    Spoiler

    Is it normal that the ambient light is not in the middle of the map? Maybe that doesn't matter, but I found that a bit odd. If there's a good reason, then that's interesting.

    image.png.501d6a80aa5f2a27ea940e26dc3ee7cb.png

    Maybe also there's a lack of specular in some of the textures?

    Btw. There's lots of redundant and double files in the pk4. especially in the textures, dds, maps and guis folders. So if you would make an update in the future, you could look into this aswell.

    • Thanks 1
×
×
  • Create New...