Customizer - Attachment not showing up in TP view

General support.
Post Reply
User avatar
akke403
Contributor
Contributor
Posts: 7
Joined: Fri Feb 12, 2021 5:10 pm

As my topic says, my attachments dont show up in the third person view, not even activated. Works fine in first person view tho.

* I've checked so it's tagged with the correct layer.
* BL_Customizer Weapon is attached with the correct settings (Neither boxed checked and correct customizer id) --- Same object as BL_Network Gun
* Attachments have corresponding ID's with the attachments in the customizer scene

I've gone thru the Mplayer[Customizer] character to find any difference but my character is set up just the same.

Dont know what to do next, anyone got any clue?

fyi, posting this in discord aswell
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Which version of the Third Person View addon are you using?
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
akke403
Contributor
Contributor
Posts: 7
Joined: Fri Feb 12, 2021 5:10 pm

Yeah, Sorry! Using 1.0.4. (mfps-third-person-view-1.0.4-i0c3be) aswell as the latest version of MFPS. TP works fine when I start and run around with the character prefab that comes with the customizer pack, can see everything with that one.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Please show me a screenshot of the bl_CustomizerWeapon script attached to one of your weapons (that you confirmed that had the problem),
show me the inspector of the one from the FPWeapons and TPWeapon.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
akke403
Contributor
Contributor
Posts: 7
Joined: Fri Feb 12, 2021 5:10 pm

Third person weapon with Customizer script attached:

https://imgshare.io/image/capture5.pkv1vZ

First person weapon with Customizer script attached:

https://imgshare.io/image/capture6.pkv4L4

The targeted model (In this case "Reddot" sight) are all picked from their own hierarchy in the prefab (RemotePlayer -> M16 & Local -> M16). So there are two different models. One for FP and one for TP.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Try adding this function in bl_CustomizerWeapon.cs:

Code: Select all

    private void Awake()
    {
        WeaponName = bl_CustomizerData.Instance.Weapons[WeaponID].WeaponName;
    }
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
akke403
Contributor
Contributor
Posts: 7
Joined: Fri Feb 12, 2021 5:10 pm

Sorry to say, but it didn't work. Been messing with it all weekend and trying to get it to work. Even redownload all the packages and created a new project but I am still hitting a dead end.

I must be doing something wrong, missing something in the tutorial. Dont know, gonna give it another try tomorrow after work.

I noticed something tho, If select the FP attachments (Models) in the inspector for the TP weapon, they go active in play mode. It's like the attachments for third person mode dont respond but the attachments in FP mode work in both TP/FP....
User avatar
akke403
Contributor
Contributor
Posts: 7
Joined: Fri Feb 12, 2021 5:10 pm

Edit: Managed to get objects to transfer correctly but original issue still exist. My attachments in [TP] view wont initiate. Works fine in FP view tho when I switch back and fourth. Tried adding this line of code which Lovatto supported me with but with no change...
" private void Awake()
{
WeaponName = bl_CustomizerData.Instance.Weapons[WeaponID].WeaponName;
}
"
Anyone got any clues?
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Sorry, but I'm not able to reproduce the issue,
in this case, I could check your project if you agree, send me your purchase order number in a PM to follow up on this.
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply