This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION]Changing character textures on class swap  (Read 1602 times)

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
[QUESTION]Changing character textures on class swap
« on: August 08, 2014, 01:01:33 am »
O.k. so I have been looking around the dbc's xml and lua files, to see how the deathknight was implemented.
my biggest discovery so far is in the CharacterCreate.Lua.
Where it has a section for swapping the character to a different model on selecting the dk class.
Only thing is there is no other model to my knowledge for a deathknight.

Is there a specification on race models to swap out to a different geoset or something when toggled?
If so can this be done through pymodeleditor?

also is this a model issue at all or just a scripting / dbc issue?

In essence I am trying to make it so the demonhunter class has runes / markings on there body when selecting the demonhunter just like the new textures for a dk when you select a dk they have glowing blue eyes and blue / black body textures.
If there is a way to do this please let me know :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #1 on: August 08, 2014, 01:06:54 am »
That's all handled in the dbc files.

I'll get back to you with a list.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #2 on: August 08, 2014, 01:11:01 am »
Thanx soo much
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #3 on: August 08, 2014, 01:26:50 am »

Alright here's a list of the skins the DeathKnights use for humans and I'd bet they are the same numbers for the other races.



    HumanMaleSkin00_10
    HumanMaleSkin00_11
    HumanMaleSkin00_12
[paragraph:8el62cj7]Their DK eyes are selected in the M2 file of course you can change the location of them by editing it in 010.
CHARACTERBLOODELFFEMALEDEATHKNIGHTEYEGLOW.BLP

Now to set in the dbc where you find your Demon Hunter skin for example.

Open up CharSections.dbc then lets just use humans for now as examples.

I haven't made a custom class shell so I don't know a hundred percent of how it works but I have a basic idea, any who I believe column 8 to be where the class is defined for the skin so if you copy role 14 which is 10177 CharacterHumanMaleHumanMaleSkin00_12.blp and copy line to 10178.

Keep in mind this is just an example which in theory should work, any who once you have your line copied put the location of your custom blp skin where HumanMaleSkin00_12.blp used to be then save and test it make a deathknight and see if the skin changes.

If the skin does in fact change or get added would be a better term then the next step would be to change the flag 5 to the flag of your demon hunter class or you could use race 8 which is an inactive race, I think it belongs to the dark iron or something.[/paragraph:8el62cj7]

I did this just on the fly so I will probably make a full explanation at a later time.


I hope this helped.

CharSections wikihttp://www.wowdev.wiki/index.php?title=CharSections.dbc
CharRaces wikihttp://www.wowdev.wiki/index.php?title=ChrRaces.dbc
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #4 on: August 08, 2014, 01:34:06 am »
Thanx I'll try this and post the results in a video if it works
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #5 on: August 08, 2014, 01:44:19 am »
ok just one question how do I know what the flag of my new class is. it is the 12th class if that helps
PS sorry for the double post
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #6 on: August 08, 2014, 02:07:24 am »
Quote from: "Serifaz"
ok just one question how do I know what the flag of my new class is. it is the 12th class if that helps
PS sorry for the double post

I wouldn't know I haven't made a new class yet.

Did it work btw with the deathknight?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #7 on: August 08, 2014, 02:15:58 am »
yes it worked with the dk. but I can't seem to figure out how the flag is assigned to the deathknight.
If I can figure that out I could probably figure out how the flag is assigned to my demonhunter
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #8 on: August 08, 2014, 02:21:32 am »
Is demon hunter using up class 10?

Edit: It's weird I can't find the number 5 being connected to deathknight in any other dbc files.
« Last Edit: August 08, 2014, 02:28:08 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #9 on: August 08, 2014, 02:27:44 am »
it's using class 12
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #10 on: August 08, 2014, 02:53:16 am »
I've hit a stone wall sadly...

I'll keep looking tomorrow maybe I'm not seeing something right now.

Without a connection to the flag number for deathknight of 5 I can't find your custom class's flag.

I know some people here have managed this so maybe if they see this post they might be able help.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION]Changing character textures on class swap
« Reply #11 on: August 08, 2014, 02:59:38 am »
thanx man
« Last Edit: January 01, 1970, 01:00:00 am by Admin »