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

0 Members and 1 Guest are viewing this topic.

Offline wiener_snitzel

  • Sergeant Major
  • *
  • Posts: 117
    • View Profile
  • Nick: 32nd_Gdm_Wiener_Snitzel
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1575 on: December 11, 2016, 02:26:50 pm »
Ty Grozni that fixed.  ;D

Offline wiener_snitzel

  • Sergeant Major
  • *
  • Posts: 117
    • View Profile
  • Nick: 32nd_Gdm_Wiener_Snitzel
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1576 on: December 11, 2016, 05:25:21 pm »
Does anyone know how too add shields into NW ?

Offline Rojoyerf

  • Sergeant Major
  • *
  • Posts: 250
  • A Nigarian Prince with a large inheritance
    • View Profile
  • Nick: [43rdQL]Col_Rojoyerf
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1577 on: December 14, 2016, 12:23:06 am »
Hello I've been making some visual mods recently in NW and am wondering if I can add extra keybinds to trigger custom animations, the help would be much appreciated.


Edit: Also as a side note how would I go about creating a script to change the hat the 'ze treasure' gives you depending on its variable numbers (server side)?
« Last Edit: December 14, 2016, 11:16:03 am by Rojoyerf »
Credits to Bonzo for the footer

Offline wiener_snitzel

  • Sergeant Major
  • *
  • Posts: 117
    • View Profile
  • Nick: 32nd_Gdm_Wiener_Snitzel
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1578 on: December 14, 2016, 05:25:32 pm »
Im making an animation where a dude stand like this with his musket
Spoiler
[close]
I looks great in Blender but when i export it his right arm does this...
Spoiler
[close]

Is there somethin i need too know about the right arm or what is going on here? everything else is in place besides that  arm  ??? ?

Offline Grozni

  • Second Lieutenant
  • *
  • Posts: 308
    • View Profile
  • Nick: RRA_10thRH_SoH_Grozni
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1579 on: December 14, 2016, 05:45:58 pm »
Best I can think of so far:
-Did you try viewing other frames past 1st one of that animation in openBRF?
-Is that custom clothes? If yes maybe it's rigging is not done well for the right arm, did you try other animations on same model?
-Did you use any other operations on joints except rotation? On bones you should use only rotation, translation works on root bone only, otherwise you may end up with some silly looking results.


Offline wiener_snitzel

  • Sergeant Major
  • *
  • Posts: 117
    • View Profile
  • Nick: 32nd_Gdm_Wiener_Snitzel
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1580 on: December 14, 2016, 06:02:47 pm »
Best I can think of so far:
-Did you try viewing other frames past 1st one of that animation in openBRF?
-Is that custom clothes? If yes maybe it's rigging is not done well for the right arm, did you try other animations on same model?
-Did you use any other operations on joints except rotation? On bones you should use only rotation, translation works on root bone only, otherwise you may end up with some silly looking results.

I did view the hole animation and the arm is jut hanging there, and only rotated th joints, and used the native skeleton too make it.

So i dont know, tried remaking 3 times and the darn arm is poking out everytime lol.

Solved -  i had to "bake" that animation before rendering.
« Last Edit: December 15, 2016, 09:29:48 pm by wiener_snitzel »

Offline Ivkolya

  • Sergeant Major
  • *
  • Posts: 333
    • View Profile
  • Nick: Ivkolya
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1581 on: December 28, 2016, 12:05:56 am »
Hi all, I didn't play NW for a long-long time, and today I was very much pleased to see musicians and colour-bearers in the commender batle mode:) That's awesome news, I planned to add them to my mod somehow, and here we are:)
Is there already module system, which contains this feature? So I can add them to commander battle mode in my mod too:)
I'm soooo excited to see this:)
« Last Edit: December 28, 2016, 12:25:05 am by Ivkolya »

Offline Rojoyerf

  • Sergeant Major
  • *
  • Posts: 250
  • A Nigarian Prince with a large inheritance
    • View Profile
  • Nick: [43rdQL]Col_Rojoyerf
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1582 on: December 28, 2016, 07:41:36 pm »
Hello everyone, I was wondering if I could have some help with editing spawn points, I want to make it so either:
A: certain people spawn at certain entry points
or B: certain types of troop spawn at certain entry points

any help would be much appreciated :)
Credits to Bonzo for the footer

Offline Varrak

  • Volunteer
  • *
  • Posts: 4
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1583 on: December 30, 2016, 09:34:32 pm »
Hello guys, i made a small add-on on NW, which is here;

