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

0 Members and 1 Guest are viewing this topic.

Offline Gokiller

  • Almost Pride of Ni
  • Major General
  • **
  • Posts: 3913
  • Bydand in the chat lads!
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #105 on: February 28, 2018, 11:12:30 am »
hey i have a question if this thread is still being operated?

Why would it have the be?

Offline Papagiorgis

  • Volunteer
  • *
  • Posts: 10
  • Maniaki is life!
    • View Profile
    • My mod page
  • Nick: Papagiorgis
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #106 on: May 15, 2018, 08:53:41 pm »
I am getting these kind of errors, I have problem with the Step 2 and Environment Variables. I am using windows 10.

It doesnt appear the number 7 in the screenshot of step 2 like that I have another panel with more variables and idk what to do.

Spoiler
  File "process_init.py", line 5
    print "Initializing..."
                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Initializing...")?
  File "process_global_variables.py", line 23
    add_variable(varb, variable_list, variable_uses)
                                                   ^
TabError: inconsistent use of tabs and spaces in indentation
  File "process_strings.py", line 24
    print "Exporting strings..."
                               ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting strings...")?
  File "process_skills.py", line 30
    print "Exporting skills..."
                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting skills...")?
  File "process_music.py", line 21
    print "Exporting tracks..."
                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting tracks...")?
  File "process_animations.py", line 58
    print "Exporting animations..."
                                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting animations...")?
  File "process_meshes.py", line 23
    print "Exporting meshes..."
                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting meshes...")?
  File "process_sounds.py", line 49
    print "Exporting sounds..."
                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting sounds...")?
  File "process_skins.py", line 104
    print "Exporting skins..."
                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting skins...")?
  File "process_map_icons.py", line 32
    print "Exporting map icons..."
                                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting map icons...")?
  File "process_factions.py", line 27
    print "ERROR faction not found: "+ rel_name
                                    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "ERROR faction not found: "+ rel_name)?
  File "process_items.py", line 60
    print "Exporting item data..."
                                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting item data...")?
  File "process_scenes.py", line 12
    print "Exporting scene data..."
                                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scene data...")?
  File "process_troops.py", line 104
    print "Exporting troops data"
                                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting troops data")?
  File "process_particle_sys.py", line 60
    print "Exporting particle data..."
                                     ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting particle data...")?
  File "process_scene_props.py", line 26
    print "Exporting scene props..."
                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scene props...")?
  File "process_tableau_materials.py", line 25
    print "Exporting tableau materials data..."
                                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting tableau materials data...")?
  File "process_presentations.py", line 27
    print "Exporting presentations..."
                                     ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting presentations...")?
  File "process_party_tmps.py", line 28
    print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0]
                                                       ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0])?
  File "process_parties.py", line 28
    print "Error: Unable to find menu-id :" + menu_param
                                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "Error: Unable to find menu-id :" + menu_param)?
  File "process_quests.py", line 29
    print "Exporting quest data..."
                                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting quest data...")?
  File "process_info_pages.py", line 25
    print "Exporting info_page data..."
                                      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting info_page data...")?
  File "process_scripts.py", line 41
    print "Exporting scripts..."
                               ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scripts...")?
  File "process_mission_tmps.py", line 29
    print "ERROR: Too many item_overrides!"
                                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "ERROR: Too many item_overrides!")?
  File "process_game_menus.py", line 41
    print "Exporting game menus data..."
                                       ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting game menus data...")?
  File "process_simple_triggers.py", line 19
    print "exporting simple triggers..."
                                       ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("exporting simple triggers...")?
  File "process_dialogs.py", line 92
    print sentence[ipt_token_pos]
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print sentence[ipt_token_pos])?
  File "process_global_variables_unused.py", line 6
    print "Checking global variable usages..."
                                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Checking global variable usages...")?
  File "process_postfx.py", line 26
    print "Exporting postfx_params..."
                                     ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting postfx_params...")?
Could Not Find C:\Users\Αλέξης\Desktop\Napoleonic Wars Sourcecode\Sourcecode\mm dev - MS\*.pyc

______________________________

Script processing has ended.
Press any key to exit. . .
[close]
Όταν σηκώσαμεν την σημαίαν εναντίον της τυραγνίας ξέραμεν ότι είναι πολλοί αυτείνοι και μαχητικοί κι’ έχουν και κανόνια κι’ όλα τα μέσα. Εμείς σε ούλα

είμαστε αδύνατοι. Όμως ο Θεός φυλάγει και τους αδύνατους, κι’ αν πεθάνωμεν πεθαίνομεν δια την Πατρίδα μας, δια την Θρησκείαν μας και πολεμούμεν όσο μπορούμε εναντίον της τυραγνίας κι’ ο Θεός βοηθός…

