Author Topic: Napoleonic Wars basic modding Tutorial.  (Read 33453 times)

0 Members and 1 Guest are viewing this topic.

Offline JohannBrahms

  • Sergeant
  • *
  • Posts: 101
  • benis
    • View Profile
  • Nick: Big Memer IV U
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #90 on: October 17, 2015, 07:28:39 pm »
You should copy Napoleonic Wars folder and rename that copy to mymod, the reason you do not see it in Module selection is because it is missing the critical component, the module.ini file. So text files do not make the mod workable itself.
This worked. Thanks.

Offline usnavy30

  • Colonel
  • *
  • Posts: 1900
  • Former Freelance Modder
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #91 on: October 17, 2015, 07:35:42 pm »
No problem. Have fun  :)
How To Run A Mod Installer.exe
Quote
Hello.. I have a problem... It says I don't have Mount&Blade Warband: Napoleonic War and I have to buy it
Try joining a regular Napoleonic Wars server and then re-running the installer.

Offline Johny_Nawalony

  • First Lieutenant
  • *
  • Posts: 670
    • View Profile
  • Side: Confederacy
Re: Napoleonic Wars basic modding Tutorial.
« Reply #92 on: December 09, 2015, 06:40:13 pm »
Is there a way to make ogg. louder in-game?

Spoiler

Offline Pandur

  • Volunteer
  • *
  • Posts: 14
    • View Profile
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #93 on: December 09, 2015, 10:22:55 pm »
Is there a way to make ogg. louder in-game?
Dowbload sound editor and make it louder..Easy as that:)

Offline greatscot

  • First Lieutenant
  • *
  • Posts: 478
  • shadilay
    • View Profile
  • Nick: Greatscot
  • Side: Confederacy
Re: Napoleonic Wars basic modding Tutorial.
« Reply #94 on: December 24, 2015, 12:01:17 pm »
great tutorial!

Offline Jack

  • First Lieutenant
  • *
  • Posts: 391
  • Honneur et Fidélité
    • View Profile
  • Nick: Roudrac
  • Side: Confederacy
Re: Napoleonic Wars basic modding Tutorial.
« Reply #95 on: February 13, 2016, 01:00:16 am »
Great tutorial ! :)
« Last Edit: February 15, 2016, 02:08:22 am by Jack »
"For fangs I may have none but I have mind and it is sharper than any tooth."

Offline cwca

  • Volunteer
  • *
  • Posts: 11
    • View Profile
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #96 on: June 16, 2016, 08:59:14 pm »
hello, this tutorial works great! however, how do I give the units a custom skin?
I have created a skin called 'british_64th_ranker.dds' but when I assign the unit the uniform ( [itm_british_64th_ranker,...]) it doesn't work! it says that it is invalid! please  help!

Offline wiener_snitzel

  • Sergeant Major
  • *
  • Posts: 117
    • View Profile
  • Nick: 32nd_Gdm_Wiener_Snitzel
  • Side: Confederacy
Re: Napoleonic Wars basic modding Tutorial.
« Reply #97 on: December 09, 2016, 02:19:20 pm »
Im trying to change a unit in a complete overhaul, but i keep spawning naked and get the anti cheat thing pop up, does anyone know why?


edit - Nevermind
« Last Edit: December 16, 2016, 11:49:48 pm by wiener_snitzel »

Offline King_George

  • Sergeant
  • *
  • Posts: 74
    • View Profile
  • Nick: King_George
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #98 on: January 16, 2017, 12:16:05 pm »
Hi there,

I'm using Windows 10 and I'm having problems with the 2nd step. I tried to change the the system variables but it didn't work; it won't let me edit anything, I can just add a new line. The last line in the variables is C:\Program Files (x86)\AMD\ATI.ACE\Core-Static and again, I can't edit anything there!

Any help is appriciated! :)

Offline usnavy30

  • Colonel
  • *
  • Posts: 1900
  • Former Freelance Modder
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #99 on: January 16, 2017, 05:49:01 pm »
hello, this tutorial works great! however, how do I give the units a custom skin?
I have created a skin called 'british_64th_ranker.dds' but when I assign the unit the uniform ( [itm_british_64th_ranker,...]) it doesn't work! it says that it is invalid! please  help!
You called the skin/mesh/model british_64th_ranker.dds? Just remove the .dds part of the name. That is only for texture files in Textures folder, and being the file type extension while ONLY used for Tex(ture) tab in openBRF itself when loading new textures.

Hi there,

