Hello,
I'm trying to customize a creature and bring it to life with scripts (I'm using singleplayerproject ver 2.3.7 core 28 db 19 web 11 - WoW Classic).
The first event works well: the NPCs appear as they should but whatever I do the boss remains totally silent and refuses to start dialogues.
I tried a number of modifications to the second event, copying and pasting existing data, but to no avail. There aren't many clear tutorials on how to use creature_ai_scripts.
If anyone can help me here, I'd appreciate it.
First Event (ok) :
INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES (40000101, 400001, 0, 0, 100, 1025, 4000, 9000, 4000, 9000, 0, 0, 12, 400014, 4, 60000, 0, 0, 0, 0, 0, 0, 0, 0, 'vilain');
Second Event (NO ok)
INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES (40000102, 400001, 4, 0, 15, 0, 0, 0, 0, 0, 0, 0, 1, 20000, 20001, 20002, 0, 0, 0, 0, 0, 0, 0, 0, 'Southshore Crier - Yell on Spawn');
The Vilain :
INSERT INTO `creature_template` (`Entry`, `Name`, `SubName`, `MinLevel`, `MaxLevel`, `ModelId1`, `ModelId2`, `ModelId3`, `ModelId4`, `Faction`, `Scale`, `Family`, `CreatureType`, `InhabitType`, `RegenerateStats`, `RacialLeader`, `NpcFlags`, `UnitFlags`, `DynamicFlags`, `ExtraFlags`, `CreatureTypeFlags`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `SpeedWalk`, `SpeedRun`, `Detection`, `CallForHelp`, `Pursuit`, `Leash`, `Timeout`, `UnitClass`, `Rank`, `HealthMultiplier`, `PowerMultiplier`, `DamageMultiplier`, `DamageVariance`, `ArmorMultiplier`, `ExperienceMultiplier`, `MinLevelHealth`, `MaxLevelHealth`, `MinLevelMana`, `MaxLevelMana`, `MinMeleeDmg`, `MaxMeleeDmg`, `MinRangedDmg`, `MaxRangedDmg`, `Armor`, `MeleeAttackPower`, `RangedAttackPower`, `MeleeBaseAttackTime`, `RangedBaseAttackTime`, `DamageSchool`, `MinLootGold`, `MaxLootGold`, `LootId`, `PickpocketLootId`, `SkinningLootId`, `KillCredit1`, `KillCredit2`, `MechanicImmuneMask`, `SchoolImmuneMask`, `ResistanceHoly`, `ResistanceFire`, `ResistanceNature`, `ResistanceFrost`, `ResistanceShadow`, `ResistanceArcane`, `PetSpellDataId`, `MovementType`, `TrainerType`, `TrainerSpell`, `TrainerClass`, `TrainerRace`, `TrainerTemplateId`, `VendorTemplateId`, `GossipMenuId`, `InteractionPauseTimer`, `CorpseDecay`, `SpellList`, `StringId1`, `StringId2`, `EquipmentTemplateId`, `Civilian`, `AIName`, `ScriptName`) VALUES (400001, 'Shaman Poil Putride', NULL, 12, 12, 10854, 0, 0, 0, 70, 2, 0, 6, 3, 14, 0, 0, 32768, 0, 0, 0, 0, 0, 0, 0, 1, 1.14286, 18, 0, 15000, 0, 0, 2, 3, 3, 1, 1.7, 1, 1, 1, 1697, 1697, 1500, 1500, 60, 80, 21.2784, 29.2578, 1200, 9, 100, 2000, 2000, 0, 128, 172, 1773, 1773, 0, 0, 0, 8389136, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1773, 0, 'EventAI', '');
Text 1 :
INSERT INTO `broadcast_text` (`Id`, `Text`, `Text1`, `ChatTypeID`, `LanguageID`, `ConditionID`, `EmotesID`, `Flags`, `SoundEntriesID1`, `SoundEntriesID2`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `VerifiedBuild`) VALUES (20000, 'Mourez ! Pauvres fous !', '', 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 31882);
Text 2 :
INSERT INTO `broadcast_text` (`Id`, `Text`, `Text1`, `ChatTypeID`, `LanguageID`, `ConditionID`, `EmotesID`, `Flags`, `SoundEntriesID1`, `SoundEntriesID2`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `VerifiedBuild`) VALUES (20001, 'A moi revenants !', '', 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 31882);
Text 3:
INSERT INTO `broadcast_text` (`Id`, `Text`, `Text1`, `ChatTypeID`, `LanguageID`, `ConditionID`, `EmotesID`, `Flags`, `SoundEntriesID1`, `SoundEntriesID2`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `VerifiedBuild`) VALUES (20002, 'Créatures Impies !', '', 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 31882);