Jump to content
The Dark Mod Forums

grayman

Development Role
  • Posts

    13591
  • Joined

  • Last visited

  • Days Won

    199

Posts posted by grayman

  1. 12 hours ago, Dragofer said:

    Anyone got experience with the path_talk entity? I'd like to use this instead of a conversation to get an AI to say a line, but neither the entity description nor the inherited properties suggest how to use the entity.

    The path node wiki says this isn't implemented.

    If you put one in your AI's path, you'll see this warning appear on the console when he reaches it:

    Unknown path node classname 'path_talk'

    Folks have created a simple conversation to cover this situation.

    You can also use a trigger to start up a speaker saying the desired line, but one downside is that the AI's lips won't move, as they do in a conversation. If the player won't notice, go this route.

  2. This material doesn't show up in DR now:

    textures/nature/foliage/tree02_branch

    It paints correctly in-game.
     

    There's no *_ed file for this material, and I thought DR used the diffuse file if an ed file wasn't present.

    It worked okay in the previous version of DR.

     

    This appears to be a side-effect of dealing with the crash.

    I tried upgrading to pre-2, but DR kept crashing when trying to open a map.

    I ended up uninstalling DR, then installing pre-2, and the crashing stopped.

    The material mentioned above also reappeared, so apparently there's no problem w/it.

     

  3. 4 hours ago, demagogue said:

    That looks great to me, better than the previous two versions.

    I think what grayman was getting at is we're supposed to elevate path_corners a little off the ground. At least that used to be the advice; it might be old advice now. But that's how I interpreted his comment. It might be the opposite now for all I know though.

    Path_corners should sit on the ground 

  4. 3 hours ago, STRUNK said:

    @grayman

    Have you tried putting more patches behind each other?

     

    No, but given the comments about performance drop-off with multiple videos, plus having gotten my owl to the point where he looks acceptable, I'm not going to do this.

    After a couple hours working on the owl, I'm going to leave him as is and move on to other things.

    Thanks for the help.

  5. 16 minutes ago, STRUNK said:

    Delete "blend gl_dst_alpha, gl_one"  from the material file:

     

    That works okay for the "lady in window" video because she has nothing behind her.

    Any non-transparent video patch that has something behind it will paint the black areas of the image black, which doesn't work for the owl situation.

    Can the video frames be painted with an alpha channel background, to get rid of the black, and be truly transparent for both transparent and non-transparent videos?

  6. Also, with the owl video, when it's fitted 1x1 into the patch, there's a thin bright line along the top, which is solved by shifting the texture image up 2 units. This prolly then paints a thin bright line at the bottom of the patch, but if that can be hidden behind something, it's not a problem.

  7. Just now, Dragofer said:

    Alright, how about doing it the old way with 'sort 101' in the material?

    Already tried that.

    No joy.

    I have it set up that neither the transparency nor the ghosting is apparent, so I have something that works for me.

    Others might have difficulties, though, depending on how they try to use this.

    I think these transparent videos are fine for "effects" usage, like electrical charges, which are transparent anyway, but transparency looks bad with video images that are supposed to be solid.

    • Like 1
  8. 14 minutes ago, Dragofer said:

    Good thing that 2.08 comes with the new drawSortOffset spawnarg to adjust the drawing priority of post-processed/transparent surfaces, without having to clone & edit the materials involved. The starting sort value for transparent materials is typically 100.

    Changing the video patch to a func_static and applying the "drawSortOffset/101" spawnarg didn't improve the situation. The video is still transparent, and is reduced to a ghost image when the sky is behind it.

  9. The audio doesn't play for me, so I'll add a separate speaker with standard owl sound.

    Also, when the video patch is placed in front of the sky, the entire patch is transparent, so the sky shows through and the owl becomes a ghost. I'll have to see if there's a way to force the video to change its order and paint over the sky.

    • Like 3
×
×
  • Create New...