Jump to content
The Dark Mod Forums

Task: Set Up Moveables


Ishtvan

Recommended Posts

Well they'd use the bounding box against everything in the world first, and only do poly to poly collision with the objects colliding with the bb. The 16 face limit is probably some fast cool speed optimisation, that they use tricky computer math to solve quickly. The number 16 makes me suspect that :)

 

As if you'd be moving a couch anyway. The only situations I can think of are removalists, or some explosion big enough to damage the floor and walls, which we already don't expect to happen anyway.

Link to comment
Share on other sites

Btw, I know I said we wouldn't tweak any of the physics now, but the default D3 bouncyness is WAY too bouncy. I think maybe I'll lower it to something more reasonable on the default moveable that stuff inherits from. Aside from that, any progress on obtaining moveable crates? :)

Link to comment
Share on other sites

Btw, I know I said we wouldn't tweak any of the physics now, but the default D3 bouncyness is WAY too bouncy. I think maybe I'll lower it to something more reasonable on the default moveable that stuff inherits from. Aside from that, any progress on obtaining moveable crates? :)

 

They're already there though. This is the list of current moveables as taken from tdm_moveables.def:

 

entityDef atdm:moveable_crate01
entityDef atdm:moveable_crate02
entityDef atdm:moveable_crate03
entityDef atdm:moveable_misc_barrel_barrel01
entityDef atdm:moveable_plank_short
entityDef atdm:moveable_plank_long
entityDef atdm:moveable_plank_longer
entityDef atdm:moveable_bookt1
entityDef atdm:moveable_kitchen_wbottle01
entityDef atdm:moveable_dining_chair2
entityDef atdm:moveable_candle1
entityDef atdm:moveable_candle2
entityDef atdm:moveable_broken_arrow_tip
entityDef atdm:moveable_broken_arrow_back

 

Perhaps we should make a list for all this crap and keep track which need to be done etc.

Link to comment
Share on other sites

That was how Brian @ Id suggested doing the CMs, so he at least thinks it works. Haven't tried it personally, but I'm pretty sure BT has tried it and said it worked. I'd say see how accurate you can get with a brush, and if it's not a tight enough fit around the model, go for the modeling method.

 

I would much rather do it with a model than a brush, if it works. Do we have documentation on how to do it this way? I can't quite see how the stuff about converting to func_clipmodel and exporting as CM would work if the clipmodel is part of the mesh.

Link to comment
Share on other sites

@Dram: The crates are there, but they don't work. If you try to spawn them the map crashes when it tries to load the CM. Our cubical crates have too many polies to work as a clipmodel for a moveable <_< (I checked it out and apparently they have some extra polies at the seams of the faces to make it look more believable or something)

 

@OrbWeaver: I don't know what steps are necessary beyond just putting it in the model and texturing it with common/clip (or common/collision, can never remember which). Dram has done it before though, so maybe he can tell us.

Link to comment
Share on other sites

Yeah I did it in milkshape. Simply made a nice box to fit the arrow broken bits and textured it clipmodel. Worked beautifully. I actually thought this was the only way lol.

 

@Ish: I'll make clipmodels for the crates now.

Link to comment
Share on other sites

Everything on that list is busted, IIRC (posted in another thread, somewhere).

 

As far as clip within model, I thought I remembered the dining chair at one point having a rough greenish box of triangles within it. And now it doesn't. And it isn't moveable.

 

What happened? I think this was BT's model.

Link to comment
Share on other sites

Yeah BT added them for his models afaik. Well whatever, I'll open every model up and give it a collision file. We should put a notice in the modellers section to tell them to please do it for their future models, makes things easier.

 

Come to thinki of it, I'll try an experiment >:) - monsterclip on a model and see if they avoid it.

Link to comment
Share on other sites

  • 2 weeks later...

Btw, to avoid confusion, added to the CVS version:

 

crate01

 

crate02

 

crate03

 

These were brushes and I'm no expert brush-maker, so it's possible these could be done better with a shell in the model itself.

 

Also, the models crate02 and crate03 both need their origin moved in to the center of the model. Crate02 is marginally okay, but crate03 has an origin way outside the model, which makes it spin in screwed up ways when you throw it because most physics forces are applied to the origin. Also it's bad for frobbing to have the origin so outside the model.

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

    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 4 replies
×
×
  • Create New...