https://mega.nz/#!L14QzSoB!KHHxDBYAUiD9t8HaH7LH9he6Lr2M6P02sVat6qrUWnw

But the problem is, i know nothing about dedicated servers and so on. How can i config dedicated servers for my add-on? If i put all add-on files into current dedicated server's Napoleonic Wars folder, will it work? Can anyone make a dedicated server file for me?  ;D
« Last Edit: December 30, 2016, 09:38:21 pm by Varrak »

Offline Grozni

  • Second Lieutenant
  • *
  • Posts: 308
    • View Profile
  • Nick: RRA_10thRH_SoH_Grozni
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1584 on: December 30, 2016, 11:13:25 pm »
Hello guys, i made a small add-on on NW, which is here;

https://mega.nz/#!L14QzSoB!KHHxDBYAUiD9t8HaH7LH9he6Lr2M6P02sVat6qrUWnw

But the problem is, i know nothing about dedicated servers and so on. How can i config dedicated servers for my add-on? If i put all add-on files into current dedicated server's Napoleonic Wars folder, will it work? Can anyone make a dedicated server file for me?  ;D

Yes, if your add-on is compiled into Napoleonic Wars folder (which you should do only if you're making server-side scripts compatible with standard NW client), then all you have to do is overwrite the files in Modules/Napoleonic Wars on dedicated server with your altered files. If you got some custom maps on the server, do not overwrite scenes.txt, but you should overwrite all other files.

Offline Varrak

  • Volunteer
  • *
  • Posts: 4
    • View Profile
Re: Have a question about Modding? Ask Here!
« Reply #1585 on: December 31, 2016, 12:02:13 am »
Yes, if your add-on is compiled into Napoleonic Wars folder (which you should do only if you're making server-side scripts compatible with standard NW client), then all you have to do is overwrite the files in Modules/Napoleonic Wars on dedicated server with your altered files. If you got some custom maps on the server, do not overwrite scenes.txt, but you should overwrite all other files.

Oh thank you for the answer sir! Can i ask you something? Before the release, i want to be sure if mod works well in the server. But i cannot port forwarding with my modem (i mean it seems like port forwarded, but when i check 7240 port it looks closed). Can you help me to test it?  :)

Offline cwca

  • Volunteer
  • *
  • Posts: 11
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1586 on: January 07, 2017, 05:32:51 pm »
So I am quite new to modding, and I have made a British 28th soldier. However, although I have edited the flags of the material to 2120 (transparency changed), There is no black box around the model in OpenBRF, but as soon as I am in game, it kind of goes black again...
Any ideas?
Thanks.

P.S. How do I put pictures in to show you?
« Last Edit: January 07, 2017, 05:41:50 pm by cwca »

Offline Dazzer

  • Donator
  • *
  • Posts: 5690
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1587 on: January 08, 2017, 01:09:12 pm »
So I am quite new to modding, and I have made a British 28th soldier. However, although I have edited the flags of the material to 2120 (transparency changed), There is no black box around the model in OpenBRF, but as soon as I am in game, it kind of goes black again...
Any ideas?
Thanks.

P.S. How do I put pictures in to show you?
The texture has to be in DXT5 format



Does anybody know what this error means and how to fix him?

Exporting mission_template data...
WARNING: Local variable never used: player_class, at: 0
WARNING: Local variable never used: agent_troop_id, at: 0

I already asked on Taleworlds but no luck
« Last Edit: January 08, 2017, 01:15:26 pm by Dazzer »

Offline cwca

  • Volunteer
  • *
  • Posts: 11
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1588 on: January 14, 2017, 02:59:32 pm »
So I am quite new to modding, and I have made a British 28th soldier. However, although I have edited the flags of the material to 2120 (transparency changed), There is no black box around the model in OpenBRF, but as soon as I am in game, it kind of goes black again...
Any ideas?
Thanks.

P.S. How do I put pictures in to show you?
The texture has to be in DXT5 format



Does anybody know what this error means and how to fix him?

Exporting mission_template data...
WARNING: Local variable never used: player_class, at: 0
WARNING: Local variable never used: agent_troop_id, at: 0

I already asked on Taleworlds but no luck


did you change anything?

Also, I have another problem!
how do I create shading for the textures? for example, when I stand under a tree, the texture stays the same?

Offline Dazzer

  • Donator
  • *
  • Posts: 5690
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1589 on: January 15, 2017, 03:26:25 pm »
Its probably a shader problem. Assign shader to material