Aller au contenu

Photo

[solved] Blood on custom models?


  • Veuillez vous connecter pour répondre
8 réponses à ce sujet

#1
Gammastar

Gammastar
  • Members
  • 42 messages
Not sure if anyone else is having this trouble, but I would assume so. When I import a custom weapon model, it can't get any blood on it, which I must admit looks a little odd when the rest of my character is covered. Now of course I could turn off the blood for my standalone module (and I've considered it), but even so, I still wouldn't know why this is the case.

I've reviewed the textures for existing models and I have found nothing that suggests to me the way they are allowed to have blood on them, so does anybody have any insights?

Modifié par Gammastar, 18 février 2010 - 03:23 .


#2
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
It has nothing to do with textures. It's likely the model itself - presumably the same as getting VFX like fire and frost to work, i.e. crusts.

#3
Dark_Ansem

Dark_Ansem
  • Members
  • 638 messages
I'm not sure. either you have to look in the .mao file or you have to check if you have the SpecularMask texture for your weapon (you can create it from the NormalMap).



http://social.biowar...Texture_Formats

#4
Adonnay

Adonnay
  • Members
  • 105 messages
Yes, I think it was the specular (ending with 's') texture that holds the blood stains. It has nothing to do with the crust or the model. The crust will be needed for the elemental FX, that's true.

#5
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
Not sure where you are getting that from. The specular maps for all the vanilla weapons are just that - specular maps. There's no alpha mask for blood stains that I've seen in any of the default textures.

#6
Adonnay

Adonnay
  • Members
  • 105 messages
I simply noticed that when my weapons were also missing the blood stains. I then added all the missing textures and maps and voila... blood stains. I'm not 100% sure it was the spec map though, but I am sure that it was one of the supplemental maps (tint, spec or fresnel map). Perhaps I'll try it out later and clarify that.

#7
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
There's nothing in the diffuse, specular or tint maps (or normal maps either).

#8
Adonnay

Adonnay
  • Members
  • 105 messages
Alright, I stand corrected, it is indeed not the maps or textures but it isn't in the model either.



Check the .mao file and change the following line:

<Material Name="Prop.mat"/>

Replace the "Prop.mat" with "Weapon.mat", that should do the trick.

#9
Gammastar

Gammastar
  • Members
  • 42 messages
Ah, yep, that did the trick. Thanks!