PiBoSo Official Forum

GP Bikes => Suggestions and wishlist => Topic started by: Chris_Beeves on April 27, 2019, 09:41:11 PM

Title: Knee drag output
Post by: Chris_Beeves on April 27, 2019, 09:41:11 PM
I'm making haptic feedback "knee pucks" and it seems that different bikes have different lean limits when the knee drag sound is played, so instead of setting a fixed lean angle I would like to be able to map them to a "knee drag" value (0 = no knee drag, 1-255 linear increase) in the .dlo
Title: Re: Knee drag output
Post by: poupou59890 on May 09, 2019, 08:29:35 AM
Is it a sound for knee drag ? I never heard it ^^ maybe I never reach the ground so :) but yes will be good to have a trigger when the knee is on the ground to have haptic feedback :)
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 09, 2019, 09:28:23 AM
Quote from: poupou59890 on May 09, 2019, 08:29:35 AMIs it a sound for knee drag ? I never heard it ^^ maybe I never reach the ground so :) but yes will be good to have a trigger when the knee is on the ground to have haptic feedback :)


There is a sound, it's like a scraping noise.
I've never heard it on the modern type 1 and 2 riders however, just the standard one.
I hold down the lean back button when going around some corners, as the knees stick out further and make it scrape a little easier.
Try this with the standard piboso modern rider at the MG hairpin, with the R3, on Victoria and you'll hear it. I use it to make sure I don't over lean and lose the front occasionally.
Title: Re: Knee drag output
Post by: poupou59890 on May 09, 2019, 09:42:55 AM
Oh ok, That's why I never heard it I use modern style (is very really a difference between them ?) I will try the standard one to check that :) I am using DS2 so I am not sure that will help but it can be fun :)
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 09, 2019, 10:25:39 AM
Quote from: poupou59890 on May 09, 2019, 09:42:55 AMOh ok, That's why I never heard it I use modern style (is very really a difference between them ?) I will try the standard one to check that :) I am using DS2 so I am not sure that will help but it can be fun :)


Make sure it's the actual rider you use, the riding style doesn't seem to make a difference, as long as knee gets down
Title: Re: Knee drag output
Post by: doubledragoncc on May 09, 2019, 10:28:01 AM
I get the sound and use Monern but it is quite quiet. Could do with it being louder and ffb lol

DD
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 09, 2019, 10:58:54 AM
Quote from: doubledragoncc on May 09, 2019, 10:28:01 AMI get the sound and use Monern but it is quite quiet. Could do with it being louder and ffb lol

DD

Wonder if it's editable in the cfgs?
Title: Re: Knee drag output
Post by: doubledragoncc on May 09, 2019, 11:21:40 AM
Bike volume can be edited in cfg so it must be somewhere...........Piboso?

DD
Title: Re: Knee drag output
Post by: poupou59890 on May 09, 2019, 11:43:31 AM
So I tried with normal rider and yest it is very quiet. I did not pay attention before because of that.So yes I think it would be somewhere..but where ?...
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 09, 2019, 12:09:51 PM
It's louder in 1p view, and I'd guess in the rider cfgs for the volume adjust. Not sure if you'd have to decompile the files though before doing this. Will have a loog when I get home as its a useful tool, particularly on bends that are easy to lose the front at
Title: Re: Knee drag output
Post by: doubledragoncc on May 09, 2019, 06:03:28 PM
I love the sound it lets you know your there but is tooooo quiet so yeah hope to find its cfg code too

DD
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 09, 2019, 06:49:53 PM
Anyone Know how the Modern 1 and Modern 2 Rider models were made?
Wondering if it'd be possible to de-crypt those and see the other files that are in there, when they're not just a text document of dingbats, hence hopefully finding the sounds.
Title: Re: Knee drag output
Post by: h106frp on May 09, 2019, 07:57:06 PM
C:\GP Bikes15\gpbikes\effects\sounds\sets\misc.cfg

knee_sliders
{
wav = scrape_concrete.wav
min_distance = 0.1
}

modify min_distance for volume effect
wav is in C:\GP Bikes15\gpbikes\effects\sounds
Title: Re: Knee drag output
Post by: Chris_Beeves on May 09, 2019, 08:14:29 PM
I can't find an "effects" folder.. Should I be looking some other place than the install folder?
Title: Re: Knee drag output
Post by: Blackheart on May 09, 2019, 08:24:03 PM
Quote from: Chris_Beeves on May 09, 2019, 08:14:29 PMI can't find an "effects" folder.. Should I be looking some other place than the install folder?

Effects.pkz
Title: Re: Knee drag output
Post by: Chris_Beeves on May 09, 2019, 08:39:19 PM
Aah! Thanks. So, unzip, edit, zip?
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 10, 2019, 05:56:57 AM
Quote from: Chris_Beeves on May 09, 2019, 08:39:19 PMAah! Thanks. So, unzip, edit, zip?

Shouldn't need to rezip if it's like the others.


Smaller volumes make louder noise?
Title: Re: Knee drag output
Post by: doubledragoncc on May 10, 2019, 07:06:26 AM
Its 0.1 to start so should it be 0.01 or 0.3 or what? will have to play with it

DD
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 10, 2019, 09:37:57 AM
Quote from: doubledragoncc on May 10, 2019, 07:06:26 AMIts 0.1 to start so should it be 0.01 or 0.3 or what? will have to play with it

DD

I'd have thought the min distance it would would have to be less, but then if its volume it'd be larger. I'll fiddle with it tonight
Title: Re: Knee drag output
Post by: h106frp on May 10, 2019, 01:01:07 PM
Its usually the minimum distance for max volume so just put a big value in - 10

If thats not enough you could make a new (louder 16bit mono) wav put it in the folder and change the target in .cfg
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 10, 2019, 02:10:41 PM
Quote from: h106frp on May 10, 2019, 01:01:07 PMIts usually the minimum distance for max volume so just put a big value in - 10

If thats not enough you could make a new (louder 16bit mono) wav put it in the folder and change the target in .cfg

Bit weird wording, minimum for maximum, but whatever works. Does this affect the modern type 1+2 riders as well?
Title: Re: Knee drag output
Post by: Myst1cPrun3 on May 10, 2019, 10:22:11 PM
After a little fiddle, any value between 0.4 - 0.7 is much better.

I personally would use a value closer to 0.4 for first person riding, and closer to 0.7 for third person as the rider sounds are somewhat muted in this view.
0.47 ish seems a good base for those who want to use both views but not change values each time they change view
Title: Re: Knee drag output
Post by: doubledragoncc on May 11, 2019, 12:31:44 AM
Thanks for the testin m8

DD