Jump to content
The Dark Mod Forums
Springheel

So, what are you working on right now?

Recommended Posts

@Geep

Although I think actual laptops don't belong in the Thief series, the concept of having some sort of inventors guild or magic screens appeals to me. Thanks for working this out!

Share this post


Link to post
Share on other sites

I've always thought it would be a useful way to fake windows.

Share this post


Link to post
Share on other sites

I wonder if this could also be used to make Prey-like portals

Edited by Amadeus

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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: 

 

Share this post


Link to post
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.

Share this post


Link to post
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.

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

@Amadeus

I have made a Giant and a Ghost ... you can walk through them, so you could make a portal out of it with the same technique ... or with a video a source, if Geep get's it all figured out.

Link

Edited by STRUNK

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

@VanishedOne

I optimised the file to about half the file size, packed it to an .pk4 and now attatched the file to the post, as it was small enough now.

Thanks for pointing it out.

Edited by STRUNK

Share this post


Link to post
Share on other sites

@Geep

 

Wow, that'a lot of work you did there Geep. Thanks for that! I'm gonna check it out later.

Can this be used to have non fullscreen video's also?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.


×
×
  • Create New...