Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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.

 

Posted

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.

 

Posted

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.

Posted

You're right, I didn't even know the entity list existed, it is much better.

I was looking up something in the .map file in Notepad++ and went to find it in the map via that dialog box.

I always assumed I'd taste like boot leather.

 

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

    • jivo

      In case you missed it, I updated the Visible Player Hands mod to version 2.0. It now works while a weapon is selected and has a Linux version too.
      Check it out if you're interested: Visible Player Hands 2.0
      · 0 replies
    • thebigh

      Starting a playthrough of the whole Dark Mod, from oldest mission to newest. I've knocked over the first few already and about to start Living Expenses. Only ~170 missions to go!
      · 12 replies
    • Ansome

      I'm back! Happy new years, TDM folks!
      I brought with me a quick update for my first FM that fixes up a lot of small issues that didn't get caught in beta testing. I didn't exactly expect it to take me nearly 9 months to release a patch, but it's been a wild year to say the least. Teaching, finishing up my Master's of Education, and all manner of other events forced me to drop out of the anniversary FM contest and ate up all my time, but I'm back again in a comfortable position to start catching up on all the new FMs. I may even start work on another spooky project of greater length and difficulty in the coming year.
      Thanks again for the warm welcome to the community and have a happy new year!
      · 3 replies
    • JackFarmer

      I got myself the apple tv trial subscription. I have to say, “Foundation” (season 1) is very exciting. Shall I read the books as well?
      · 2 replies
    • datiswous

      One more like..
       

      · 3 replies
×
×
  • Create New...