Does anyone know what settings I need to change to get sound to work with these?
more specifically how to get it to work with
sound physics remastered
presence footsteps
Does anyone know what settings I need to change to get sound to work with these?
more specifically how to get it to work with
sound physics remastered
presence footsteps
Im not opposed to trying. are you just saying that to say it, or do you actually have an idea on exactly how i would use java to help fix it?
(To make a pull request later. Pull request = GitHub for “please add my code”)
Then the issue is probably that the sounds aren’t being transformed out of the shipyard
wait. so are the blocks being rendered for Valkyrian skies like, rendered really far away?
So you would need to either
Find the distance check / position the sound uses, and change it to one that VS will transform automatically
Write some code that runs optionally if VS is installed, that uses the vs api to manually move the position out of the shipyard
I think i remember something simmilar being done for sea of theves or something like that, where the actual boats were stationary somewhere. and whenever the player would stand on a ship they would be transfered to the stationary ship. and the ship you see is simply being rendered with a transform of sorts.
The shipyard is like when a ship freaks out and you see a bunch of void and the world border sometimes
Is stuff either being in the real world position when it should be in the shipyard
But it’s hard for VS to improve that compat overall for all the mods, because each mod is different and requires different context
So probably the best soulution would be a “compat” of sorts for the specific sound mods. hmm… since its raycasted sounds with sound physics mod… can you even transform a raycast like that?
that makes sense. Thank you for the information! I’ll play around with that to see. I may even try to bug some of the peeps over in that mod discord if they have one.
What information/file/place would I be looking for in VS to find the transformation stuff? so i can see how you guys have done the transforms before
My recommendation is to look around at the sound physics (specifically stepping sounds)
Wouldnt we have to also take into account for other stuff. I think i remember reading somewhere that Create: Big cannons also had a hard time with sound?
Then add a breakpoint there so it stops in debug mode, and you can look at the variables for which are in the shipyard
(These instructions are quite generic but it really does vary per mod that needs compat)
this will… take a moment… I’ve never written a mod before but i’m not a stranger to code. so i have some learnings to do
I was planning on learning how to actually write mods for minecraft anyway. this just gives me another excuse to do it sooner then later.
@brickyboy or anybody else who is online. Is there any special blocks or tags put onto things in the “shipyard”
The idea is:
// check if block is on ship
{
private static Vec3d transformVSPosition(Vec3d originalPos){
// transform from far away to closer
}
//somewhere within the evaluateEnvironment() in soundphysics
Vec3d actualSoundPos = soundPos;
if (ValkyrienSkiesAPI.isBlockInShipyard(soundBlockPos)) {
actualSoundPos = transformVSPosition(soundPos);
//then if i'm reading this right. also do this for secondary sounds
SPHitResult rayHit = fixedRaycast(actualSoundPos, actualPlayerPos, mc.world, lastBlockPos, soundChunk);
This is to be added into this “https://github.com/vlad2305m/Sound-Physics-Fabric/blob/master/src/main/java/com/sonicether/soundphysics/SoundPhysics.java”
however, this would cause sound physics to crash if Valkyrien Skies isn’t installed
another question would be. whats the best way to package this? should i just upload it to curseforge as a seperate mod? or would there be a way to easially make this sort of a third mod that you install along side both vs and soundphysics
This conversation is on Discord · Reply there