Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hello quick question, looking to get into sripting some content. However i have a quick question wha

[DiscordArchive] Hello quick question, looking to get into sripting some content. However i have a quick question wha

[DiscordArchive] Hello quick question, looking to get into sripting some content. However i have a quick question wha

rektbyfaith
Administrator
0
12-15-2022, 02:20 PM
#1
Archived author: Cj • Posted: 2022-12-15T14:20:18.958000+00:00
Original source

Hello quick question, looking to get into sripting some content. However i have a quick question what table do these ID's point to? its obviously gossip or npc_text or something but i cant cant find the reference to these ID's (Also may mention its probably obvious and im a beginner cpp dev, i come from c#)

I also come from mainly doing 3.3.5a things so these tables are vastly different from what im used to

Also have a second question actually: Whats the difference between `SmartAI` and `ScriptedAI`?
[Image: image.png?ex=690c05e2&is=690ab462&hm=50f...6f416c5c1&]
rektbyfaith
12-15-2022, 02:20 PM #1

Archived author: Cj • Posted: 2022-12-15T14:20:18.958000+00:00
Original source

Hello quick question, looking to get into sripting some content. However i have a quick question what table do these ID's point to? its obviously gossip or npc_text or something but i cant cant find the reference to these ID's (Also may mention its probably obvious and im a beginner cpp dev, i come from c#)

I also come from mainly doing 3.3.5a things so these tables are vastly different from what im used to

Also have a second question actually: Whats the difference between `SmartAI` and `ScriptedAI`?
[Image: image.png?ex=690c05e2&is=690ab462&hm=50f...6f416c5c1&]

rektbyfaith
Administrator
0
12-15-2022, 02:45 PM
#2
Archived author: Tea • Posted: 2022-12-15T14:45:46.807000+00:00
Original source

GOSSIP_MENU points to gossip_menu/gossip_menu_options table, GOSSIP_TEXT points to npc_text
rektbyfaith
12-15-2022, 02:45 PM #2

Archived author: Tea • Posted: 2022-12-15T14:45:46.807000+00:00
Original source

GOSSIP_MENU points to gossip_menu/gossip_menu_options table, GOSSIP_TEXT points to npc_text

rektbyfaith
Administrator
0
12-15-2022, 02:46 PM
#3
Archived author: Cj • Posted: 2022-12-15T14:46:11.789000+00:00
Original source

Thank you
rektbyfaith
12-15-2022, 02:46 PM #3

Archived author: Cj • Posted: 2022-12-15T14:46:11.789000+00:00
Original source

Thank you

rektbyfaith
Administrator
0
12-15-2022, 03:26 PM
#4
Archived author: ModoX • Posted: 2022-12-15T15:26:47.432000+00:00
Original source

SmartAI is "db scripting" aka it uses smart_scripts table for its behavior. (Thats set in AIName field in db)
Everything else set in ScriptName is C++ code (which is a class inheriting ScriptedAI in most cases [there are rare stuff like bosses which use BossAI, which is implicitly inheriting ScriptedAI])
rektbyfaith
12-15-2022, 03:26 PM #4

Archived author: ModoX • Posted: 2022-12-15T15:26:47.432000+00:00
Original source

SmartAI is "db scripting" aka it uses smart_scripts table for its behavior. (Thats set in AIName field in db)
Everything else set in ScriptName is C++ code (which is a class inheriting ScriptedAI in most cases [there are rare stuff like bosses which use BossAI, which is implicitly inheriting ScriptedAI])

rektbyfaith
Administrator
0
12-15-2022, 03:29 PM
#5
Archived author: Cj • Posted: 2022-12-15T15:29:01.217000+00:00
Original source

Thank you for the explanation, that makes way more sense to me now
rektbyfaith
12-15-2022, 03:29 PM #5

Archived author: Cj • Posted: 2022-12-15T15:29:01.217000+00:00
Original source

Thank you for the explanation, that makes way more sense to me now

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)