I'm using Windows 10 and I'm having problems with the 2nd step. I tried to change the the system variables but it didn't work; it won't let me edit anything, I can just add a new line. The last line in the variables is C:\Program Files (x86)\AMD\ATI.ACE\Core-Static and again, I can't edit anything there!

Any help is appriciated! :)

See this tutorial for setting up python
https://forums.taleworlds.com/index.php/topic,240255.0.html

I have not tried to install python on windows 10, but I know from someone it does work for installation. Maybe this windows 10 guide helps for installing python (make sure it is NOT the latest version!)
Quote
I came across a useful guide to install python on windows 10. If modders on windows 10 follow your guide for installing the correct version of python (2.7.5) for Warband, and follow this guide if they need to locate their environment/system variables. The latter part is for eclipse and not needed.

https://www.londonappdeveloper.com/setting-up-your-windows-10-system-for-python-development-pydev-eclipse-python/
« Last Edit: January 16, 2017, 05:52:49 pm by usnavy30 »
How To Run A Mod Installer.exe
Quote
Hello.. I have a problem... It says I don't have Mount&Blade Warband: Napoleonic War and I have to buy it
Try joining a regular Napoleonic Wars server and then re-running the installer.

Offline King_George

  • Sergeant
  • *
  • Posts: 74
    • View Profile
  • Nick: King_George
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #100 on: January 17, 2017, 10:34:49 am »
Tnx for the tips and links; I've "tested" python with the print "Hello World" command so I'd say it works.

Now the next problem I have is this; basiclly it gives me warnings when I run the build.module bat; not sure why since everything should be oke; the path to the folder is correct so I'm not sure what's actually wrong

I've decided not to deal with that, but then the next problem occuared; when I copy/pasted the Line infantry from the Austrian tree to the bottom between the Jager Hornist and the Hussar, and changed what it says to change on the thread, it was all going according to plan, I saved it and run the build.module bat again, but this time, I got even more Warnings; since it said that it was done in the end, I decided to see if it works and it doesn't; basiclly, if anyone can help out again, any help is appriciated! :)

This is what I'm getting in the CMD when I run the build module bat:

Spoiler
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
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $g_destructible_target_1
WARNING: Usage of unassigned global variable: $g_destructible_target_2
WARNING: Usage of unassigned global variable: $g_map_compass
WARNING: Usage of unassigned global variable: $g_map_compass
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $town_nighttime
WARNING: Usage of unassigned global variable: $players_kingdom
WARNING: Usage of unassigned global variable: $g_encountered_party
WARNING: Usage of unassigned global variable: $g_encountered_party
WARNING: Usage of unassigned global variable: $g_encountered_party
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
Checking global variable usages...
WARNING: Global variable never used: welfare_inquired
WARNING: Global variable never used: rumors_inquired
WARNING: Global variable never used: info_inquired
WARNING: Global variable never used: character_gender
WARNING: Global variable never used: g_main_attacker_agent
WARNING: Global variable never used: g_leave_town
WARNING: Global variable never used: g_presentation_obj_admin_panel_35
WARNING: Global variable never used: g_confirmation_troop_backup
WARNING: Global variable never used: g_confirmation_team_backup
WARNING: Global variable never used: g_quick_battle_game_type
WARNING: Global variable never used: g_quick_battle_army_1_size
WARNING: Global variable never used: g_quick_battle_army_2_size
WARNING: Global variable never used: g_close_equipment_selection
WARNING: Global variable never used: g_multiplayer_bot_type_1_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_2_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_3_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_4_wanted
WARNING: Global variable never used: g_number_of_initial_team_1_flags
WARNING: Global variable never used: g_number_of_initial_team_2_flags
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $g_destructible_target_1
WARNING: Global variable never used: $g_destructible_target_2
WARNING: Global variable never used: $g_map_compass
WARNING: Global variable never used: $g_map_compass
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $town_nighttime
WARNING: Global variable never used: $players_kingdom
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .

SOLVED: Not actually 100% sure about it but I probably forgot to put a "\" at the end, next to the Testmod
« Last Edit: January 17, 2017, 11:04:57 pm by King_George »

Offline usnavy30

  • Colonel
  • *
  • Posts: 1900
  • Former Freelance Modder
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #101 on: January 17, 2017, 11:05:54 pm »
Tnx for the tips and links; I've "tested" python with the print "Hello World" command so I'd say it works.

Now the next problem I have is this; basiclly it gives me warnings when I run the build.module bat; not sure why since everything should be oke; the path to the folder is correct so I'm not sure what's actually wrong

