[HELP] Model Change Ignore Parts Problem (Hair Mostly)

01/16/2016 05:57 NickHough#1
Hey,

As the title states i've got a small problem with the model change system, i got it working like 99% accept the problem shown below in the screen shot.
[Only registered and activated users can see links. Click Here To Register...]

My code for change/updating the model is as follows
(placed in several places in the code to allow update on loading the initial character and when changing items)
01/17/2016 00:33 NickHough#2
Quote:
Originally Posted by Avalion View Post
My issue was the opposite. It wasn't rendering properly for the current player -- but that is because GetEquipItem(PARTS_CAP) etc was returning the actual equipped item so it was rendering the proper model, just not the right setting regarding XE_HIDE and the head/hair. Try taking a look in CMover::render
Hey thanks for the tip,

But it seems regardless of which way i do it, it inverts the problem :/ I am currently at a loss :/

A good thing is when you login the correct hair mesh shows, but in your inventory and when loading the character screen as shown below.

[Only registered and activated users can see links. Click Here To Register...]

Also had to remove some parts from the code shown above to just show as


As those extra lines caused it to show as working on your character, inventory and when selecting a character, but not when in-game and someone else is looking at you.
01/21/2016 12:52 NickHough#3
Quote:
Originally Posted by Avalion View Post
They are different render procedures? Try checking the inventories onDraw, then check to see if the item has a model change, and then use the model changes model setting rather than the item's normal model setting?
Yeah i will look into it but it seems that they might be the same rendering procedures, when i was testing the code in my first post it seemed to fix both the problems for the 2nd post, may need to add a new parameter (bool) for inventory draw and character select draw to hopefully just get those working again properly.

Many thanks for your help as well, it pointed my in the right direction :)