Offline Woeski

  • First Lieutenant
  • *
  • Posts: 234
  • (2Ch) - DDB - Mamluk
    • View Profile
    • 2Ch & BACM regiment
  • Nick: Woeski
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #107 on: July 20, 2018, 04:28:07 pm »
hey i have a question if this thread is still being operated?

I don't think so. The creator told us he had few time to continue editting the tutorial.

Offline Swedyx

  • Private
  • *
  • Posts: 5
    • View Profile
  • Side: Neutral
Re: Napoleonic Wars basic modding Tutorial.
« Reply #108 on: July 20, 2020, 03:26:00 pm »
Really nice tutorial, thank you for sharing!  ;)

Offline Coldstreamer

  • First Lieutenant
  • *
  • Posts: 1661
  • Leader of 1er Suisse, Ski Instructor, Paintballer
    • View Profile
    • My Youtube Channel
  • Nick: J-Man11
  • Side: Union
Re: Napoleonic Wars basic modding Tutorial.
« Reply #109 on: January 13, 2021, 12:50:09 am »
Shame this never continued, I want to make custom uniforms :(

Offline Lilja Mariasdóttir

  • Colonel
  • *
  • Posts: 2013
  • Ist ein Schaf in einer Tasse
    • View Profile
  • Side: Confederacy
Re: Napoleonic Wars basic modding Tutorial.
« Reply #110 on: January 24, 2021, 12:32:21 pm »
Maybe a moderator can edit the link in the first post from 1.104 Module System to the 1.210 Moduly System:

From this
Step 3

Now that this is done we can get onto the code. If you haven't already, download the Napoleonic Wars module system.
www.fsegames.eu/mb_warband_napoleonic_wars_source_1104.zip
Extract the ZIP folder, giving you a regular folder named "mb_warband_napoleonic_wars_source_1104". Enter this folder and find your way to the folder called "mm dev - MS" following this directory "C:\Users\Will\Downloads\mb_warband_napoleonic_wars_source_1104\Napoleonic Wars Sourcecode\Sourcecode\mm dev - MS"

To this:
Code
[center][b]Step 3[/b][/center]

Now that this is done we can get onto the code. If you haven't already, download the Napoleonic Wars module system.
[url=http://download.taleworlds.com/mb_warband_napoleonic_wars_source_1210.zip]download.taleworlds.com/mb_warband_napoleonic_wars_source_1210.zip[/url]
Extract the ZIP folder, giving you a regular folder named "mb_warband_napoleonic_wars_source_1210". Enter this folder and find your way to the folder called "mm dev - MS" following this directory "C:\Users\Will\Downloads\mb_warband_napoleonic_wars_source_1210\Napoleonic Wars Sourcecode\Sourcecode\mm dev - MS"

People getting into modding get confused a lot, because they get a lot of errors and their first mod not working, so I assume thats an important edit.
« Last Edit: January 24, 2021, 01:12:40 pm by Lilja Mariasdóttir »
Seehofer schafft das Heer ab.

Norwegian13

  • Guest
Re: Napoleonic Wars basic modding Tutorial.
« Reply #111 on: January 24, 2021, 01:10:13 pm »
Maybe a moderator can edit the link in the first post from 1.104 Module System to the 1.210 Moduly System:

From this
Step 3

Now that this is done we can get onto the code. If you haven't already, download the Napoleonic Wars module system.
www.fsegames.eu/mb_warband_napoleonic_wars_source_1104.zip
Extract the ZIP folder, giving you a regular folder named "mb_warband_napoleonic_wars_source_1104". Enter this folder and find your way to the folder called "mm dev - MS" following this directory "C:\Users\Will\Downloads\mb_warband_napoleonic_wars_source_1104\Napoleonic Wars Sourcecode\Sourcecode\mm dev - MS"

To this:
Code
[center][b]Step 3[/b][/center]

Now that this is done we can get onto the code. If you haven't already, download the Napoleonic Wars module system.
[url=http://download.taleworlds.com/mb_warband_napoleonic_wars_source_1210.zip]download.taleworlds.com/mb_warband_napoleonic_wars_source_1210.zip[/url]
Extract the ZIP folder, giving you a regular folder named "mb_warband_napoleonic_wars_source_1104". Enter this folder and find your way to the folder called "mm dev - MS" following this directory "C:\Users\Will\Downloads\mb_warband_napoleonic_wars_source_1210\Napoleonic Wars Sourcecode\Sourcecode\mm dev - MS"

People getting into modding get confused a lot, because they get a lot of errors and their first mod not working, so I assume thats an important edit.

The version has been updated to the newest one in the main post. Thank you :)