I created my own troop on NW and gave it a list of weapons but every time I respawn I stay with the same weapon.
I want the troop to work exactly as partizani in NW
Thanks in advance
So you added several items to the unit in troops.py
(like I believe you already did). Now here comes the script part.
search (ctrl + F) for the comment line '# And randomise your item selection ^^
You should see this:
(try_begin), # And randomise your item selection ^^
Then you should copy the line '(this_or_next|eq,":my_troop_id","trp_russian_partizan"),
' under itself and change the trp_russian_partizan
with your unit (remember the trp_ prefix).
What file / setting changes the musket and cannon volume of distant sounds in NW? I want to make them a tiny bit louder so you can hear them in the distance a bit better.
I think maybe in scripts.py
at the script: # script_multiplayer_server_play_sound_at_position
But I don't really know... honestly I never really noticed distant sounds in the game anyway...