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
Customizer - Attachment not showing up in TP view
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- akke403
- 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.
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- akke403
- 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.
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.
- Lovatto
- 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;
}
- akke403
- 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....
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....
- akke403
- 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...
Anyone got any clues?" private void Awake()
{
WeaponName = bl_CustomizerData.Instance.Weapons[WeaponID].WeaponName;
}
"
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact: