Author Topic: Removing a part of a model  (Read 5504 times)

0 Members and 1 Guest are viewing this topic.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Removing a part of a model
« on: September 13, 2014, 08:15:12 AM »
What's the easiest way to remove the drool pouring out of the hell knights mouth?
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

douglas quaid

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +6/-8
  • Level Designer/Sound Designer
    • View Profile
    • Total Recall
Re: Removing a part of a model
« Reply #1 on: September 13, 2014, 08:33:35 AM »
A hell hanky  ;D

Ah no, I always thought it was a material. Maybe change it to see through.
TOTAL RECALL - Singleplayer mod for Doom 3 starring Arnold Schwarzenegger
BLACKOUT - Free indie horror game based on the id Tech 4 engine

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #2 on: September 13, 2014, 08:36:36 AM »
LOL good one.

I looked for a command to do that but had no luck. What's the command?
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

Zombie

  • Guest
Re: Removing a part of a model
« Reply #3 on: September 13, 2014, 11:55:11 AM »
To remove part of the model, you would need to import the MD5 and export it again, which will probably cause lots of issues.

Just go in to the MD5 mesh of the hellknight and change the drooling material to textures/common/nodraw

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #4 on: September 13, 2014, 02:15:03 PM »
That's what I was looking for. I had seen this before but couldn't remember. Thanks man.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

oneofthe8devilz

  • Sr. Member
  • ****
  • Posts: 381
  • Karma: +96/-89
  • Doom Newbie
    • View Profile
    • Scared Pixel Studios
Re: Removing a part of a model
« Reply #5 on: October 01, 2014, 02:09:31 PM »
To remove part of the model, you would need to import the MD5 and export it again, which will probably cause lots of issues.

Just go in to the MD5 mesh of the hellknight and change the drooling material to textures/common/nodraw

Actually you can remove elements of an md5mesh by text-editing aswell...

You just have to keep count of how many elements you remove

example:

When you open up an .md5mesh u have something like:

Quote
MD5Version 10

numJoints 75
numMeshes 3

joints {...}

mesh {...}
mesh {...}
mesh {...}

And lets say the first mesh is the thing you want to remove (you can identify it by the material shader it has defined for each mesh)...
So you remove the first mesh along with all "shader", "vert", "tri" and "weight" information...

Now all there is left to do is to change the "numMeshes" count from "3" to "2" and the .md5mesh is good to be read by the game engine...

Quote
MD5Version 10

numJoints 75
numMeshes 2

joints {...}

mesh {...}
mesh {...}

This will keep your .md5mesh filesize clean and small and should generally do better, performance wise, compared to just setting the shader of the mesh in question to "nodraw"...

That's the beauty of a textbased filesystem...
« Last Edit: October 01, 2014, 02:16:10 PM by oneofthe8devilz »
I got six little friends and they all run faster than you ;)


Check out our mods at
moddb or the SPS Homepage

Zombie

  • Guest
Re: Removing a part of a model
« Reply #6 on: October 02, 2014, 01:00:29 AM »
To remove part of the model, you would need to import the MD5 and export it again, which will probably cause lots of issues.

Just go in to the MD5 mesh of the hellknight and change the drooling material to textures/common/nodraw

Actually you can remove elements of an md5mesh by text-editing aswell...

You just have to keep count of how many elements you remove

example:

When you open up an .md5mesh u have something like:

Quote
MD5Version 10

numJoints 75
numMeshes 3

joints {...}

mesh {...}
mesh {...}
mesh {...}

And lets say the first mesh is the thing you want to remove (you can identify it by the material shader it has defined for each mesh)...
So you remove the first mesh along with all "shader", "vert", "tri" and "weight" information...

Now all there is left to do is to change the "numMeshes" count from "3" to "2" and the .md5mesh is good to be read by the game engine...

Quote
MD5Version 10

numJoints 75
numMeshes 2

joints {...}

mesh {...}
mesh {...}

This will keep your .md5mesh filesize clean and small and should generally do better, performance wise, compared to just setting the shader of the mesh in question to "nodraw"...

That's the beauty of a textbased filesystem...

While viable, it's so easy to make a mistake if you're not sure what you're doing.

That's for super advanced users I think!

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #7 on: July 10, 2015, 04:45:03 PM »
I forgot to let you guys know I used oneofthe8devilz method and removed the tongue and drool from the Hellknights. I also removed the drool from the Pink demons too. Thanks for the help.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

motorsep

  • Hero Member
  • *****
  • Posts: 1,063
  • Karma: +76/-133
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: Removing a part of a model
« Reply #8 on: July 10, 2015, 05:15:27 PM »
Or you could just edit textures / skins and leave md5mesh alone.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #9 on: July 10, 2015, 05:31:00 PM »
Well it bothered me to just make it invisible. I wanted it gone. That's how much I hated that crap.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

bkt

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +12/-2
  • Doom Newbie
    • View Profile
Re: Removing a part of a model
« Reply #10 on: July 14, 2015, 01:49:55 PM »
Or you could just edit textures / skins and leave md5mesh alone.
Removing the mesh is the optimal method, if the riskier of the two. 

motorsep

  • Hero Member
  • *****
  • Posts: 1,063
  • Karma: +76/-133
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: Removing a part of a model
« Reply #11 on: July 14, 2015, 02:15:43 PM »
Removing the mesh is the optimal method, if the riskier of the two.

Not really optimal. If whatever parts of the mesh were separate surfaces, you can assign nodraw material to those parts via skin and those surfaces won't render. This way you don't need to hack the mesh, and whatever is not desired will not render.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #12 on: July 14, 2015, 04:40:44 PM »
It's so much easier to hack the mesh though. You just highlight, backspace, decrease the number of meshes and save.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

motorsep

  • Hero Member
  • *****
  • Posts: 1,063
  • Karma: +76/-133
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: Removing a part of a model
« Reply #13 on: July 14, 2015, 05:09:53 PM »
It's so much easier to hack the mesh though. You just highlight, backspace, decrease the number of meshes and save.

It's not your assets. So when you modify them and redistribute them, you really violate EULA. It's not so much the case with skins. Also, you can't go back to original assets. With skins, you can simply switch skin and you got the original look back.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 764
  • Karma: +17/-69
    • View Profile
Re: Removing a part of a model
« Reply #14 on: July 14, 2015, 05:17:48 PM »
I know they're not mine but when they give me tools to change them and then a way to give those edited versions to others I will. Changing a skin or altering a sound is no different then altering a model. I'm not making money off of this so what's the harm? I've edited their maps, their code, and just about everything else they had in this game. I don't think taking away a stupid looking tongue matters at this point.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500