Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: Linwood on March 16, 2013, 03:58:16 pm

Title: [SOLVED] [QUESTION] New race problem
Post by: Linwood on March 16, 2013, 03:58:16 pm
Hi,

I have some problem in my creation of new breeds

1. Already I'm wondering how you can change the size of a race in the character creation interface? Because the model exceeds the screen

2. I have display problems on some leggings on the Vrykul, boots for Tuskarr. You think it can come from where I look at the sql that is exactly the same except DisplayID

[attachment=0:wffbmysx]WoWScrnShot_031613_155554.jpg[/attachment:wffbmysx]

Thank you in advance for your answers
Sorry for my bad english, i'm not english
Title: Re: [QUESTION] New race problem
Post by: flagg78 on March 18, 2013, 06:03:47 am
for the size issue..i dont know a perfect way to do it but i know on my server i have 2 copies of the creaturedisplay dbc file. one for the server folder and one for the client. set the clients size for that character model small and the clients dbc file entry regular size. i think. or vise versa. what it comes down to is the server looks at its dbc file for the selection and creation screens but the client looks at its dbc file for size in game. like i said...not a perfect solution but it works on my server.
Title: Re: [QUESTION] New race problem
Post by: Linwood on March 18, 2013, 11:14:27 pm
it does not work :'(

I even look in the lua but there is no function
Title: Re: [QUESTION] New race problem
Post by: Linwood on March 21, 2013, 10:44:17 pm
Up :'(
Title: Re: [QUESTION] New race problem
Post by: mferrill on March 26, 2013, 01:35:14 pm
What core are you using?  I know for trinity, you can change the scaling in Player.cpp.  I don't use Arcemu or Mangos, but I imagine, you could do the same in them as well.

if (getRace() == RACE_VRYKUL)
    {
    SetFloatValue(OBJECT_FIELD_SCALE_X, 0.8);
    }

This will kick a warning for doublefloat... But it works for me pretty well.  If I find a better solution, I"ll let ya know
Title: Re: [QUESTION] New race problem
Post by: schlumpf on March 26, 2013, 01:38:35 pm
The reason for the waring is, that 0.8 is a double, while 0.8f is a float, which is expected.
Title: Re: [QUESTION] New race problem
Post by: Arid on March 26, 2013, 04:47:34 pm
The Vrykul model is missing those. You need to add them via blender.
Title: Re: [QUESTION] New race problem
Post by: Linwood on April 04, 2013, 02:50:49 pm
Quote
What core are you using? I know for trinity, you can change the scaling in Player.cpp. I don't use Arcemu or Mangos, but I imagine, you could do the same in them as well.

if (getRace() == RACE_VRYKUL)
{
SetFloatValue(OBJECT_FIELD_SCALE_X, 0.8);
}

This will kick a warning for doublefloat... But it works for me pretty well. If I find a better solution, I"ll let ya know

Thank you, but put in what function? line? I use trinitycore also
Title: Re: [QUESTION] New race problem
Post by: mferrill on April 05, 2013, 02:04:08 pm
Look for....

void Player::Update(uint32 p_time)
{
    if (!IsInWorld())
        return;

It should go under that.

Like....

void Player::Update(uint32 p_time)
{
    if (!IsInWorld())
        return;

if (getRace() == RACE_VRYKUL && !OBJECT_FIELD_SCALE_X, 0.8f)
    {
    SetFloatValue(OBJECT_FIELD_SCALE_X, 0.8f);
    }
Title: Re: [QUESTION] New race problem
Post by: Linwood on April 15, 2013, 07:04:07 pm
Thanks :)

All problems are solved
Title: Re: [SOLVED] [QUESTION] New race problem
Post by: calabasa3 on June 14, 2013, 05:41:02 pm
:D  Hi modcraft, I have a liltle problem with my Worgen custom and so...
the worgen, does not enter the interface...
however, within the game, fits perfectly
(Spanish)
Hola a todo ModCraft, Tengo un pequeño problema con mi Huargen Custom y bueno...
el Huargen, no me quiere aparecer en la interface...
Sin Embargo, dentro de el juego aparece perfectamente



Maybe it is not well codified line 22 of the Worgen, the CharRaces, This Me Cause .... Wow Error
(SPANISH)
Talvez sea porque no eh codificado bien La linea 22 de el Huargen , en la CharRaces.dbc , Al hacerle click en la imagen del worgen Me salta Wow error...


however
(Spanish)
Sin embargo


Change Skin of another character, and the model fits perfectly, just my neck jumps White
(Spanish)
Cambio las Texturas y skin de otro personaje y me aparece como si fuera el Worgen, y se ve perfecto, Excepto que me Salta con el Cuello Blanco por no ser el Huargen original...



Please a ineed Help...