Jump to content

[Client] Select hair on create character


Recommended Posts

Go to file root/introcreate.py

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this before:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to file locale/xx/ui/createcharacterwindow.py

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

On this 2 functions:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Change with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to UserInterface/Packet.h

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to UserInterface/PythonNetworkStreamPhaseSelect.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to UserInterface/PythonNetworkStream.h

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to UserInterface/PythonNetworkStreamModule.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to game/src/Packet.h

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to db/src/ClientManagerPlayer.cpp

Inside:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

This is default query. Please check your query of your source and adjust according.

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to game/src/input_login.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add after:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

  • Like 1
Link to post
Share on other sites

Tutorial complete and working.

It can now be implemented.

Heres a gif and image showing what it is about:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.
/applications/core/interface/js/spacer.png">

Hidden Content

    Give reaction or reply to this topic to see the hidden content.
/applications/core/interface/js/spacer.png">

 

To add new hair style, just add/change values at HAIR_DATA

 

  • Like 1
Link to post
Share on other sites
  • 2 years later...
  • 6 months later...

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
×
×
  • Create New...