Jump to content

Importing custom props?


Rahcul
 Share

Recommended Posts

1 hour ago, stanislas69 said:

Okay, so this is a more "recent" change.

Let's take some materials as examples


<material>player_trans.xml</material>
<material>player_trans_spec.xml</material>
<material>player_trans_parallax_spec.xml</material>
<material>player_trans_ao_parallax_spec.xml</material>

First one just needs a diffuse texture. ex:


<texture file="skeletal/kart_cjv_e_1.dds" name="baseTex"/>

Second needs diffuse and spec. ex:


<texture file="skeletal/kart_cjv_e_1.dds" name="baseTex"/>
<texture file="skeletal/kart_cjv_e_1_spec.dds" name="specTex"/>

Third needs diffuse and spec and a normal (parallax) map


<texture file="skeletal/kart_cjv_e_1.dds" name="baseTex"/>
<texture file="skeletal/kart_cjv_e_1_spec.dds" name="specTex"/>
<texture file="skeletal/kart_cjv_e_1_norm.dds" name="normTex"/>

Last one needs an ao  map on top of that. ex:


<texture file="skeletal/kart_cjv_e_1.dds" name="baseTex"/>
<texture file="skeletal/kart_cjv_e_1_spec.dds" name="specTex"/>
<texture file="skeletal/kart_cjv_e_1_norm.dds" name="normTex"/>
<texture file="skeletal/kart_cjv_e_1_ao.dds" name="aoTex"/>

 

I did try it that way, but now the editor just crashes and says:

 

(error while formatting error message)

 

There is no other error message.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...