How can i change few things like:
1)what spells guards cast.
2)what monsters summons do (if cast summon, now comes only Slimes,Orcs,Skeletons and Helbound and Golems and Cyclops) I want it to be smth like Demon the best, then Minotaurus, WereWolf, Ettin and some others, can anyone tell right places to change these small things.
Thank you in advantage
How To I Change:
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
For 1, no idea.. 
For 2: Go to game.cpp search:
and change the name of npcs

For 2: Go to game.cpp search:
Code: Select all
case 10:strcpy(cNpcName, "Cyclops"); break;

okey ty but the "case" i must change case number to mob number?
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
-10 is the spell category change to 1 and more if you wana them cast as other mob....;-----Name-------------Type--HD-----DR----HR-MinBrvy-ExpMin/Max-GoldMin/Max--ADT---ADR--Size---Side-AcLmt--ATime-RstM--Magic-Day--Chat-Search-RegenTime---Attr--AbsM-MaxMana-MR--AtkRge-AreaSize
Npc = Guard-Aresden 21 155 150 330 3 1 1 0 0 3 8 0 1 0 1000 100 -10 10 1 8 10000 2 0 1000 130 5 0 110
Npc = Guard-Elvine 21 155 150 330 3 1 1 0 0 3 8 0 2 0 1000 100 -10 10 1 8 10000 2 0 1000 130 5 0 110
Npc = Guard-Neutral 21 115 150 330 3 1 1 0 0 3 8 0 0 0 1000 100 -10 10 1 8 10000 2 0 1000 130 5 0 110
Either if you wann change that only search game.cpp for NpcBehaviour_Attack(..) function.
Find :
Code: Select all
// MagicLevel -10 for guards....
if ((m_pNpcList[iNpcH]->m_cMagicLevel < 0) && (iDice(1,2) == 1) &&
(abs(sX - dX) <= 9) && (abs(sY - dY) <= 7)) {
iMagicType = -1;
if (m_pMagicConfigList[43]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana)
iMagicType = 43; // Lightning
else if (m_pMagicConfigList[37]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana)
iMagicType = 37; // Lightning-Arrow
else if (m_pMagicConfigList[0]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana)
iMagicType = 0; // Magic Missile
Remember to give more mana if necessary !
_\_ _<br> / , \__/ . \ Admin of Equilibrium Project<br> II\ \___ . O<br> III \_/ \ _ / <a href='http://www.equiprojet.com' target='_blank'>http://www.equiprojet.com</a><br> II I¯I
Thank you. I was away little, got it now <_< :rolleyes:
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />