Modding Q&A [For Quick Questions and Answers]

Users who are viewing this thread

Status
Not open for further replies.
Hello. I am relatively new to modding. I have managed to transfer a couple items from Native to Viking Conquest by using OpenBrf an Morgh's Editor. I am aware I need to copy textures and have the .brf file have the mesh, materials and textures, shaders in it.

However I am having difficulties adding a Board shield, specifically the one in tableau_shields.brf called tablea_shield_pavise_1.

I added it to the game but it appears mostly transparent.

I noticed the shields in tableau_shields.brf look different from the shields in shields.brf, so I'm wondering if there is something extra I need to do that I'm not aware of?

Any help is appreciated!

 
TW031 said:
Hello. I am relatively new to modding. I have managed to transfer a couple items from Native to Viking Conquest by using OpenBrf an Morgh's Editor. I am aware I need to copy textures and have the .brf file have the mesh, materials and textures, shaders in it.

However I am having difficulties adding a Board shield, specifically the one in tableau_shields.brf called tablea_shield_pavise_1.

I added it to the game but it appears mostly transparent.

I noticed the shields in tableau_shields.brf look different from the shields in shields.brf, so I'm wondering if there is something extra I need to do that I'm not aware of?

Any help is appreciated!
They will probably be connected within their item code lines with some scripts which are calling specific textures depening on if-clauses or such. Keywords for the search would be 'Heraldic Shields' or something like this.
 
Code:
      (create_mesh_overlay_with_tableau_material, reg1, -1, "tableau_lord_vassalage_notify", "$g_ee_cur_troop"),
      (position_set_x, pos1, 200),
      (position_set_y, pos1, 180),
      (overlay_set_position, reg1, pos1),
      (position_set_x, pos1, 900),
      (position_set_y, pos1, 900),
      (overlay_set_size, reg1, pos1),

Code:
  ("lord_vassalage_notify", 0, "troop_portrait", 1024, 1024, 0, 0, 600, 600,
  [
    (store_script_param, ":troop", 1),
    (set_fixed_point_multiplier, 100),
    (cur_tableau_set_background_color, 0),
    (cur_tableau_set_ambient_light, 100, 100, 100),
  
    (init_position, pos8),
    (position_set_x, pos8, -210),
    (position_set_y, pos8, 200),
    (position_set_z, pos8, 300),
    (cur_tableau_add_point_light, pos8, 550,500,450),
	
    # (cur_tableau_set_override_flags, af_override_all),
  
    (store_random_in_range, ":random", 0, 100),
    (try_begin),
      (lt, ":random", 33),
        (assign, ":animation", "anim_pose_1"),
    (else_try),
      (ge, ":random", 33),
      (lt, ":random", 66),
        (assign, ":animation", "anim_pose_4"),
    (else_try),
      (ge, ":random", 66),
        (assign, ":animation", "anim_pose_5"),
    (try_end),
    ######## anim_pose_1  https://i.ytimg.com/vi/IumgmzLevq4/hqdefault.jpg
    ######## anim_pose_4  https://i.ytimg.com/vi/CwMdbTSTl9E/maxresdefault.jpg
    ######## anim_pose_5  http://i.imgur.com/04XGgL2.jpg
	 
    (init_position, pos2),
    (cur_tableau_set_camera_parameters, 1, 6, 6, 10, 10000),
  
    (init_position, pos5),
    (position_set_z, pos5, 96),
    (position_set_y, pos5, 350),
  
    (cur_tableau_add_troop, ":troop", pos2, ":animation" , 0),
  
    (position_rotate_x, pos5, -90),
    (position_rotate_z, pos5, 180),
    (cur_tableau_set_camera_position, pos5),
    ]),

nbOIuXl.jpg
Does anyone have any idea of why is this happening? It's not a problem with the troop not being located, because the presentation get those values from him:

NNFe9be.jpg
 
