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

    • opnode  »  STiFU

      Saw you username pop up, just wanted to say thanks for your recent commits :3
      · 0 replies
    • Petike the Taffer

      I've updated all of the Fan Mission documentation on our TDM wiki. As I've gone to the trouble of documenting every officially known fan mission, we currently have a total of 192 missions (the vast majority of them Single Missions, and a few done in the format of a Campaign). Maybe I should get working on my own again, soon, just to add something to the approaching first two hundred. 
      · 0 replies
    • demagogue

      I saw a let's play video with the indicator that pops up showing the direction for AI barks. This for the record. I hadn't looked into it before and wanted to now, but search terms weren't helping me find info on it in the forum. Could anyone drop a link to a thread or post on it?
      · 2 replies
    • Petike the Taffer

      I think I still have the login details for the Google Account used to log in to The Dark Mod's official YouTube channel. With all the new videos that have been done regarding 2.12 and 2.13, it really feels like it's time for an update. I don't know if logging into another account is going to work, as I've had some issues with it in recent times, but If I manage to do so, I'll do some updating regarding the newer videos.
      · 0 replies
    • The Black Arrow

      New Year Plans:
      Play Thief Gold
      Play Thief 2
      Play Thief 3
      Play Thief Gold...To play "The Black Parade"
      Finally, eat Velvet Cake and...Play The Dark Mod, wooeey!
      · 6 replies
×
×
  • Create New...