I've decided not to deal with that, but then the next problem occuared; when I copy/pasted the Line infantry from the Austrian tree to the bottom between the Jager Hornist and the Hussar, and changed what it says to change on the thread, it was all going according to plan, I saved it and run the build.module bat again, but this time, I got even more Warnings; since it said that it was done in the end, I decided to see if it works and it doesn't; basiclly, if anyone can help out again, any help is appriciated! :)

This is what I'm getting in the CMD when I run the build module bat:

Spoiler
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
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $g_destructible_target_1
WARNING: Usage of unassigned global variable: $g_destructible_target_2
WARNING: Usage of unassigned global variable: $g_map_compass
WARNING: Usage of unassigned global variable: $g_map_compass
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
WARNING: Usage of unassigned global variable: $g_defender_team
WARNING: Usage of unassigned global variable: $town_nighttime
WARNING: Usage of unassigned global variable: $players_kingdom
WARNING: Usage of unassigned global variable: $g_encountered_party
WARNING: Usage of unassigned global variable: $g_encountered_party
WARNING: Usage of unassigned global variable: $g_encountered_party
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $talk_context
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
WARNING: Usage of unassigned global variable: $g_talk_troop
Checking global variable usages...
WARNING: Global variable never used: welfare_inquired
WARNING: Global variable never used: rumors_inquired
WARNING: Global variable never used: info_inquired
WARNING: Global variable never used: character_gender
WARNING: Global variable never used: g_main_attacker_agent
WARNING: Global variable never used: g_leave_town
WARNING: Global variable never used: g_presentation_obj_admin_panel_35
WARNING: Global variable never used: g_confirmation_troop_backup
WARNING: Global variable never used: g_confirmation_team_backup
WARNING: Global variable never used: g_quick_battle_game_type
WARNING: Global variable never used: g_quick_battle_army_1_size
WARNING: Global variable never used: g_quick_battle_army_2_size
WARNING: Global variable never used: g_close_equipment_selection
WARNING: Global variable never used: g_multiplayer_bot_type_1_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_2_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_3_wanted
WARNING: Global variable never used: g_multiplayer_bot_type_4_wanted
WARNING: Global variable never used: g_number_of_initial_team_1_flags
WARNING: Global variable never used: g_number_of_initial_team_2_flags
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $g_destructible_target_1
WARNING: Global variable never used: $g_destructible_target_2
WARNING: Global variable never used: $g_map_compass
WARNING: Global variable never used: $g_map_compass
WARNING: Global variable never used: $g_defender_team
WARNING: Global variable never used: $town_nighttime
WARNING: Global variable never used: $players_kingdom
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_encountered_party
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $talk_context
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
WARNING: Global variable never used: $g_talk_troop
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
Following the tutorial to modify is good, but you want to first check that you can use the module system without any errors after compiling. Your module system with python hooked up should generate new text files that overwrite old ones in the file path you selected in module_info. The date modified on the text files should be current every time you compile from build_module.bat

Try to undo the initial changes you have to ensure your module system works as intended right after you set it up. You should be using the latest version of the Napoleonic Wars source code (mb_warband_napoleonic_wars_source_1104) and not the Native source. Where Python should be version 2.7.5 and not the latest version in order to work with Warband. This tutorial says Python version 2.7.6. but in my case I have used Python 2.7.5. downloaded file named as: python-2.7.5.amd64 And Warband should be version 1.170 on Steam version. Double check your module_info file path as well. And please, have a copy of your NW folder for vanilla version as backup in-case anything goes wrong.

I hope this helps, everytime I have used the NW source code I have never seen that many errors in the CMD.
« Last Edit: January 17, 2017, 11:17:14 pm by usnavy30 »
How To Run A Mod Installer.exe
Quote
Hello.. I have a problem... It says I don't have Mount&Blade Warband: Napoleonic War and I have to buy it
Try joining a regular Napoleonic Wars server and then re-running the installer.

Offline Ukima

  • Private
  • *
  • Posts: 16
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #102 on: September 20, 2017, 03:36:16 am »
I've followed every step, but the test soldier won't appear in the menu?! Despite evertyhing being fine when copying and building the mod. No error is mentioned so it should work, yet the test soldier just isn't there : /

Offline King_George

  • Sergeant
  • *
  • Posts: 74
    • View Profile
  • Nick: King_George
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #103 on: October 16, 2017, 12:33:01 am »
Another problem I have...

This time, everytime I run build_module.bat, it opens as a small window and immedietly closes, can even see if something is being written or not... any help is appriciated! :)