Jump to content
Naval Games Community

Recommended Posts

Posted

I mean, it can be both. The data value could be bad, and the code also be bad. The code calculate armor based on multiplier of the turret weight, rather than surface area. If you can get a better formula for turret weight by all means I am all for it.

I could also settle for just data change too. The code isn't great, but data is also really bad. Bad code and sensible data can still work, even if not good.

  • Like 1
Posted
26 minutes ago, TK3600 said:

I mean, it can be both. The data value could be bad, and the code also be bad. The code calculate armor based on multiplier of the turret weight, rather than surface area. If you can get a better formula for turret weight by all means I am all for it.

I could also settle for just data change too. The code isn't great, but data is also really bad. Bad code and sensible data can still work, even if not good.

Yeah that's true of belt/deck armor as well, and definitely on my list (one reason to care about length/beam ratios and properly-ish calculating wave resistance, is that it gives you the proper tradeoff of increasing hull length leading to lighter engines but heavier armor, the NorCal/SoDak conundrum.

Posted (edited)

I've updated the OP for what this actually is, and updated the bins for NAR beta 11 and 1.5.1.2. Note the screenshot is outdated, you can also control freeboard with a slider.

Edited by NathanKell
Posted
5 hours ago, TK3600 said:

Do you know a way to remove the recent 'barrel erosion' mechanics? You know, high velocity reduce accuracy somehow.

Patch the relevant method(s) with Harmony?

Posted

Does the original post mean that it's possible to mod the current soundfiles with other soundfiles?
Would this also mean this somewhere has a modifiable section that assigns different soundfiles for different in-game entities?

Posted
On 5/25/2024 at 12:23 PM, TK3600 said:

I mean, if possible at all is the question. Some said it is hardcoded.

You...get what this thread is about, right? I highly recommend googling what Harmony (and MelonLoader, or Bepinex, or your loader of choice) do.

On 5/26/2024 at 2:39 AM, XerMGGW-2 said:

Does the original post mean that it's possible to mod the current soundfiles with other soundfiles?
Would this also mean this somewhere has a modifiable section that assigns different soundfiles for different in-game entities?

I would assume so. I haven't looked into sound at all but I would guess that it's all just triggered in code (maybe there's ambients on prefabs? But all the dynamic stuff I would assume is just code-triggered) so if you patch the methods that call the sounds, you'll get whatever sounds you want.

That said, if you just want to replace existing clips, doesn't UABEA let you do that, no coding required?

Posted (edited)
35 minutes ago, NathanKell said:

I would assume so. I haven't looked into sound at all but I would guess that it's all just triggered in code (maybe there's ambients on prefabs? But all the dynamic stuff I would assume is just code-triggered) so if you patch the methods that call the sounds, you'll get whatever sounds you want.

That said, if you just want to replace existing clips, doesn't UABEA let you do that, no coding required?

Didn't scroll through options deep enough to find any such thingies to be extracted as .mp3s or .oggs or whatever, I'd sure love to switch and improve their contents, easy thing to do for me, if I knew where. What I am also indeed curious about the name of place where what gun caliber gets assigned what sound, not just shoot sounds but also non-pens, partials pens, torpedoes? So since the sounds have been mentioned I figured I'd ask where to look for them.

Edited by XerMGGW-2
Posted
19 hours ago, XerMGGW-2 said:

Didn't scroll through options deep enough to find any such thingies to be extracted as .mp3s or .oggs or whatever, I'd sure love to switch and improve their contents, easy thing to do for me, if I knew where. What I am also indeed curious about the name of place where what gun caliber gets assigned what sound, not just shoot sounds but also non-pens, partials pens, torpedoes? So since the sounds have been mentioned I figured I'd ask where to look for them.

UABEA->load resources.assets->Filter to AudioClip. For example overpen sounds are OverPen_SIZECLASS_number e.g. OverPen_Big_4 or OverPen_Tiny_1.

Posted (edited)
On 5/28/2024 at 9:52 AM, NathanKell said:

UABEA->load resources.assets->Filter to AudioClip. For example overpen sounds are OverPen_SIZECLASS_number e.g. OverPen_Big_4 or OverPen_Tiny_1.

There's one last step missing, how to import the edited sound file in place of the old one? Does it mean I have to use Unity itself to compile these actual sounds into separate sharedresources form, shove it in-between UAD's sharedresources, and then change .txt address within these sound files to my own sharedresources?

Edited by XerMGGW-2
Posted
9 hours ago, XerMGGW-2 said:

There's one last step missing, how to import the edited sound file in place of the old one? Does it mean I have to use Unity itself to compile these actual sounds into separate sharedresources form, shove it in-between UAD's sharedresources, and then change .txt address within these sound files to my own sharedresources?

Won't UABEA just let you import and export the sounds? Either via import-export on the dialog, or plugins->import/export? I've barely used UABEA, sorry, so your best bet is to google how to replace sounds in an assets file.

Posted (edited)
12 hours ago, NathanKell said:

Won't UABEA just let you import and export the sounds? Either via import-export on the dialog, or plugins->import/export? I've barely used UABEA, sorry, so your best bet is to google how to replace sounds in an assets file.

Yea the last version of UABE I got, when using Plugins menu, only has ability to rip the referenced sounds out into an .ogg or .wav file or whatever else devs have happend to compile there. Previous version (like the one in BrotherMunro's and my video about modding wasn't even capable of that.

And google does agree that I need to make pretty much exactly what I said before: compile my own unity sharedresources with a batch of my sounds, and edit .txt in the resource.assets' sound reference to refer to my own sharedresources instead of game's original.

Edited by XerMGGW-2
Posted
9 hours ago, XerMGGW-2 said:

Yea the last version of UABE I got, when using Plugins menu, only has ability to rip the referenced sounds out into an .ogg or .wav file or whatever else devs have happend to compile there. Previous version (like the one in BrotherMunro's and my video about modding wasn't even capable of that.

And google does agree that I need to make pretty much exactly what I said before: compile my own unity sharedresources with a batch of my sounds, and edit .txt in the resource.assets' sound reference to refer to my own sharedresources instead of game's original.

Man that sucks. It's not what I'd expect. Bleh. Sorry!

Alternate approach is probably to just harmony-patch the game's sound-playing method and intercept the call, and then look up into a table and call it with your own sound instead of the game's.
During game load you'll need to manually load and convert your sound clips into Unity AudioClips and store them in some static db somewhere for later reference.

That'll avoid having to make a new asset bundle, but I'm not sure it's worth the hassle compared to what you're describing? (I mean, it's the approach I'd take, but I'm way more comfortable with code than with assets :D )

  • 5 months later...
Posted
19 hours ago, A.R.Euro XVIII said:

I am new to this, so I am wondering why the Fineness Slider does not work? for Clarification I'm Using UAD Ver. 1.6.1.2 OptX2

This hasn't been updated since 1.4 or 1.5. I've been busy with TAF and haven't touched my more-extreme work in 6+ months. So that would be why, it's no longer compatible.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...