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

0 Members and 1 Guest are viewing this topic.

Offline cwca

  • Volunteer
  • *
  • Posts: 11
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1590 on: January 23, 2017, 07:39:40 pm »
Its probably a shader problem. Assign shader to material

could you perhaps elaborate on that please?



I also have an error on OpenBRF, it says this when I start it up:

"Error reading custom shader:
 0(5) : error C0204: version directive must be first statement and may not be repeated"

perhaps this is why the shading doesn't work?


« Last Edit: January 24, 2017, 10:07:17 pm by cwca »

AeroNinja

  • Guest
Re: Have a question about Modding? Ask Here!
« Reply #1591 on: January 28, 2017, 08:18:29 pm »
How do I add more smoke that comes out the muskets?

In which files and what do I have to do in them? :c

AeroNinja

  • Guest
Re: Have a question about Modding? Ask Here!
« Reply #1592 on: January 29, 2017, 12:57:16 pm »
How do I add more smoke that comes out the muskets?

In which files and what do I have to do in them? :c
bump

Offline Grozni

  • Second Lieutenant
  • *
  • Posts: 308
    • View Profile
  • Nick: RRA_10thRH_SoH_Grozni
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1593 on: January 29, 2017, 02:10:04 pm »
How do I add more smoke that comes out the muskets?

In which files and what do I have to do in them? :c
bump

Smoke is made of particles. Particles are defined in modules_particles_system.py . Name of particle system you are looking for is probably musket_smoke . Read top of that file for more info on what values do, you would probably want to increase num_particles but there is no guarantee changing that value alone will produce the result you expect, so play around with other values as well. Maybe increasing alpha (reducing transparency) would bring better results

Code
([start in seconds], [alpha value at start]), ([end in seconds], [alpha value at end]),       #alpha keys


AeroNinja

  • Guest
Re: Have a question about Modding? Ask Here!
« Reply #1594 on: January 29, 2017, 02:11:33 pm »
Nice thanks. But any clues on how to do do it? Do I just have to do it in the textfile or is it with that python program? Never really worked with it.

Offline Grozni

  • Second Lieutenant
  • *
  • Posts: 308
    • View Profile
  • Nick: RRA_10thRH_SoH_Grozni
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1595 on: January 29, 2017, 02:19:59 pm »
You can just change particle_systems.txt , if all you want to do is make client-side change for your game. Otherwise look for basic modding getting started tutorials.

AeroNinja

  • Guest
Re: Have a question about Modding? Ask Here!
« Reply #1596 on: January 29, 2017, 02:21:17 pm »
Yeah it is just for myself. Thanks a lot. :)

I'm going to look into it right now :D

Well I got this but I don't know what to change :c

Spoiler
psys_musket_smoke 12800 prtcl_dust_a  75 22.000000 2.000000 -0.006040 90.000000 3.300000
0.000000 0.450000   0.449000 0.000000
0.000000 0.990000   1.000000 0.990000
0.000000 0.990000   1.000000 0.990000
0.000000 0.990000   1.000000 0.990000
-0.010000 3.450000   0.500000 12.700000
0.050000 0.050000 0.050000   0.000000 5.600000 0.000000   0.850000
90.000000 0.250000
[close]
« Last Edit: January 29, 2017, 02:23:17 pm by NiPhix »

Offline Grozni

  • Second Lieutenant
  • *
  • Posts: 308
    • View Profile
  • Nick: RRA_10thRH_SoH_Grozni
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1597 on: January 29, 2017, 03:01:36 pm »
To start you off, download the module system https://www.fsegames.eu/mb_warband_napoleonic_wars_source_1104.zip and compare module_particle_systems.py with particle_systems.txt . The .txt file is a compiled version of .py file. But .txt file is still humanly readable which is why you can "mod" by editing it. Read through all the comments in .py file (lines starting with # are comments), compare musket smoke entry with the one in .txt file, and things will start to become more clear.

AeroNinja

  • Guest
Re: Have a question about Modding? Ask Here!
« Reply #1598 on: January 29, 2017, 03:06:40 pm »
alright thanks. :)

Offline Johny_Nawalony

  • First Lieutenant
  • *
  • Posts: 762
    • View Profile
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1599 on: January 29, 2017, 03:46:00 pm »
Some plants and trees started to look like this in my game
Spoiler
[close]
Does anyone know how to fix it?
I can do paid skin comissions so yeah msg if ya want one

Offline cwca

  • Volunteer
  • *
  • Posts: 11
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1600 on: January 30, 2017, 12:09:59 am »
Some plants and trees started to look like this in my game
Spoiler
[close]
Does anyone know how to fix it?

Have you changed anything?

Offline Ivkolya

  • Sergeant Major
  • *
  • Posts: 333
    • View Profile
  • Nick: Ivkolya
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1601 on: January 30, 2017, 05:30:06 pm »
Some plants and trees started to look like this in my game
Spoiler
[close]
Does anyone know how to fix it?

If it's not a mod and standart version of game - try to check the integrity of the cache in properties of game in steam, some of files could be missing or corrupted

Offline Ivkolya

  • Sergeant Major
  • *
  • Posts: 333
    • View Profile
  • Nick: Ivkolya
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1602 on: January 30, 2017, 05:35:12 pm »
Today there was weird bug - my mod crashed with an error, some shader couldn't be compilated or something like that. I fixed the problem with replacing file mm_shaders.brf from standart NW, but why this problem could occur? Very odd.

And I asked this already, but noone answered - can I download somewhere new module system for Napoleonic Wars, with musicians and colour-bearers in Commander Battle mode?
« Last Edit: January 30, 2017, 06:05:15 pm by Ivkolya »

Offline Ivkolya

  • Sergeant Major
  • *
  • Posts: 333
    • View Profile
  • Nick: Ivkolya
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1603 on: January 30, 2017, 05:41:23 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  ??? ?

https://www.fsegames.eu/forum/index.php?topic=5396.0 here is Raddeo's workshop, he made that animation already, search for "marching animation 2"

Offline Dazzer

  • Donator
  • *
  • Posts: 5690
    • View Profile
  • Side: Union
Re: Have a question about Modding? Ask Here!
« Reply #1604 on: January 30, 2017, 07:41:18 pm »
Wait, there is a new module system?