Forum > Tutorials

[TUTORIAL] Add a new race

<< < (7/18) > >>

thesixth:
Hi![/b]
I've tried this tutorial.

Now, I'm not doing this with Mangos, but with Trinity. It is to my understanding that Trinity is based of the Mangos source so adapting the instructions wasn't hard. (Just one modification in the code to the source.)
[spoiler:26z9p9a8]enum Races
{
    RACE_HUMAN          = 1,
    RACE_ORC            = 2,
    RACE_DWARF          = 3,
    RACE_NIGHTELF       = 4,
    RACE_UNDEAD_PLAYER  = 5,
    RACE_TAUREN         = 6,
    RACE_GNOME          = 7,
    RACE_TROLL          = 8,
    RACE_GOBLIN         = 9,
    RACE_BLOODELF       = 10,
    RACE_DRAENEI        = 11,
    RACE_FEL_ORC        = 12,
    //RACE_NAGA           = 13,
    //RACE_BROKEN         = 14,
    //RACE_SKELETON       = 15,
    //RACE_VRYKUL         = 16,
    //RACE_TUSKARR        = 17,
    //RACE_FOREST_TROLL   = 18,
    //RACE_TAUNKA         = 19,
    //RACE_NORTHREND_SKELETON = 20,
    //RACE_ICE_TROLL      = 21
};


 -- VS.

enum Races
{
    RACE_NONE          = 0,
    RACE_HUMAN          = 1,
    RACE_ORC            = 2,
    RACE_DWARF          = 3,
    RACE_NIGHTELF       = 4,
    RACE_UNDEAD_PLAYER  = 5,
    RACE_TAUREN         = 6,
    RACE_GNOME          = 7,
    RACE_TROLL          = 8,
    RACE_GOBLIN         = 9,
    RACE_BLOODELF       = 10,
    RACE_DRAENEI        = 11,
    RACE_FEL_ORC        = 12,
    //RACE_NAGA           = 13,
    //RACE_BROKEN         = 14,
    //RACE_SKELETON       = 15,
    //RACE_VRYKUL         = 16,
    //RACE_TUSKARR        = 17,
    //RACE_FOREST_TROLL   = 18,
    //RACE_TAUNKA         = 19,
    //RACE_NORTHREND_SKELETON = 20,
    //RACE_ICE_TROLL      = 21
};

First row, added "RACE_NONE = 0" and I could compile the core.[/spoiler:26z9p9a8]
At first, I thought I had it all down, pretty much.
Anyways, I started to create a couple of new races, based of the original ones (like adding a new human etc.).
When it came down to testing it out, it didn't work.
I broke it all down a couple of times to really make sure no misstakes were made, whatsoever.
I didn't get it to work so I threw all the work away and decided to do exactly what the tutorial says, and not jump to my own conclusions or attempt anything else. Educational, you know.

Doing this, following the guide step by step, carefully, on an untoutched DB, compiling the unmodifyed serversource-code, I get the exact same error:

InterfaceGlueXMLGlueParent.lua:391:Usage: PlayGlueAmbience("soundname","(optional)fade in time")
This is after logging on, at the character selection screen, black with no background.

And this:
InterfaceGlueXMLCharacterCreate.lua:182 attempt to index local 'coords' (a nil value)
This leaves me with roughly half of the race icons badly messed up.

Going back to the character selection screen gives me following error:
InterfaceGlueXMLCharacterSelect.lua:49: Usage: PlayGlueAmbience("soundname","(optional)fade in time")

Editing the GlueParent.lua didn't make much difference... though something tells me that's where the bad stuff is going on...

I even made some backwards engineering, removing several original races (and classes) to gain some understanding.

Anyway, as the tutorial was made for 3.3.2a, this is being attempted on Wow 3.3.5a Im thinking, perhaps there are more features to change in this version of the GlueXML's?

Has anyone "ported" this tutorial to 3.3.5a with success?
Does anyone have any suggestions?

Thanks in advance //S






****
EDIT:
Seems to be a little tougher to edit the 3.3.5a LUA-XML than 3.2.2a.
Editing the character creation screen by adding races actually works in 3.2.2a.
Now, my build is failing to compile for some reason -.- dunno why, since exactly what I'm doing right now worked just like a charm with trinity 3.3.5....
========== Build: 10 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

