Jump to content
The Dark Mod Forums

BUG: Searching by Map->Find Brush->Entity # produces 0 results.


Recommended Posts

Using Map->Find Brush->Entity # produces 0 results.

If I check my map file, it shows

// entity 100
{
"classname" "atdm:torch_metal_wall"
"name" "atdm_torch_metal_wall_7"
"origin" "-641.601 1104.32 99"
"rotation" "0.503569 0.863956 0 -0.863956 0.503569 0 0 0 1"
}

If I do a search for entity 100 with that dialog box, I get no results, nothing shows in console either.

It works for brushes just fine though, if I type in 200 in the box and hit OK, it selects that brush

// primitive 200
{
brushDef3
{
( 0 0 -1 -274 ) ( ( 0 0.007811999879777431 234.5014801025391 ) ( 0.007811999879777431 0 255.9998931884766 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
( 0 0 1 266 ) ( ( 0 -0.007811999879777431 234.5014801025391 ) ( -0.007811999879777431 0 9.1552734375e-05 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
( -0.390549898147583 0.9205817580223083 0 -2.343303442001343 ) ( ( -0.007811999879777431 0 19.79111862182617 ) ( 0 0.007811999879777431 3.812256097793579 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
( -0.9743911027908325 -0.2248600125312805 0 64.75949096679688 ) ( ( -0.007811999879777431 0 251.1657409667969 ) ( 0 0.007811999879777431 3.812256097793579 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
( 0.2265130281448364 -0.9740081429481506 0 0.3396595418453217 ) ( ( -0.007811999879777431 0 235.0602722167969 ) ( 0 0.007811999879777431 3.812256097793579 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
( 1 0 0 -191.9998779296875 ) ( ( -0.007811999879777431 0 9.1552734375e-05 ) ( 0 0.007811999879777431 3.812256097793579 ) ) "textures/darkmod/stone/flat/smooth/marble_grey01" 0 0 0
}
}

 

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

Hmmm, that doesn't work either.

I created a new patch, it's showing up as Entity 320 in the map file

 

// primitive 320
{
patchDef2
{
"textures/common/shadow2"
( 3 3 0 0 0 )
(
( ( -1362 318 424 0 0 ) ( -1362 432 424 0 -0.8828125 ) ( -1362 544 424 0 -1.765625 ) )
( ( -1252 318 424 0.859375 0 ) ( -1252 432 424 0.859375 -0.8828125 ) ( -1252 544 424 0.859375 -1.765625 ) )
( ( -1142 318 424 1.71875 0 ) ( -1142 432 424 1.71875 -0.8828125 ) ( -1142 544 424 1.71875 -1.765625 ) )
)
}
}

But when I use Map->Find Brush->Entity Number and put in 320, I get no results. BUT, if I put 320 in Brush Number, I get that patch selected. So it seems brushes and patches are lumped into Brushes.

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

That dialog and its functionality is ancient. It must have been introduced when there haven't been any patches available at all - Brush Number really refers to "Primitive Number".

Entity 0 is the worldspawn, as you found out. Putting Entity 0 and a primitive number will look up the worldspawn brush/patch for you. I guess the dialog should be made to work with non-func_static models too, since the entity number 100 is a valid one and it should be found even if has no child primitives attached to it.

Not sure about the workflow though, what's the reason you're looking up the entity by number instead of its name? I guess the Entity List would do a better job at locating entities in most cases.

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • 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
×
×
  • Create New...