[Bcw]Btm_Earendil said:
TW031 said:
Hello. I am relatively new to modding. I have managed to transfer a couple items from Native to Viking Conquest by using OpenBrf an Morgh's Editor. I am aware I need to copy textures and have the .brf file have the mesh, materials and textures, shaders in it.

However I am having difficulties adding a Board shield, specifically the one in tableau_shields.brf called tablea_shield_pavise_1.

I added it to the game but it appears mostly transparent.

I noticed the shields in tableau_shields.brf look different from the shields in shields.brf, so I'm wondering if there is something extra I need to do that I'm not aware of?

Any help is appreciated!
They will probably be connected within their item code lines with some scripts which are calling specific textures depening on if-clauses or such. Keywords for the search would be 'Heraldic Shields' or something like this.

How do I do this? I'm completely unfamiliar with what you describe. Where do I start?
 
TW031 said:
[Bcw]Btm_Earendil said:
TW031 said:
Hello. I am relatively new to modding. I have managed to transfer a couple items from Native to Viking Conquest by using OpenBrf an Morgh's Editor. I am aware I need to copy textures and have the .brf file have the mesh, materials and textures, shaders in it.

However I am having difficulties adding a Board shield, specifically the one in tableau_shields.brf called tablea_shield_pavise_1.

I added it to the game but it appears mostly transparent.

I noticed the shields in tableau_shields.brf look different from the shields in shields.brf, so I'm wondering if there is something extra I need to do that I'm not aware of?

Any help is appreciated!
They will probably be connected within their item code lines with some scripts which are calling specific textures depening on if-clauses or such. Keywords for the search would be 'Heraldic Shields' or something like this.

How do I do this? I'm completely unfamiliar with what you describe. Where do I start?
Did you already work with the module system before? If yes, what did you do yet?
 
[Bcw]Btm_Earendil said:
TW031 said:
[Bcw]Btm_Earendil said:
TW031 said:
Hello. I am relatively new to modding. I have managed to transfer a couple items from Native to Viking Conquest by using OpenBrf an Morgh's Editor. I am aware I need to copy textures and have the .brf file have the mesh, materials and textures, shaders in it.

However I am having difficulties adding a Board shield, specifically the one in tableau_shields.brf called tablea_shield_pavise_1.

I added it to the game but it appears mostly transparent.

I noticed the shields in tableau_shields.brf look different from the shields in shields.brf, so I'm wondering if there is something extra I need to do that I'm not aware of?

Any help is appreciated!
They will probably be connected within their item code lines with some scripts which are calling specific textures depening on if-clauses or such. Keywords for the search would be 'Heraldic Shields' or something like this.

How do I do this? I'm completely unfamiliar with what you describe. Where do I start?
Did you already work with the module system before? If yes, what did you do yet?

I used OperBrf to check which things I want from Native and used the program to make a new .brf that contains items I want and saved it in Viking Conquest resources folder. I copied textures those things required and I edited module.ini to load the new .brf

This way I added the War Horse and Full Plate armor from Native, and chainmail gloves from AD1257 all to VC.

I used Morgh's Editor to add new items to the game that contain these new textures and I copied the values from what they are in Native/AD1257 (source basically) to make sure I don't break anything in regards of intended item behavior.

This worked perfectly until this particular shield I wanted.

...

There is an update however. Using Photoshop with a dds plugin I edited the texture of the shield and it is no longer transparent. So though this was not the solution I was looking for, I am content with this method of fixing same problems in the future. The shield looks fine now.

However, there is another issue with the shield I just noticed and that is that it's being held weirdly.

