Author Topic: Have a question about Modding? Ask Here!  (Read 239990 times)

0 Members and 1 Guest are viewing this topic.

Offline usnavy30

  • Colonel
  • *
  • Posts: 1966
  • Former Freelance Modder
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1800 on: February 03, 2021, 06:30:55 pm »
How to add a new multiplayer mode, like invasion into NW?
This requires scripting: custom scripts written of code to add functionality for a new game mode. A lot of work involved, I would imagine. It is not a simple endeavor. One would have to learn how to code first, and then seek to learn scripting or finding a scripter.

Hi, I recently followed Naveys guide on implementing fixing and unfixing bayonets. https://www.fsegames.eu/forum/index.php?topic=17793.msg733177#msg733177
I got it to work and now I'm wondering how to implement dropping or removing the little butter-swords that are meant to attach as bayonets when a bayonet is attached.
I'm only learning so an explanation would be nice if possible, Thanks
Well I'm glad to check the forum again on this occasion. Hello, I created that tutorial thread. The way it works, if I recall, we created multiple lines of code in module_items.py file of the Module System where we had separate models and item codes for fixed bayoneted muskets and muskets without bayonets (including the ranged and melee versions, as the tutorial shows). The bayonets were visual, in the sense they were not their own item code for the feature. If you are referring to the butter-swords that some infantry classes carry, those are separate items for melee weapons in the module_items file. You would need a custom script to auto-drop a bayonet when a certain action is triggered (such as switching weapons). I am not sure if there is a similar script to use as a base for this idea. It's been a long time. Hope this helps.

Edit: I did not see at first that this post was from July of last year.
« Last Edit: February 19, 2021, 07:45:10 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 Checkers

  • Volunteer
  • *
  • Posts: 1
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1801 on: February 28, 2021, 09:15:37 pm »
Hello! I wanted to ask why it isn't / how it could be possible to add new factions to Napoleonic Wars.
I tried adding one but it calls it "kingdoms_end" instead of my given string yet it still adds the units to the rooster.

Thanks in advance for pointing me towards an answer or helping me understand :)

Offline Hinanawi

  • Volunteer
  • *
  • Posts: 3
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1802 on: March 03, 2021, 11:37:24 am »
How to create a new cannon?

Offline Hinanawi

  • Volunteer
  • *
  • Posts: 3
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1803 on: April 07, 2021, 06:19:48 am »
How to apply a function that admin can set players' view. Like force players stick to team members' view, but admin has free view also can decide which player can has what kind of view? What opercode I can use or how to apply it? Please help.

Offline wesleykuhn

  • Volunteer
  • *
  • Posts: 2
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1804 on: June 14, 2021, 04:30:08 am »
Hello friends! I'm working on a project where I'm merging NW with PW (Persistent World). Because of the complexity, I'm migrating NW to the PW source code. I don't wanna players, without the NW bought, playing this mod, because it's illegal (I'm using all the resources, sounds, musics, etc, of NW). My question is: Is there some mechanism on the NW where it checks if the player own the mod? I saw that there's a installer maker with the source files. Does this installer maker generate this key validation?

Many thanks, for the attention!
« Last Edit: June 14, 2021, 04:32:24 am by wesleykuhn »

Offline Woeski

  • Second Lieutenant
  • *
  • Posts: 231
  • (2Ch) - DDB - Mamluk
    • View Profile
    • 2Ch & BACM regiment
  • Nick: Woeski
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1805 on: June 19, 2021, 10:40:58 pm »
Hello friends! I'm working on a project where I'm merging NW with PW (Persistent World). Because of the complexity, I'm migrating NW to the PW source code. I don't wanna players, without the NW bought, playing this mod, because it's illegal (I'm using all the resources, sounds, musics, etc, of NW). My question is: Is there some mechanism on the NW where it checks if the player own the mod? I saw that there's a installer maker with the source files. Does this installer maker generate this key validation?

Many thanks, for the attention!

Yes you have to use the official installer files and they check the key, however I can't really find them at the moment.

Hello! I wanted to ask why it isn't / how it could be possible to add new factions to Napoleonic Wars.
I tried adding one but it calls it "kingdoms_end" instead of my given string yet it still adds the units to the rooster.

Thanks in advance for pointing me towards an answer or helping me understand :)

This might be helpful.
http://forums.taleworlds.com/index.php/topic,116286.0.html

Offline Coldstreamer

  • First Lieutenant
  • *
  • Posts: 1602
  • Proud Gay Conservative, and leader of the RegduRoi
    • View Profile
    • My Youtube Channel
  • Nick: "J-Man11"
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1806 on: June 21, 2021, 03:40:10 pm »
I seem have to missed something here.  For the grenadier unit here, it has Vistula pants attached to it?  But I don't want those, I want the custom ones you can see in the darker colour behind it.  See the image below, any help is welcome.  I've tried to see if I can remove the pants, but can't find where to do that..  Also, I've noticed the uniforms are "glowing", like they don't have shaders, any help is welcome here!


Offline wesleykuhn

  • Volunteer
  • *
  • Posts: 2
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1807 on: June 23, 2021, 01:59:37 pm »
Hello friends! I'm working on a project where I'm merging NW with PW (Persistent World). Because of the complexity, I'm migrating NW to the PW source code. I don't wanna players, without the NW bought, playing this mod, because it's illegal (I'm using all the resources, sounds, musics, etc, of NW). My question is: Is there some mechanism on the NW where it checks if the player own the mod? I saw that there's a installer maker with the source files. Does this installer maker generate this key validation?

Many thanks, for the attention!

Yes you have to use the official installer files and they check the key, however I can't really find them at the moment.

Hello! I wanted to ask why it isn't / how it could be possible to add new factions to Napoleonic Wars.
I tried adding one but it calls it "kingdoms_end" instead of my given string yet it still adds the units to the rooster.

Thanks in advance for pointing me towards an answer or helping me understand :)

This might be helpful.
http://forums.taleworlds.com/index.php/topic,116286.0.html

Thank you very much my friend!!