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: Custom Races and how to rescale objects? Trinity Core  (Read 2981 times)

jremi

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Custom Races and how to rescale objects? Trinity Core
« on: August 03, 2014, 02:16:15 pm »
Title says all, it's for an RP server for WOTLK, 3.3.5, using Jeuties pack..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: Custom Races and how to rescale objects? Trinity Core
« Reply #1 on: August 03, 2014, 02:56:21 pm »
I'd recommend compiling your own server.

Also what do you mean by rescaling objects, there should be a command in game for that.

As for custom races you need to compile your own server for that can't use a repack because you need to go into the SharedDefines.h like this depending how many races you will be adding

Then you would have to edit:

CharRaces.dbc, CharBaseInfo.dbc, CharStartOutfit.dbc, SkillLineAbility.dbc, SkillRaceClassInfo.dbc, Faction.dbc,  CharSections.dbc depending if you're adding custom models or using ones already in-game you won't need to touch CharSections.

Besides all of that you will also need to alter the character creation UI via lua/xml in InterfaceGlueXML you have to add lines and replace lines depends what style interface you're using and how many races you will be adding, you will need to work in CharacterCreate.LUA, CharacterCreate.XML, GlueParent.LUA and GlueStrings.LUA

Once all of that is done you will then need to add in the race/classes to the following: PlayerCreateInfo.sql, PlayerCreateInfo_action.sql, PlayerCreateInfo_spell_custom.sql and Player_levelstats.sql.

So that's all you have to do to add/activate "Custom Races", now... there's an easier way to do it but it's not really adding custom races it's just replacing models with others.

You could just replace I.E. trolls with IceTrolls or Forest Troll models it's pretty simple you don't even have to edit the dbc even though I'd recommend editing it CharSections.dbc but you don't have to just rename the the files of the IceTrolls to what the Troll files are called also this way it doesn't require core editing and there you go.

I might make a guide on here if there isn't one on how to add "Custom Races" any who I hope you understand that it's better to compile your own server then to use a repack even more so if you're customizing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

jremi

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Re: Custom Races and how to rescale objects? Trinity Core
« Reply #2 on: August 03, 2014, 05:33:13 pm »
Compiling my own isn't really an option, we're unable to find any coders that will work for free, and I have no knowledge in compiling..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: Custom Races and how to rescale objects? Trinity Core
« Reply #3 on: August 03, 2014, 06:08:48 pm »
Quote from: "jremi"
Compiling my own isn't really an option, we're unable to find any coders that will work for free, and I have no knowledge in compiling..

It's pretty simple to compile a server.

http://collab.kpsn.org/display/tc/TrinityCore+Home

If you can't code then you will have to replace models instead of adding/activating old/new ones.

If you want it enough just do research and it can be done it's not hard.

P.S.

I'd recommend reverse engineering C/C++ really any coding language that's how I got started when I was 10 it's fun, now I make a living out of it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]