Jump to content

Write Custom bosses without ScriptDev2 in C++


Recommended Posts

Posted
Is this possible? If yes , same functions as ScriptDev2 usage? and which headers should i include?

Thank you!

No, some functions in ScriptDev2 are provided by ScriptDev2, like DoMeleeAttackIfReady().

You can use ScriptDev2 but remove all the scripts if you want.

  • 4 weeks later...
Posted

EventAI has limits now, but imo, in the future, it should become the main boss-scripting system. It's fun to script boss in C++ with ScriptDev2, but having a great SQL-based feature would be better for all

Posted

yes and no ;)

perhaps it was better to use some DB-based engine like rsa/sart does for SD2 scripts, and (re)simplify EventAI,

but complex bosses will need C++ in 'any' way, so the least we can do is put some parts of the SD2 scripts into the DB, but never the whole script

Posted

I agree with you, and I'll go even more for the "no" this time ^^

It would be annoying to have half of the script in the DB and half in C++. So, at the moment it's better to script them in C++.

Posted

I seriously don't see what people like in DB scripting...

even without programming knowledge C++ scripts are more readable in my opinion, finding/doing something in EventAI is goddamn annoying (but its just my small opinion) :P

Posted

well, I think whether SD2 script or EventAI script is easier to read this is really just the question how much one is used to it.

But coding the ~4000-5000 mobs that are done with Acid in SD2 - good luck for readability and maintaining these scripts

Posted
I seriously don't see what people like in DB scripting...

even without programming knowledge C++ scripts are more readable in my opinion, finding/doing something in EventAI is goddamn annoying (but its just my small opinion) :P

It's annoying at the beginning, but when you get used to it, it will take less time to script a boss using EventAI than with SD2. And even less time if we had a nice boss-creating tool that would traduce what we want in SQL.

But coding the ~4000-5000 mobs that are done with Acid in SD2 - good luck for readability and maintaining these scripts

+1

It's a question of good sense, the perfect way would be no C++ scripts at all, only DB-based boss, even if scripting in C++ in a lot more interesting than EventAI.

But for now, EventAI is not complete enough to do everything we want.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use