DirtyMorth
Recruit
dear yoshi,
Thank you for your tutorial, I am however experiencing a problem.
I have placed both texture, material and mesh in the same brf file named 'testmodel'
The texture is in the texture folder of the mod(as a .dds), the brf file is in the resource folder of the mod.
I have added the following in module_items.py:
and the following in module_scripts.py:
And lastly, in the module.ini file I have placed (at the bottom of the page)
As far as I know, this should work. I neither get errors when running the build_module batch file or the game itself.
But, once in-game, my model is not in the troop list. I have tried to change the itm_testmodel in an already existing vanilla item, and that worked perfectly, but when I try to load in my own model it won't even show up in the equipment selection screen.
What is causing this?
Sincerely,
DirtyMorth
Thank you for your tutorial, I am however experiencing a problem.
I have placed both texture, material and mesh in the same brf file named 'testmodel'
The texture is in the texture folder of the mod(as a .dds), the brf file is in the resource folder of the mod.
I have added the following in module_items.py:
Code:
["testmodel", "Test-Model", [("testmodel",0)], itp_type_one_handed_wpn| itp_primary|itp_secondary|itp_bonus_against_shield|itp_wooden_parry, itc_scimitar|itcf_carry_axe_left_hip,
24 , weight(2) | spd_rtng(95) | weapon_length(75) | swing_damage(24, blunt) | thrust_damage(0, pierce), imodbits_axe],
and the following in module_scripts.py:
Code:
(call_script, "script_multiplayer_set_item_available_for_troop", "itm_testmodel", "trp_swadian_crossbowman_multiplayer"),
And lastly, in the module.ini file I have placed (at the bottom of the page)
Code:
load_mod_resource = testmodel
As far as I know, this should work. I neither get errors when running the build_module batch file or the game itself.
But, once in-game, my model is not in the troop list. I have tried to change the itm_testmodel in an already existing vanilla item, and that worked perfectly, but when I try to load in my own model it won't even show up in the equipment selection screen.
What is causing this?
Sincerely,
DirtyMorth