[Archive] [C++]Simple script generator
[Archive] [C++]Simple script generator
Quote: Hey guys, if your making mobs or something simple you can use this tool I made to speed it up.
INPUT:
OUTPUT:
Code:
//Batman
#include <StdAfx.h>
#include <Setup.h>
#include <Base.h>
#define Batman 12345
#define spell0 66408
#define spell1 26043
#define spell2 62945
#define spell3 42869
class BatmanAI : public ArcScriptBossAI {
ARCSCRIPT_FACTORY_FUNCTION(BatmanAI, ArcScriptBossAI);
BatmanAI(Creature* pCreature) : ArcScriptBossAI(pCreature) {
AddSpell(spell0, Target_Current, 15, 0, 20);
AddSpell(spell1, Target_Current, 15, 0, 50);
AddSpell(spell2, Target_Current, 15, 0, 45);
AddSpell(spell3, Target_Current, 15, 0, 32);
}
void AIUpdate() {
ParentClass::AIUpdate();
ParentClass::AIUpdate();
}
void SetupWorldBoss(ScriptMgr* pScriptMgr) {
pScriptMgr->register_creature_script(Batman, &BatmanAI::Create);
}
Just enter the boss name, id and what spells you want it to cast and when and it'll generate a cpp script.
Enjoy
http://www.mediafire.com/?bk539yopettyc2g
Archived author: uberhak3r • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: Hey guys, if your making mobs or something simple you can use this tool I made to speed it up.
INPUT:
OUTPUT:
Code:
//Batman
#include <StdAfx.h>
#include <Setup.h>
#include <Base.h>
#define Batman 12345
#define spell0 66408
#define spell1 26043
#define spell2 62945
#define spell3 42869
class BatmanAI : public ArcScriptBossAI {
ARCSCRIPT_FACTORY_FUNCTION(BatmanAI, ArcScriptBossAI);
BatmanAI(Creature* pCreature) : ArcScriptBossAI(pCreature) {
AddSpell(spell0, Target_Current, 15, 0, 20);
AddSpell(spell1, Target_Current, 15, 0, 50);
AddSpell(spell2, Target_Current, 15, 0, 45);
AddSpell(spell3, Target_Current, 15, 0, 32);
}
void AIUpdate() {
ParentClass::AIUpdate();
ParentClass::AIUpdate();
}
void SetupWorldBoss(ScriptMgr* pScriptMgr) {
pScriptMgr->register_creature_script(Batman, &BatmanAI::Create);
}
Just enter the boss name, id and what spells you want it to cast and when and it'll generate a cpp script.
Enjoy
http://www.mediafire.com/?bk539yopettyc2g
Quote: Nice release. Like the idea behind it.
+Rep.
Archived author: Kiev • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: Nice release. Like the idea behind it.
+Rep.
Quote: Very nice share. +Rape and +Rep
Archived author: Found • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: Very nice share. +Rape and +Rep
Quote: Very niceim new in c++ and this will help em and also lots of other C++ users alot +rep
Archived author: osiri • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: Very niceim new in c++ and this will help em and also lots of other C++ users alot +rep
Quote: how do you get c++ scripts into the core?
Archived author: frathir3 • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: how do you get c++ scripts into the core?
Quote:Very nice idea +Rep no doubt
Archived author: Confucius • Posted: 2025-11-04T13:45:19.473325
Original source
Quote:Very nice idea +Rep no doubt
Quote: nicety for sharing
Archived author: alamiku • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: nicety for sharing
Quote: That sir, is EPIC WIN. +Rep!
Archived author: szotyo • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: That sir, is EPIC WIN. +Rep!
Quote: this is for? mangos or arcemu?
Archived author: malacz • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: this is for? mangos or arcemu?
Quote: arcemu
filler
Archived author: uberhak3r • Posted: 2025-11-04T13:45:19.473325
Original source
Quote: arcemu
filler