Jump to content
The Dark Mod Forums

FYI absence_noticeability marker physically is there


RJFerret

Recommended Posts

I couldn't figure out why I couldn't jump/stand to access something critical anymore (an objective item), turns out it was because I'd added absence_noticeability to an object that had to be moved out of the way.

 

Apparently the invisible-to-player marker that is put there for AIs to notice when something is moved out of position was impeding jumping, and forcing a crouch if moving a higher object to stand upon.

 

Just something to keep in mind for the future!

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Are they? Doh. I was presuming there was a technical reason they couldn't be.

 

Part one done: http://bugs.thedarkmod.com/view.php?id=3663

 

Need to make a sample map yet.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

http://bugs.thedarkmod.com/file_download.php?file_id=250&type=bug

 

Sample map.

 

Two side by side alcoves, each with a shelf, left one has absence_noticeability enabled, right one does not.

 

Withdraw each shelf (grab, pull back/out, drop on floor), observe you can freely jump on the right side compared to inhibited on left side.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

  • 2 weeks later...

Here's a follow up issue I just noticed today. For an item bound to another, the absence marker is spawned not where the item went missing, but back where it started on the map.

 

Should that be a new bug, feature request, or noted on this physical issue bug page (which is the only reason I realized, I physically bumped into the invisible object in another room!)

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Sorry, here's an example, imagine a scroll bound to the hand of a writer standing by his desk. Since pick-pocketing from his hand would be very apparent, absence noticeability is set on.

 

His path leads off elsewhere, and the player takes the scroll when the writer is in another room, the AI won't react. Back by the desk, you'll bump into the physical invisible object suspended at hand height, where the scroll was at map start.

 

If an AI goes by the desk, or the writer returns, they'll react like something was stolen there.

 

Apparently, upon pick-pocketing, the absence marker is not put where the object actually is taken, but where the object was spawned at map start.

 

Better explanation?

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Apparently, upon pick-pocketing, the absence marker is not put where the object actually is taken, but where the object was spawned at map start.

 

Yes, that's what happens. Apparently absence markers were designed for important items that don't move, the idea being that if they move away from their original position, AI should notice.

 

The absence marker is spawned as soon as the writer walks away from his original position. Since there's no feedback to the player, you won't notice the creation of the marker. If another AI approached the desk and saw the marker, he'd become alerted, even though the writer still might have the scroll in his possession elsewhere.

 

This is probably not the way to handle important moving items.

 

A script that keeps track of whether the scroll is bound to the writer seems a better solution for this situation.

Link to comment
Share on other sites

The absence marker is spawned as soon as the writer walks away from his original position.

 

Actually it's not. Simply make the absence_location the carrying AI with a useful boundary setting. The marker isn't spawned until the item is taken away from the AI, but in the wrong spot.

 

PS: So not technically a bug, thanks for answering that, I'll post it as a separate feature request, since it doesn't sound related to the original issue's code so much.

 

PPS: http://bugs.thedarkmod.com/view.php?id=3671

Edited by RJFerret

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

A script that keeps track of whether the scroll is bound to the writer seems a better solution for this situation.

 

Easier than that, just attach a teleport to the AI, and port in an absence_marker triggered by a "player has item in possession" objective. (This also allows me to place it higher, to keep the physical bug away from the AI's pathing.)

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Actually it's not. Simply make the absence_location the carrying AI with a useful boundary setting. The marker isn't spawned until the item is taken away from the AI, but in the wrong spot.

 

When the scroll is spawned, the code records the boundary box of the scroll.

 

Every 5 seconds, the code checks to see if the current boundary box of the scroll intersects the original boundary box of the scroll.

 

When the writer carrying the scroll walks away, the next of those checks will spawn the absence marker.

 

So, actually, it is.

Link to comment
Share on other sites

There are spawnargs, the one I listed, absence_location, and one I referred to, absence_bounds_tolerance, which change that to the boundary of the entity specified, as well as an allowance.

 

So no, the boundary in my case was the AI's bounding box, plus 99. Completely irrelevant to the original object.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

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.

  • Recent Status Updates

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...