Sign in to follow this  
iMeleys

[C++][FIX] Scale of Sash & Official Pet

7 posts in this topic

notice: it's my first release ever it will take years until im a 
profesionall c++ coder but it makes me alot of fun and i will push my knowledge forward
fix is only for people that using v0.3 of lennt's shoulderband-system.

EterGrnLib/ThingInstance.cpp on "void CGraphicThingInstance::DeformNoSkin()" under

		CGrannyLODController * pkLOD = m_LODControllerVector[i];
		if (!pkLOD->isModelInstance())
			continue;

make a new line and paste this code

		if (pkLOD->isModelInstance()) // if you want it a bit pretty
			pkLOD->Deform(&m_matAbsoluteTrans); // u could rewrite this whole c++ code to be pretty


still in EterGrnLib/ThingInstance.cpp on "void CGraphicThingInstance::OnDeform()"  under

		CGrannyLODController * pkLOD = m_LODControllerVector[i];
		if (!pkLOD->isModelInstance())
			continue;

make a new line and paste this code

		if (pkLOD->isModelInstance()) // but anyway cute kitty known as meleys
			pkLOD->Deform(&m_matAbsoluteTrans); // fix it for the little people out theere


 

Notice: inside the c++ code of the system - official pet system - some code is missing 
and u will need a solution for evolution too !

 

LICENSE:

if you wanna share this solution on others boards
please link my name as reference and my profile link
thank you for listening to me
THANKS GO'S TO:

@Weedhex helping me and teach me a bit C++ !
@xP3NG3Rx releasing the patches that i need sometimes !
@V0lvox he teach me a bit C++ !
@Sandworks for showing me how to work with a world editor !
@Raylee because correct me if i making mistakes and i make alot of them !
@ChuckNorris & @Polux because you two are the greatest admins !
@Helia01 for the Maintaince Solution !
@Anix because you are a good friend ! (we will find the beta client) !!
@martysama because i love this guy hes my idol and someday i will be so good like you in C++ !
@Tim66613 - if u read this you was one of my idols in the past im active since 2003/2004 - !
@Syriza for helping me also !
@Kori - for not giving me up sometimes - i know i can be sometimes a asshole,
crazy as hell,anoying but i also have a good heart and i think u see it i add
this text after his answer maybe he see it someday !

AND ALL THE OTHERS THAT NOT LISTED HERE I JUST WANNA SAY ALL OF YOU - THANK YOU -
BECAUSE WITHOUT YOU ALL I WOULD BE NOTHING ! AND THIS COMES FROM MA HEART TO YOU !

 

  • Like 6
  • Thanks 2

Share this post


Link to post
Share on other sites

Some sash systems have this what for a system you use? 

Lennt 0.3? With define sash or acce? 

Share this post


Link to post
Share on other sites
vor einer Stunde schrieb Kori:

Some sash systems have this what for a system you use? 

Lennt 0.3? With define sash or acce? 

its v0.3 of @LeNnT Shoulderband-System
with the defines ENABLE_SASH_SYSTEM

  • Thanks 1

Share this post


Link to post
Share on other sites

Everything works well but in my code I'm just replace

pkLOD->Deform(&m_matAbsoluteTrans);

with this

pkLOD->Deform(&m_TransformMatrix);

I have only scale from sash and works with pets too. 

Someone have a solution for this bug?

XaZCb0b.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.