Forums WoW Modding Resources Tools [Archive] [C++]Simple script generator

[Archive] [C++]Simple script generator

[Archive] [C++]Simple script generator

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#1
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:

[Image: ss2fo.jpg]

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
rektbyfaith
11-04-2025, 12:45 PM #1

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:

[Image: ss2fo.jpg]

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

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#2
Archived author: Kiev • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Nice release. Like the idea behind it.

+Rep.
rektbyfaith
11-04-2025, 12:45 PM #2

Archived author: Kiev • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Nice release. Like the idea behind it.

+Rep.

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#3
Archived author: Found • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Very nice share. +Rape and +Rep
rektbyfaith
11-04-2025, 12:45 PM #3

Archived author: Found • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Very nice share. +Rape and +Rep

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#4
Archived author: osiri • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Very nice [Image: wink.png] im new in c++ and this will help em and also lots of other C++ users alot +rep
rektbyfaith
11-04-2025, 12:45 PM #4

Archived author: osiri • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: Very nice [Image: wink.png] im new in c++ and this will help em and also lots of other C++ users alot +rep

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#5
Archived author: frathir3 • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: how do you get c++ scripts into the core?
rektbyfaith
11-04-2025, 12:45 PM #5

Archived author: frathir3 • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: how do you get c++ scripts into the core?

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#6
Archived author: Confucius • Posted: 2025-11-04T13:45:19.473325
Original source

Quote:Very nice idea +Rep no doubt [Image: smile.png]
rektbyfaith
11-04-2025, 12:45 PM #6

Archived author: Confucius • Posted: 2025-11-04T13:45:19.473325
Original source

Quote:Very nice idea +Rep no doubt [Image: smile.png]

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#7
Archived author: alamiku • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: nice [Image: biggrin.png] ty for sharing
rektbyfaith
11-04-2025, 12:45 PM #7

Archived author: alamiku • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: nice [Image: biggrin.png] ty for sharing

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#8
Archived author: szotyo • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: That sir, is EPIC WIN. +Rep!
rektbyfaith
11-04-2025, 12:45 PM #8

Archived author: szotyo • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: That sir, is EPIC WIN. +Rep!

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#9
Archived author: malacz • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: this is for? mangos or arcemu?
rektbyfaith
11-04-2025, 12:45 PM #9

Archived author: malacz • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: this is for? mangos or arcemu?

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#10
Archived author: uberhak3r • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: arcemu

filler
rektbyfaith
11-04-2025, 12:45 PM #10

Archived author: uberhak3r • Posted: 2025-11-04T13:45:19.473325
Original source

Quote: arcemu

filler

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)