mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10381] Implement generic system for racial model selection
Table creature_model_info store creature entry to use model from (or explicit model). The selection is based on a base modelId and racemask. Hacks for shapeshift models removed (data included in SQL update) Dropped no longer needed creature_model_info.modelid_other_team, as creature_model_info can and should be used instead (sorry, this is what happen when author doesn't do full research :) ) Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
22b515718f
commit
d0df25fd8c
13 changed files with 243 additions and 82 deletions
|
|
@ -1004,6 +1004,9 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Creature templates..." );
|
||||
sObjectMgr.LoadCreatureTemplates();
|
||||
|
||||
sLog.outString( "Loading Creature Model for race..." ); // must be after creature templates
|
||||
sObjectMgr.LoadCreatureModelRace();
|
||||
|
||||
sLog.outString( "Loading SpellsScriptTarget...");
|
||||
sSpellMgr.LoadSpellScriptTarget(); // must be after LoadCreatureTemplates and LoadGameobjectInfo
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue