Jump to content
The Dark Mod Forums

So, what are you working on right now?


Springheel
 Share

Recommended Posts

STRUNK, credit/blame for the idea of using the laptop is due to Dremple, who strictly speaking was just suggesting it as a way of testing your video in-game... probably found it amusingly anachronistic in the Doom3/TDM context. Maybe could use it in a Dr. Who/Time Lord episode?

All: As I build out wiki pages about in-game videos, I'll mention some of the ideas here: inventors guild, magic screens, windows, Prey-like portals. @Amadeus, I haven't done Prey, could you post a portal pix?

  • Like 1
Link to comment
Share on other sites

There have been a few posts on here about it in the past discussing it. It would be a neat feature, especially for mage towers, inventor guild rooms, etc. But these are what I mean: 

 

Link to comment
Share on other sites

Prey-like portals look more like a camera screen showing a different area of the map, while what Geep has been working on is how to play video files ingame on screens. It's certainly interesting, but not really related.

Link to comment
Share on other sites

We kinda do the same thing with Mirror's.

Theoretically we could do portals that teleport instead of walking through them like in Prey.
Using a camera at a different location and bind it to a mirror that the player frobs to teleport would give that effect.

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

@Geep

Nice : )

I have made transparent screens that could work as portals and such where the image comes from a camera, but it could be usefull maybe?



camerascreentransparent1
{
	qer_editorimage textures/editor/cameragui.tga
        nonsolid
        translucent
        noshadows
        

       {
		

		remoteRenderMap 232 232 // width / height of render image, ie resolution of screen
		red     Parm0 
		green   Parm1 
		blue    Parm2  		
                scale -1, -1
		translate -1, -1
		map "camerascreentransparent1"
                
                blend gl_dst_alpha, gl_one
		
                
	}
}

 

Edited by STRUNK
Link to comment
Share on other sites

On 3/16/2020 at 2:04 PM, AluminumHaste said:

We kinda do the same thing with Mirror's.

Theoretically we could do portals that teleport instead of walking through them like in Prey.
Using a camera at a different location and bind it to a mirror that the player frobs to teleport would give that effect.

Thinking about portals? ;)

 

 

  • Like 3
Link to comment
Share on other sites

Nice. :-) One minor detail: there seem to be hidden white marble surfaces in the mesh, which means the model loads a material the map might not need. I suggest caulking those, then having the exporter (I assume this was made in DR) skip all the caulk surfaces; it should shave off unneeded geometry.

  • Thanks 1

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Link to comment
Share on other sites

Not sure I've got it ALL figured out, STRUNK, or ever will, but I beat on it with a stick for a while, so here's my findings on the wiki. Enjoy:

https://wiki.thedarkmod.com/index.php?title=Full-Screen_Video_Cutscenes

That probably does it for what I'm adding to the wiki about video in the current cycle. Got some bits & pieces to add to other topics.

  • Thanks 2
Link to comment
Share on other sites

The "Movie Theatre Method" could I think be adapted to non-fullscreen video.  And see the other topic about "Playing ROQ Video Files" .

Really, there needs to be some current R&D using modern codec, and separate wiki writeup, by someone actively working that angle, and maybe covering magic mirrors, dioramas, portals. Not going there me-self.

  • Like 2
Link to comment
Share on other sites

Regarding STRUNK's comment about non-full screen video...

If anyone has access to circa-2006 3D Realms, it reportedly features a roadhouse with a TV showing several short videos, that loops overall. This mod forum post talks about editing the .gui and video .mtr to add additional video segments (called "channels" in the TV context), but is not self-explanatory without the original files:

http://forums.3drealms.com/vb/showthread.php?t=20597

Idea might be adaptable to TDM

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Baking some sausages in hot oil:

https://streamable.com/g2hpf

Changed the .mtr file for cave_water_muddy to have it look like hot oily baking stuff : )

Spoiler

//Author: Dram // Changed by STRUNK to be hot baking oil
textures/water_source/cave_water_muddy
{
    qer_editorimage textures/darkmod/sfx/water_surf_001_ed
    discrete
    nonsolid
    water
    twosided
    translucent
         description "slightly dark  rippling water with surface dirt"

    {
        vertexProgram HeatHazeWithMaskAndDepth.vfp
        vertexParm 0 0.1 * sintable [ ( time / 20 ) * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.15 * sintable [ ( time / 24 ) * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
        vertexParm 1 (( parm6 + 3) - (( parm6 || 0) * 1.5))
        fragmentProgram HeatHazeWithMaskAndDepth.vfp
        fragmentMap 0 _currentRender
        fragmentMap 1 textures/sfx/vp1
        fragmentMap 2 textures/water_source/vp_water
        fragmentMap 3 _currentDepth
        scale 4,4
    }
    {
        blend modulate
        map textures/darkmod/sfx/water_surf_001
        translate 20 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.075 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
    }
    {
        blend modulate
        map textures/darkmod/sfx/water_surf_001
        translate 24 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.0375 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
        red 1
        green 0.6
        blue 0
    }
}

 

  • Like 4
Link to comment
Share on other sites

5 minutes ago, STRUNK said:

Baking some sausages in hot oil:

https://streamable.com/g2hpf

Changed the .mtr file for cave_water_muddy to have it look like hot oily baking stuff : )

  Reveal hidden contents

//Author: Dram // Changed by STRUNK to be hot baking oil
textures/water_source/cave_water_muddy
{
    qer_editorimage textures/darkmod/sfx/water_surf_001_ed
    discrete
    nonsolid
    water
    twosided
    translucent
         description "slightly dark  rippling water with surface dirt"

    {
        vertexProgram HeatHazeWithMaskAndDepth.vfp
        vertexParm 0 0.1 * sintable [ ( time / 20 ) * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.15 * sintable [ ( time / 24 ) * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
        vertexParm 1 (( parm6 + 3) - (( parm6 || 0) * 1.5))
        fragmentProgram HeatHazeWithMaskAndDepth.vfp
        fragmentMap 0 _currentRender
        fragmentMap 1 textures/sfx/vp1
        fragmentMap 2 textures/water_source/vp_water
        fragmentMap 3 _currentDepth
        scale 4,4
    }
    {
        blend modulate
        map textures/darkmod/sfx/water_surf_001
        translate 20 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.075 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
    }
    {
        blend modulate
        map textures/darkmod/sfx/water_surf_001
        translate 24 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 3)], 0.0375 * sintable [ time * ((( parm5 + 0.1) - (( parm5 || 0) * 0.1)) * 1.5)]
        red 1
        green 0.6
        blue 0
    }
}

 

Heh, almost looks like the spaghetti sauce you'd get at Steak & Shake ;)

  • Haha 1
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.

 Share


  • Recent Status Updates

    • jaxa

      Embracer Group is Buying Square Enix Montréal, Eidos, and Crystal Dynamics for “Only” 300 Million USD: https://wccftech.com/embracer-group-square-enix-montreal-eidos-crystal-dynamics/
      · 1 reply
    • duzenko

      Do we want fur in TDM? Like https://duzenko.github.io/webgl/
      · 6 replies
    • Epifire

      Sometimes life throws a curveball - other times it straight up tries to take you outta the game. Been one thing after another lately but I ain't goin without a fight!
      · 2 replies
    • duzenko

      My Uber rating (as a passenger) is 4.71. Is there still hope or should I just kill myself? What's yours?
      · 3 replies
    • kano

      Did I mention how absolutely grateful I am that TDM didn't get (and can never be) assimilated by a huge company like Microsoft, as is what happened to Minecraft?
      · 3 replies
×
×
  • Create New...