Jump to content
The Dark Mod Forums

grodenglaive

Member
  • Posts

    469
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by grodenglaive

  1. Ahh, maybe your right. I didn't read the wiki very well either:) I just assumed it would work to simply modify the light entity.

    I don't think many fm devs would bother with custom shaders just to adjust the blinking lights. Oh well.

  2. Here he is stuck on the elevator at the bottom floor. The yellow pyramid by his foot indicates to me that his destination (which should be outside on the floor landing) did not update when the elevator reached the floor. Normally the pyramid immediately jumps to the next destination each time he arrives.

    image.thumb.jpeg.dd7df023add0462d64bb8e8ca50c5d0b.jpeg

  3. OK, I've got it mostly working on the test map. The grid snapping checked out, but I foolishly made a mistake in the path corner targets, so the 2nd floor was legitimately being skipped.🙄 The AI will now ride from floor 1 ->2 ->3 and back down 3 ->2 ->1.

    One remaining hurtle is the AI should repeat this loop indefinitely in this test, but occasionally he will stop at a random floor and not get off the elevator or continue. This could happen during the first loop or it could be several before it fails. Each dmap turns out differently. It seems like a bug.

    (wow, youtube really butchered the playback quality!)

  4. 2 hours ago, datiswous said:

    I wonder if placing a hidden staircase behind the elevator could work. Ai uses the staircase, player uses the elevator.

    I might be able to shoehorn a staircase into the design.🤔 It isn't necessary for the gameplay to have the AI to move between these floors though. I just thought it would be nice to see them use the elevator.  

  5. 3 hours ago, JackFarmer said:

     

    :(  Oh dear, please check the following

    - make sure, that the surrounding brushwork is snapped to grid 8 or 16.

    - make sure that the vertical bars are snapped to grid

    - make sure that the green AAS brushes are snapped to grid

    - make sure to have portals in the openings that are snapped to grid


    If that does not help, then you can PM me a download link and I will have a look later today.

     

    Yeah, the elevators are "good" if you want to provoke strange AI behaviour. When on alert mode, they fall through openings, they kill each other by pressing the buttons (while others on deeper floors stand in the shaft), etc.. A consequent overhaul should be considered as (as you say) this problem limits mission design significantly.

    Ah, grid snapping - I never thought to check that. I hope it helps, I'll try that today. Thanks!

  6. The AI's use of the elevators seems arbitrary and even whimsical. I'm using the prefab 3-floor elevator, modified only in height to fit my map. It works perfectly for the player, but the AI are afraid to take it. I do have other AI on each floor, so the AAS pathfinding should happen. I also tried adding an aas32_flood entity, but that didn't help.

    I copied my elevator into a test map for faster iterations and made a little landing for each floor for the AI to exit. Here the AI seems to feel it is safer to ride! But even so, the AI will not go to each floor. I have a path loop to instruct him to go from 1 to 2 to 3 and back to 1, then repeat. He'll just go from 1 to 2 and stop.  Sometimes he'll ride directly from 1 to 3, but not 2 to 3, nor will he come back down to 1. Depending on his mood, after reaching a floor he may get off or sometimes just stay on the elevator. It's like rolling the dice on every dmap.

    I also tested the unmodified elevator prefab and it works a bit better (perhaps the shorter floor heights are more to the AI's liking). Here the AI will merrily do the complete loop nearly twice, but fail to return to the ground floor after the second trip and just stands on the top floor. I can't imagine why😵‍💫

    image.thumb.png.e05e542665c3bf7a9f904dd1dedaa079.png

     

  7. 1 hour ago, BoilerDunce said:

    I noticed. Thanks btw.

     

     

    I had tried this but I couldn't find the sounds I added and I got worried that maybe that had to be baked into .pk4s or something

    I have the sound in the folder, I have the .sndshd written up, they're in sound/ambient/ambience and nonetheless, when I restart darkradiant and try to create speaker, my sound does not show up in the list. 

    I'm totally at a loss. I had already read through these wiki pages and I am still left clueless.

    I went through this very frustration a few days ago. The TLDR version is you can skip the custom shader file and just put the wav file directly in your sound folder and type the link into the speaker's properties. Here is mine:

    image.png.757660721adf06895930a080707ec01e.png

    Here, ding.wav is my custom doorbell sound.

    If it still doesn't work, then the sound file is probably the wrong bitrate (this also happened to me).  It should be 44.1 kHz, 16 bit mono (705 kbps).

     

  8. 1 hour ago, datiswous said:

    I thought "0" us off..

    0  also works.

    By the way, setting it to 1 or 2 is hilarious - the AI is like a junky waiting for his next fix😄

    (edit) another thing I just discovered... to change the animations for an AI walking a path - editing the "idle_animations" list has no effect (for example I tried deleting all but idle_cough). You need to edit "idle_animations_torso".

  9. 10 hours ago, BoilerDunce said:

    This helps. I have gotten all the help I need now on this problem.

    edit:
    I have a question about texturing. What is a reason that textures might appear intact in the editor, but be transparent in-game? I'm getting patches of texture that are cut out of the corners of brushes, when the brushes themselves are not divided.

    I think it's related to duplicating. I duplicated a staircase for instance and all the duplicates have a texture completely missing on the side. In the case of some duplicated walls though, around 25% of the texture is showing. 

    edit: Appears to resolve itself randomly after making edits. Whatever is happening during these edits to bring things back to normal, it isn't very apparent to me

    If you are referring to actual patches rather than solid brushes - they are only visible from one side, so it's possible they are reversed. If you select the patch and press ctrl i, it should fix it.

    You might also have overlapping faces (or duplicates), that are z-fighting.

  10. 18 hours ago, Amadeus said:

    If you check the "Show inherited properties" box in the entity window when you have the priest AI selected, you should find the "idle_animtations" spawnargs. From there, you'll be able to dictate what, if any, idle animations you'd like your AI to have. 

    You can also adjust the interval between idle animations with "idle_animations_interval"
    image.png.fa14ce958fadfe60a7a72a37f127e5aa.png

    Thanks! Changing the idle_animations to "-" didn't work, but setting the interval to "-1" did the trick.

    • Like 1
  11. On 2/3/2025 at 4:33 PM, wesp5 said:

    I completely agree, What would be next? That we would need to describe the blackjack curve exactly with the mouse ;)?

    on the other hand, these interactions would be excellent for the VR mod😎 (if using tracked hand controllers).

  12. Old post, but I just came across it. A nixie tube display would look pretty cool in TDM. I got one for Christmas actually - a clock made in the Ukraine from surplus Russian vacuum tubes. I love it.

    • Like 1
×
×
  • Create New...