Heraldics On PW ? How to add more ?

正在查看此主题的用户

Alphα

Section Moderator
Hello guys,
We are actualy on a new mod development and we meet some problems to add new heraldic. Have you got any tutorial in order to help us ? We found tuto about this in the mod dev section but this one can only be applied on native module.
What we did up to now :
- Create a new item : module_items
插入代码块:
["mail_long_surcoat_new_heraldic", "mail_long_surcoat_new_heraldic", [("mail_long_surcoat_new_heraldic",0)], itp_type_body_armor|itp_covers_legs, 0,
 2330, weight(18)|body_armor(41)|leg_armor(6)|difficulty(11), imodbits_armor, init_heraldic_item("tableau_mail_long_surcoat_new_heraldic")],

- Create a new mesh : module_meshes
插入代码块:
("tableau_mail_long_surcoat_new_heraldic", 0, "tableau_mail_long_surcoat_new_heraldic",  0, 0, 0, 0, 0, 0, 1, 1, 1),

- Create a new tableau mateiral : module_tableau_material
插入代码块:
("mail_long_surcoat_new_heraldic", 0, "sample_mail_long_surcoat_heraldic_new", 512, 512, 0, 0, 0, 0,
  tableau_armor_banner("mesh_tableau_mail_long_surcoat_new_heraldic", banner_xyz=(-26,120,50), banner_scale=70)),

- Add the new brf, texture and edit module.ini
- Any error loaded in the build_module

Name of the mesh : mail_long_surcoat_new_heraldic
material : tableau_mail_long_surcoat_heraldic_new
texture : mail_long_surcoat_heraldic_new.dds

Tableau's name : tableau_mesh_mail_long_surcoat_new_heraldic
material : tableau_mail_long_surcoat_heraldic_new
texture : mail_long_surcoat_heraldic_new.dds

We have this useless material called "sample_mail_long_surcoat_heraldic_new", Is it necessary to keep/use it or not ? Such a question that we can't resolve.

Thanks,
Regards,

Λℓphα
 
The sample material is necessary for applying the specular/normal map to the model afterwards.
Your tableau mesh's name (tableau_mesh_mail_long_surcoat_new_heraldic) does not match with the entry in module_meshes.
 
后退
顶部 底部