Here is a noob guide on how to add flying mounts in azeroth.I am also giving a guide on how to compile
Credz to me for making guide noob friendly and timmyvac for making a guide
Requirements
Tortoise SVN - Download | TortoiseSVN
Visual C++ 2005 - Download
Platform SDK - Filebeam - Free Fast File Hosting
Notepad
Instructions
1.Make a new folder and call it Ascent
2.Once you make it right click it and press SVN Checkout
3. In the URL put in http://projects.emupedia.com/svn/ascent/trunk/
4. A popup should appear with a username and password. For the username put Anonymous and leave the password alone, i would also advice checking the remember account box.
5.Once it is done open up the folder then src and inside there open up game.
6.Once you are in the Game folder search for Unit.cpp(if you dont know witch file is the ccpp file put your mouse over it and read its description)
7.Once you find Unit.cpp open it up with notepad.
8.Once opened press CTRL+S and type in Can't use flying auras in non-outlands and search it
9. About a couple lines above it there should be a line saying
if(m_mapId != (some mapid is here))
change the mapid(mine was 530) to 580 and save it
10.Then search for the file called SpellAuras.cpp
11.Open it up with notepad and again press CTRL+S
12.In the box put SpellAuraEnableFlight(bool apply)
13.Under that should be this
Code:
{
if(m_target->IsPlayer())
{
static_cast<Player*>(m_target)->FlyCheat = apply;
static_cast<Player*>(m_target)->flying_aura = m_spellProto->Id;
}
if(apply)
{
m_target->EnableFlight(true);
m_target->m_flyspeedModifier += mod->m_amount;
m_target->UpdateSpeed(true);
}
else
{
m_target->DisableFlight(true);
m_target->m_flyspeedModifier -= mod->m_amount;
m_target->UpdateSpeed(true);
}
}
replace the else with if(!apply)
14.Save the file and exit
And that concludes the modifying part of the guide
Go to next post for the rest of the guide.