PiBoSo Official Forum

GP Bikes => Support => Topic started by: Vini on June 27, 2020, 02:09:55 PM

Title: Hiding (part of the) rider model in first person?
Post by: Vini on June 27, 2020, 02:09:55 PM
Is it possible to make your own rider excluding the hands/forearms invisible in first person?
Title: Re: Hiding rider model in first person?
Post by: Manu on June 27, 2020, 03:24:21 PM
yes. delete "c_rider.edf" file
Title: Re: Hiding rider model in first person?
Post by: Vini on June 27, 2020, 04:02:57 PM
That will remove the rider completely. I would still like to keep the hands and forearms since they are not colliding with the view.
Title: Re: Hiding rider model in first person?
Post by: Manu on June 27, 2020, 04:11:46 PM
Quote from: Vini on June 27, 2020, 04:02:57 PMThat will remove the rider completely. I would still like to keep the hands and forearms since they are not colliding with the view.

That is not possible. The only way is to compile a new "c_rider.edf" model without those parts.
Title: Re: Hiding rider model in first person?
Post by: Vini on June 27, 2020, 04:18:06 PM
What tool do I need to do that?
Title: Re: Hiding rider model in first person?
Post by: Manu on June 27, 2020, 06:50:03 PM
Quote from: Vini on June 27, 2020, 04:18:06 PMWhat tool do I need to do that?

3dsmax
Title: Re: Hiding rider model in first person?
Post by: Chris_Beeves on June 27, 2020, 08:39:24 PM
And the rider model I guess? 3dsmax can't edit the edf?
Title: Re: Hiding rider model in first person?
Post by: Manu on June 27, 2020, 08:45:45 PM
edf files can't be edited
Title: Re: Hiding rider model in first person?
Post by: matty0l215 on June 27, 2020, 10:23:23 PM
Open the .edf in notepad

Delete all of it's content and then save

The rider model just doesn't show in game but it still all works on track
Title: Re: Hiding rider model in first person?
Post by: Manu on June 27, 2020, 11:44:41 PM
Quote from: matty0l215 on June 27, 2020, 10:23:23 PMOpen the .edf in notepad

Delete all of it's content and then save

The rider model just doesn't show in game but it still all works on track

Actually that and deleting the file is the same thing. The .edf are only graphic and do not affect the physics of the game.
Title: Re: Hiding rider model in first person?
Post by: h106frp on July 04, 2020, 04:10:33 PM
Interesting little experiment;
In the riders\whatever\gfx.cfg change the cockpit model reference to the full model as below;

cockpit
{
   model
   {
      ;file = c_rider.edf
      file = rider.edf
   }

   suit = suit

   helmetlinkobj = riderRIG_Head
}

It is now very ovbious how far away from the riders head the camera is in turns or even when tucking in - the actual model animation looks like he would be right where you would want the camera but the 1P view seems to be locked to a small box of movement.

I really cannot see why we cannot have a view added that just tracks with riderRIG_Head but looks towards the current point of focus as usual. If the camera was kept just in front of the rider eye position we could even have some nice visor visual effects.


Have to say the 'full' model looks better with head tracking than the current cockpit rider model - he has legs.
 
Title: Re: Hiding (part of the) rider model in first person?
Post by: Vini on July 05, 2020, 09:03:20 PM
Is anybody else capable of creating a new c_rider file now that Manu has sadly abandoned GPB modding?

I had the idea to make the texture of all unwanted model parts transparent but I didn't get it to work.
Title: Re: Hiding (part of the) rider model in first person?
Post by: Manu on July 05, 2020, 10:16:23 PM
I'm afraid no one has the ability to do that. Anyway my riders cannot be replaced.
Title: Re: Hiding (part of the) rider model in first person?
Post by: h106frp on July 06, 2020, 12:52:20 AM
If we had a true 1P helmet camera it would not be an issue
Title: Re: Hiding (part of the) rider model in first person?
Post by: Vini on July 06, 2020, 01:46:14 PM
There's also no way to make transparent skins in GPB?
Title: Re: Hiding (part of the) rider model in first person?
Post by: h106frp on July 06, 2020, 04:20:13 PM
Did you try a .tga with an alpha channel? I am sure it works for bike textures as I tried a damaged fairing effect
Title: Re: Hiding (part of the) rider model in first person?
Post by: Vini on July 06, 2020, 04:49:39 PM
I tried it with the RIDER.tga but I probably did something wrong since I have no experience with paints whatsoever.
Title: Re: Hiding (part of the) rider model in first person?
Post by: h106frp on July 06, 2020, 05:16:54 PM
I just had a go and it converts suit transparency to black - which is odd because helmet visors work OK as paints