Anyways, since I'm not particulary interrested in making any of the currently existing non-playable races into a playable one, but rather make a few completely new races, I'm wondering : The core and database speaks of races ID's from 1 to 21... so... is it possible to add races beyond 21, i.e raceID 22 - alieninvader... or whatever? Or do I have to completely overhaul (let's say) the Nagas or something - discluding that race from the game to be able to "add" a new one?
It'd be nice to talk to someone with experience around this.

Ciao!
****
EDIT:
Problems with compiling the core was 3x severe sloppyness. Looking it over the next day pretty much made me see my error. Guess I just had to sleep on it. ^^

nnhmeisink:
I'm trying this tutorial to wow 3.3.5a and before starting on this tutorial my own little private server worked fine...now i added my GlueXML files etc. and now when i want to check if the races are showing wow crashes and tells me that BattlemasterList.dbc has wrong number of columns (found 35, expected 32)....
Why oh Why??? I did nothing to the battlemasterlist database file and I really do not understand why this is happening....can any1 help me out???

*edit*
Ignore this part....i didn't made a good patch file so now it works fine :) But now the problem is i don't see the extra char. panels i the character creation panel. I do see 2 extra spaces for the new characters but i can not select them....

Thanks in advance
Niek

samgartell:

--- Quote from: "nnhmeisink" ---I'm trying this tutorial to wow 3.3.5a and before starting on this tutorial my own little private server worked fine...now i added my GlueXML files etc. and now when i want to check if the races are showing wow crashes and tells me that BattlemasterList.dbc has wrong number of columns (found 35, expected 32)....
Why oh Why??? I did nothing to the battlemasterlist database file and I really do not understand why this is happening....can any1 help me out???

Thanks
Niek
--- End quote ---

http://www.mediafire.com/?h07ugzqyziwnbyi Try using this BattlemasterList.dbc, it's the latest rev straight from Patch-enUS-3.MPQ, so it should have the correct column count.

thesixth:
Hi nnhmeisink!
Perhaps you already know everything I write here, perhaps not.

If you haven't modifyed it, check if you've added dbc-files to your "patch-x.MPQ", then perhaps you've accidently added the wrong version into your "patch-x.MPQ"-file. The most recent version of the file should be located in your "patch-enUS-3.MPQ", if , of course, you have the enUS version.

If the file is located in some of your more recent official "patch-en/es/de....or..whatever... .MPQ", all my experience can tell you is that something probably prevents Wow from loading the 'current'... or rather, the expected version of the BattlemasterList.dbc file.

Perhaps you are editing existing, official MPQ's instead of creating your own patches and somehow corrupted the files?

if not, have you done this?
viewtopic.php?f=26&t=181
As an easier alternative Laniax uploaded an automatic patcher for the 3.3.5a client wow.exe. I've confirmed it to work perfectly with the enUS version.

This sort of message only occurs when I'm in the middle of editing/gathering resources, and I try to load Wow.exe, but forgot to close all MPQ-files that I have opened with my MPQ-editor.

If you've read my previous post, I've tried this with the 3.3.5a client withour success, and I haven't talked to anyone who has succeeded to do this. My failure lies in that I sort of drowned in the XML-LUA swamp... Seems to be a bit trickier with the 3.3.5a version than in the 3.2.2a...

Anyway, I'm uploading for you, the 'expected' version of BattlemasterList.dbc for the enUS 3.3.5a client. I have also uploaded the automatic unsig ptacher for the 3.3.5a client. Should be two attatchments. This is all I can do to help.

Please know that I am eager to hear how this turns out for you. If you'd manage to pull this off, it would be very interresting to hear about it.

thesixth:
Yaaay! I've got it working!
Thanks for this amazing tutorial!

At the moment I have just been testing out by "cloning" the human race.
One of them is Alliance, the other one is Horde.
Some things are messed up, like skills, languages and factionstandings, plus there aren't any quests avaliable for theese races at the moment. The alliance human doesn't seem to come with any startoutfit and there are some minnor issues. Regardless, this is only the result of experimenting for educational purposes

I'm posting a few screenshots of the result.
PS! nevermind that wierd-looking character creation screen. It's nothing but random tampering.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version