In Native, these Board shields would cover the body of the troop from the neck all the way down ... and it would shift depending on if the holder would look down or up ... but in VC it ALWAYS remains shifted to the side and NEVER covers the full body like it does in Native (pictures here: h__ps://imgur.com/a/NTjQWZE  ... I had to break the link because this account is new and am not allowed to post external links)

How do I make it work the same way as in Native?
 
Another important question :

Is it possible to make certain lords have their own army template? (For Example, Duke Klargus having an army template of 50 Swadian Knights)
 
TW031 said:
I used OperBrf to check which things I want from Native and used the program to make a new .brf that contains items I want and saved it in Viking Conquest resources folder. I copied textures those things required and I edited module.ini to load the new .brf

This way I added the War Horse and Full Plate armor from Native, and chainmail gloves from AD1257 all to VC.

I used Morgh's Editor to add new items to the game that contain these new textures and I copied the values from what they are in Native/AD1257 (source basically) to make sure I don't break anything in regards of intended item behavior.

This worked perfectly until this particular shield I wanted.

...

There is an update however. Using Photoshop with a dds plugin I edited the texture of the shield and it is no longer transparent. So though this was not the solution I was looking for, I am content with this method of fixing same problems in the future. The shield looks fine now.

However, there is another issue with the shield I just noticed and that is that it's being held weirdly.

In Native, these Board shields would cover the body of the troop from the neck all the way down ... and it would shift depending on if the holder would look down or up ... but in VC it ALWAYS remains shifted to the side and NEVER covers the full body like it does in Native (pictures here: h__ps://imgur.com/a/NTjQWZE  ... I had to break the link because this account is new and am not allowed to post external links)

How do I make it work the same way as in Native?
I found something regarding the heraldic shields which might be helpful for you to have a read at. Take a good look at the item code line and which scripts it is calling:
https://forums.taleworlds.com/index.php/topic,297991.0.html

Regarding your other problem, VC has iirc only round shields and it has thus not been noticed. Can't tell you what needs to be edited for it but I will notify you should I stumble across something.
 
[Bcw]Btm_Earendil said:
VC has iirc only round shields

Pictish king wants to have a talk with you!
(they use square/rectangular shields)



HelrothHyrmir said:
Is it possible to make certain lords have their own army template? (For Example, Duke Klargus having an army template of 50 Swadian Knights)
you need to update the script that handles reinforcements of NPC parties. Add a exception rule for the Duke's party and use another rule to add troops to him.

generic rule is based on kingdom/culture.

Code:
  # script_cf_reinforce_party
  # Input: arg1 = party_no,
  # Output: none
  # Adds reinforcement to party according to its type and faction
  # Called from several places, simple_triggers for centers, script_hire_men_to_kingdom_hero_party for hero parties
  ("cf_reinforce_party",
 
muffinman038 said:
Is there a way I can increase the amount of troops for the bandit lair raids from 7 (total) to whatever number?

Code:
  (
	"bandit_lair",mtf_battle_mode|mtf_synch_inventory,charge,
    "Ambushing a bandit lair",
    [
      (0,mtef_team_0|mtef_use_exact_number,af_override_horse, aif_start_alarmed, 7,[]),
you need to edit the mission template
 
kalarhan said:
muffinman038 said:
Is there a way I can increase the amount of troops for the bandit lair raids from 7 (total) to whatever number?

Code:
  (
	"bandit_lair",mtf_battle_mode|mtf_synch_inventory,charge,
    "Ambushing a bandit lair",
    [
      (0,mtef_team_0|mtef_use_exact_number,af_override_horse, aif_start_alarmed, 7,[]),
you need to edit the mission template

Thank you!
 
hey i wanted to get into Warband modding for quite sometime now. I downloaded all the needed Programs to get started  i linked the export_dir correctly to my new mod but when i hit build module i get these errors: Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Traceback (most recent call last):
  File "process_global_variables.py", line 106, in <module>
    save_variables(export_dir, variables,variable_uses)
  File "C:\Users\Erik\Desktop\Module_system 1.171\process_operations.py", line 1
71, in save_variables
    file = open(export_dir + "variables.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/variables.txt'
Exporting strings...
Traceback (most recent call last):
  File "process_strings.py", line 26, in <module>
    save_strings(strings)
  File "process_strings.py", line 9, in save_strings
    ofile = open(export_dir + "strings.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/strings.txt'
Exporting skills...
Traceback (most recent call last):
  File "process_skills.py", line 32, in <module>
    save_skills()
  File "process_skills.py", line 15, in save_skills
    ofile = open(export_dir + "skills.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/skills.txt'
Exporting tracks...
Traceback (most recent call last):
  File "process_music.py", line 23, in <module>
    save_tracks()
  File "process_music.py", line 15, in save_tracks
    file = open(export_dir + "music.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/music.txt'
Exporting animations...
Traceback (most recent call last):
  File "process_animations.py", line 61, in <module>
    write_actions(animations,len(action_codes),action_codes,"actions.txt")
  File "process_animations.py", line 24, in write_actions
    file = open(export_dir + file_name,"w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/actions.txt'
Exporting meshes...
Traceback (most recent call last):
  File "process_meshes.py", line 25, in <module>
    save_meshes()
  File "process_meshes.py", line 9, in save_meshes
    ofile = open(export_dir + "meshes.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/meshes.txt'
Exporting sounds...
Traceback (most recent call last):
  File "process_sounds.py", line 51, in <module>
    write_sounds(sound_samples, sounds)
  File "process_sounds.py", line 13, in write_sounds
    ofile = open(export_dir + "sounds.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/sounds.txt'
Exporting skins...
Traceback (most recent call last):
  File "process_skins.py", line 105, in <module>
    export_skins(skins)
  File "process_skins.py", line 45, in export_skins
    ofile = open(export_dir + "skins.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/skins.txt'
Exporting map icons...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_map_icons.py", line 38, in <module>
    save_map_icons(variables,variable_uses,tag_uses,quick_strings)
  File "process_map_icons.py", line 9, in save_map_icons
    ofile = open(export_dir + "map_icons.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/map_icons.txt'
Exporting faction data...
Traceback (most recent call last):
  File "process_factions.py", line 70, in <module>
    save_factions(relations)
  File "process_factions.py", line 34, in save_factions
    file = open(export_dir + "factions.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/factions.txt'
Exporting item data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_items.py", line 72, in <module>
    write_items(variables,variable_uses,tag_uses,quick_strings)
  File "process_items.py", line 19, in write_items
    ofile = open(itemkinds_file_name,"w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/item_kinds1.txt'
Exporting scene data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scenes.py", line 77, in <module>
    save_scenes(variables,variable_uses,tag_uses)
  File "process_scenes.py", line 46, in save_scenes
    ofile = open(export_dir + "scenes.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scenes.txt'
Exporting troops data
Traceback (most recent call last):
  File "process_troops.py", line 107, in <module>
    save_troops()
  File "process_troops.py", line 13, in save_troops
    file = open(export_dir + "troops.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/troops.txt'
Exporting particle data...
Traceback (most recent call last):
  File "process_particle_sys.py", line 61, in <module>
    save_particle_systems()
  File "process_particle_sys.py", line 29, in save_particle_systems
    ofile = open(export_dir + "particle_systems.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/particle_systems.txt'
Exporting scene props...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scene_props.py", line 32, in <module>
    save_scene_props(variables,variable_uses,tag_uses,quick_strings)
  File "process_scene_props.py", line 10, in save_scene_props
    ofile = open(export_dir + "scene_props.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scene_props.txt'
Exporting tableau materials data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_tableau_materials.py", line 31, in <module>
    save_tableau_materials(variables,variable_uses,tag_uses,quick_strings)
  File "process_tableau_materials.py", line 11, in save_tableau_materials
    ofile = open(export_dir + "tableau_materials.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/tableau_materials.txt'
Exporting presentations...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_presentations.py", line 33, in <module>
    save_presentations(variables,variable_uses,tag_uses,quick_strings)
  File "process_presentations.py", line 11, in save_presentations
    ofile = open(export_dir + "presentations.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/presentations.txt'
Exporting party_template data...
Traceback (most recent call last):
  File "process_party_tmps.py", line 46, in <module>
    save_party_templates()
  File "process_party_tmps.py", line 20, in save_party_templates
    file = open(export_dir + "party_templates.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/party_templates.txt'
Exporting parties
Creating new tag_uses.txt file...
Traceback (most recent call last):
  File "process_parties.py", line 69, in <module>
    save_parties(parties)
  File "process_parties.py", line 12, in save_parties
    file = open(export_dir + "parties.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/parties.txt'
Exporting quest data...
Traceback (most recent call last):
  File "process_quests.py", line 30, in <module>
    save_quests()
  File "process_quests.py", line 9, in save_quests
    ofile = open(export_dir + "quests.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/quests.txt'
Exporting info_page data...
Traceback (most recent call last):
  File "process_info_pages.py", line 26, in <module>
    save_info_pages()
  File "process_info_pages.py", line 9, in save_info_pages
    ofile = open(export_dir + "info_pages.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/info_pages.txt'
Exporting scripts...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scripts.py", line 40, in <module>
    save_scripts(variables,variable_uses,scripts,tag_uses,quick_strings)
  File "process_scripts.py", line 10, in save_scripts
    file = open(export_dir + "scripts.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scripts.txt'
Exporting mission_template data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_mission_tmps.py", line 64, in <module>
    save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
  File "process_mission_tmps.py", line 38, in save_mission_templates
    file = open(export_dir + "mission_templates.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/mission_templates.txt'
Exporting game menus data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_game_menus.py", line 47, in <module>
    save_game_menus(variables,variable_uses,tag_uses,quick_strings)
  File "process_game_menus.py", line 22, in save_game_menus
    ofile = open(export_dir + "menus.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/menus.txt'
exporting simple triggers...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_simple_triggers.py", line 24, in <module>
    save_simple_triggers(variables,variable_uses,simple_triggers,tag_uses,quick_
strings)
  File "process_simple_triggers.py", line 8, in save_simple_triggers
    file = open(export_dir + "simple_triggers.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/simple_triggers.txt'
exporting triggers...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_dialogs.py", line 199, in <module>
    save_triggers(variables,variable_uses,triggers,tag_uses,quick_strings)
  File "process_dialogs.py", line 47, in save_triggers
    file = open(export_dir + "triggers.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/triggers.txt'
Checking global variable usages...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Exporting postfx_params...
Traceback (most recent call last):
  File "process_postfx.py", line 27, in <module>
    write_postfx_params(postfx_params)
  File "process_postfx.py", line 13, in write_postfx_params
    ofile = open(export_dir + "postfx.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/postfx.txt'

______________________________

Script processing has ended.
Press any key to exit. . .
i hope someone can help me thanks
 
Heinzketchup said:
hey i wanted to get into Warband modding for quite sometime now. I downloaded all the needed Programs to get started  i linked the export_dir correctly to my new mod but when i hit build module i get these errors: Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Traceback (most recent call last):
  File "process_global_variables.py", line 106, in <module>
    save_variables(export_dir, variables,variable_uses)
  File "C:\Users\Erik\Desktop\Module_system 1.171\process_operations.py", line 1
71, in save_variables
    file = open(export_dir + "variables.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/variables.txt'
Exporting strings...
Traceback (most recent call last):
  File "process_strings.py", line 26, in <module>
    save_strings(strings)
  File "process_strings.py", line 9, in save_strings
    ofile = open(export_dir + "strings.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/strings.txt'
Exporting skills...
Traceback (most recent call last):
  File "process_skills.py", line 32, in <module>
    save_skills()
  File "process_skills.py", line 15, in save_skills
    ofile = open(export_dir + "skills.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/skills.txt'
Exporting tracks...
Traceback (most recent call last):
  File "process_music.py", line 23, in <module>
    save_tracks()
  File "process_music.py", line 15, in save_tracks
    file = open(export_dir + "music.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/music.txt'
Exporting animations...
Traceback (most recent call last):
  File "process_animations.py", line 61, in <module>
    write_actions(animations,len(action_codes),action_codes,"actions.txt")
  File "process_animations.py", line 24, in write_actions
    file = open(export_dir + file_name,"w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/actions.txt'
Exporting meshes...
Traceback (most recent call last):
  File "process_meshes.py", line 25, in <module>
    save_meshes()
  File "process_meshes.py", line 9, in save_meshes
    ofile = open(export_dir + "meshes.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/meshes.txt'
Exporting sounds...
Traceback (most recent call last):
  File "process_sounds.py", line 51, in <module>
    write_sounds(sound_samples, sounds)
  File "process_sounds.py", line 13, in write_sounds
    ofile = open(export_dir + "sounds.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/sounds.txt'
Exporting skins...
Traceback (most recent call last):
  File "process_skins.py", line 105, in <module>
    export_skins(skins)
  File "process_skins.py", line 45, in export_skins
    ofile = open(export_dir + "skins.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/skins.txt'
Exporting map icons...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_map_icons.py", line 38, in <module>
    save_map_icons(variables,variable_uses,tag_uses,quick_strings)
  File "process_map_icons.py", line 9, in save_map_icons
    ofile = open(export_dir + "map_icons.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/map_icons.txt'
Exporting faction data...
Traceback (most recent call last):
  File "process_factions.py", line 70, in <module>
    save_factions(relations)
  File "process_factions.py", line 34, in save_factions
    file = open(export_dir + "factions.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/factions.txt'
Exporting item data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_items.py", line 72, in <module>
    write_items(variables,variable_uses,tag_uses,quick_strings)
  File "process_items.py", line 19, in write_items
    ofile = open(itemkinds_file_name,"w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/item_kinds1.txt'
Exporting scene data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scenes.py", line 77, in <module>
    save_scenes(variables,variable_uses,tag_uses)
  File "process_scenes.py", line 46, in save_scenes
    ofile = open(export_dir + "scenes.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scenes.txt'
Exporting troops data
Traceback (most recent call last):
  File "process_troops.py", line 107, in <module>
    save_troops()
  File "process_troops.py", line 13, in save_troops
    file = open(export_dir + "troops.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/troops.txt'
Exporting particle data...
Traceback (most recent call last):
  File "process_particle_sys.py", line 61, in <module>
    save_particle_systems()
  File "process_particle_sys.py", line 29, in save_particle_systems
    ofile = open(export_dir + "particle_systems.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/particle_systems.txt'
Exporting scene props...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scene_props.py", line 32, in <module>
    save_scene_props(variables,variable_uses,tag_uses,quick_strings)
  File "process_scene_props.py", line 10, in save_scene_props
    ofile = open(export_dir + "scene_props.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scene_props.txt'
Exporting tableau materials data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_tableau_materials.py", line 31, in <module>
    save_tableau_materials(variables,variable_uses,tag_uses,quick_strings)
  File "process_tableau_materials.py", line 11, in save_tableau_materials
    ofile = open(export_dir + "tableau_materials.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/tableau_materials.txt'
Exporting presentations...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_presentations.py", line 33, in <module>
    save_presentations(variables,variable_uses,tag_uses,quick_strings)
  File "process_presentations.py", line 11, in save_presentations
    ofile = open(export_dir + "presentations.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/presentations.txt'
Exporting party_template data...
Traceback (most recent call last):
  File "process_party_tmps.py", line 46, in <module>
    save_party_templates()
  File "process_party_tmps.py", line 20, in save_party_templates
    file = open(export_dir + "party_templates.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/party_templates.txt'
Exporting parties
Creating new tag_uses.txt file...
Traceback (most recent call last):
  File "process_parties.py", line 69, in <module>
    save_parties(parties)
  File "process_parties.py", line 12, in save_parties
    file = open(export_dir + "parties.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/parties.txt'
Exporting quest data...
Traceback (most recent call last):
  File "process_quests.py", line 30, in <module>
    save_quests()
  File "process_quests.py", line 9, in save_quests
    ofile = open(export_dir + "quests.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/quests.txt'
Exporting info_page data...
Traceback (most recent call last):
  File "process_info_pages.py", line 26, in <module>
    save_info_pages()
  File "process_info_pages.py", line 9, in save_info_pages
    ofile = open(export_dir + "info_pages.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/info_pages.txt'
Exporting scripts...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_scripts.py", line 40, in <module>
    save_scripts(variables,variable_uses,scripts,tag_uses,quick_strings)
  File "process_scripts.py", line 10, in save_scripts
    file = open(export_dir + "scripts.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/scripts.txt'
Exporting mission_template data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_mission_tmps.py", line 64, in <module>
    save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
  File "process_mission_tmps.py", line 38, in save_mission_templates
    file = open(export_dir + "mission_templates.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/mission_templates.txt'
Exporting game menus data...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_game_menus.py", line 47, in <module>
    save_game_menus(variables,variable_uses,tag_uses,quick_strings)
  File "process_game_menus.py", line 22, in save_game_menus
    ofile = open(export_dir + "menus.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/menus.txt'
exporting simple triggers...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_simple_triggers.py", line 24, in <module>
    save_simple_triggers(variables,variable_uses,simple_triggers,tag_uses,quick_
strings)
  File "process_simple_triggers.py", line 8, in save_simple_triggers
    file = open(export_dir + "simple_triggers.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/simple_triggers.txt'
exporting triggers...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
  File "process_dialogs.py", line 199, in <module>
    save_triggers(variables,variable_uses,triggers,tag_uses,quick_strings)
  File "process_dialogs.py", line 47, in save_triggers
    file = open(export_dir + "triggers.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/triggers.txt'
Checking global variable usages...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Exporting postfx_params...
Traceback (most recent call last):
  File "process_postfx.py", line 27, in <module>
    write_postfx_params(postfx_params)
  File "process_postfx.py", line 13, in write_postfx_params
    ofile = open(export_dir + "postfx.txt","w")
IOError: [Errno 2] No such file or directory: 'C:/Programme (x86)/Mount&Blade Wa
rband/Modules/Newmod/postfx.txt'

______________________________

Script processing has ended.
Press any key to exit. . .
i hope someone can help me thanks
Welcome in our little modding community!

First thing: Please use spoilers when the message is getting long, at least for the error report :wink:

Second: Did you make use of the 'Ultimate Introduction to Modding' guide?
https://forums.taleworlds.com/index.php/topic,240255.0.html
It's explaining every little step, you might have missed one.
 
Thanks! and yes i have read the Ultimate Introduction i followed each step, i suspect its because my Windows is in german although i dont know if thats it.
and sorry i didnt know that i have to mark it as a spoiler
 
Heinzketchup said:
Thanks! and yes i have read the Ultimate Introduction i followed each step, i suspect its because my Windows is in german although i dont know if thats it.
and sorry i didnt know that i have to mark it as a spoiler
My Windows is also in German, this is not causing the problem ^^
Use as default language for these programmes english though. And I would suggest you to read carefully every step again and redo it. Sometimes people miss a little step and don't notice it.
 
Heinzketchup said:
Thanks! and yes i have read the Ultimate Introduction i followed each step, i suspect its because my Windows is in german although i dont know if thats it.
and sorry i didnt know that i have to mark it as a spoiler

check that thread discussions on Windows permission issues and workarounds for testing. Like using a folder on your Desktop, etc. You will need to check not just the tutorial (first post), but the others as well (start from the last page and read it back until you find something that matches your case).
 
Heinzketchup said:
YAY i got it to work after i edited it with Notepad++ i was using sublime text before, thanks for the help guys

just so you know you can use SublimeText, in case you want to dig deeper... IF you want to use Notepad++ then make sure to use the Explorer plugin (or similar) to make it easier to work with multiple files at once.
 
Status
Not open for further replies.
Back
Top Bottom