Jump to content
Sign in to follow this  
id_999

Help~ the blood doesn't stain the solider

Recommended Posts

Hi everyone

I really need help regard with my solider,

currently i have make a solider and i have successfully import it into the game .

The problem with the solider is that when i shot him the bloods appear, but the blood doesn't stain the clothes.

I really dont know why?

Is because of my config.cpp or what???

Can someone please tell me why??

thanks in advance sad_o.gif

Share this post


Link to post
Share on other sites

ok...

I have the  blood textures, so i also think that the wrong is due to the config.cpp

can someone please post his/her config.cpp for the soldier?

I need it for reference.

By the way what does wounds[] do??

does it have any relation with the sections[]

Does there any tutorial or API for the config class??

Most of the stuff i dont know such as what it does e.g:( wound[], hiddenSelections[] etc.)

thank in advance.

Share this post


Link to post
Share on other sites

Yes it's the wounds line you need to edit correctly.

The way it works is that the textures are listed in pairs

undamaged texture, damaged texture

this tells the game to swap them when a specific area is considered "hit" in game.

Feel free to take apart the Kawasaki KLR addon I made, it has a mlod soldier model (with the face remodelled to handle random in game faces, NVGs and Pistols) and the cpp can be used as a example for how to do wounds.

...or it could be the Scotch Gard...

SelectThis

Share this post


Link to post
Share on other sites

I had look through other soldier config.cpp and i have add my own wounds[]  into my config.cpp but it still doesnt work.

I didnt put every undamage and damage textures into the wounds , will it affec the code?

Could It due to other stuff???

Share this post


Link to post
Share on other sites

I manage to get only the helmet texture working but other body part still doesnt work.

This is my wounds code:

wounds[] ={"\SAF_soldier\w_helma_front.pac","\SAF_soldier\w_helma_front_D.pac","\SAF_soldier\w_helma_side2.pac","\SAF_soldier\w_helma_side2_D.pac","\SAF_soldier\w_helma_vnitrek.pac","\SAF_soldier\w_helma_vnitrek_D.pac","\SAF_soldier\w_hrud_p.pac","\SAF_soldier\w_hrud_p_D.pac","\SAF_soldier\w_nohy_bok_l.pac","\SAF_soldier\w_nohy_bok_l_D.pac","\SAF_soldier\w_nohy_bok_p.pac","\SAF_soldier\w_nohy_p_D.pac","\SAF_soldier\w_nohy_z.pac","\SAF_soldier\w_nohy_z_D.pac"};

I only put the helmet, body and leg texture , not all of Texture as i'm only trying

CAn anyone out there help me >?

By the way does the wounds[] have any relationship with the sections[]?

ANd how to code the sections[]?

Thanks I really want to solve this problem asap

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×