Rocket Rescue - 8.0

pedroevil51

Gold Supporter
Senior User
155
2017
1
Ok, so i don't know how to make this npc a vehicle
i just created a gossip script to give kill credit for the quest but no the same as blizzard
https://www.youtube.com/watch?v=xtmhKhYzs4c
the quests works like this, so [MENTION=3658]eyerobot[/MENTION] or [MENTION=1]ExO[/MENTION], any ideia how to make the npc a vehicle?
 

eyerobot

Gold Supporter
Superior Member
917
2015
22
Location
Barryton Michigan USA
I started working on this the other day. Just enough to gather data mostly. But this is what i have so far.

Code:
-- 24910 Rocket Rescue

-- 40604 Steamwheedle Rescue Balloon Gossip
-- 40505 Steamwheedle Rescue Balloon Mount
-- 38534 Megs Dreadshredder

-- 75560 Deliver Life-Rocket
-- 73257 Pirate-Destroying Bomb
-- 75991 Emergency Rocket Pack
-- 46598 Ride Vehicle
-- 75738 Force Player To Summon 40505
-- 82842 Ride Rocket Rescue Balloon Kicks you off
-- 75990 Rocket Rescue balloon Armed

-- Taxinode 682 Quest Path 1843

DELETE FROM `creature_questrelation` WHERE `id`=38534 AND `quest`=24910;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (38534, 24910);

DELETE FROM `creature_involvedrelation` WHERE `id`=38534 AND `quest`=24910;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (38534, 24910);

UPDATE `quest_template` SET `Flags` = 0 WHERE `Id` = 24910;

-- 40604 Steamwheedle Rescue Balloon Gossip
UPDATE `creature_template` SET `npcflag` = 16777216 WHERE `entry` = 40604;

DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=40604 AND `spell_id`=75738;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES (40604, 75738, 3, 0);


-- 40505 Steamwheedle Rescue Balloon
UPDATE `creature_template` SET `spell1` = 75560, `spell2` = 73257, `spell3` = 75991, `AIName` = 'SmartAI' WHERE `entry` = 40505;

DELETE FROM `smart_scripts` WHERE (`entryorguid`=40505 AND `source_type`=0);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES 
(40505, 0, 0, 0, 27, 0, 100, 0, 0, 0, 0, 0, 52, 1843, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Passenger Boarded - Start Taxi");
 

pedroevil51

Gold Supporter
Senior User
155
2017
1
I started working on this the other day. Just enough to gather data mostly. But this is what i have so far.

Code:
-- 24910 Rocket Rescue

-- 40604 Steamwheedle Rescue Balloon Gossip
-- 40505 Steamwheedle Rescue Balloon Mount
-- 38534 Megs Dreadshredder

-- 75560 Deliver Life-Rocket
-- 73257 Pirate-Destroying Bomb
-- 75991 Emergency Rocket Pack
-- 46598 Ride Vehicle
-- 75738 Force Player To Summon 40505
-- 82842 Ride Rocket Rescue Balloon Kicks you off
-- 75990 Rocket Rescue balloon Armed

-- Taxinode 682 Quest Path 1843

DELETE FROM `creature_questrelation` WHERE `id`=38534 AND `quest`=24910;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (38534, 24910);

DELETE FROM `creature_involvedrelation` WHERE `id`=38534 AND `quest`=24910;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (38534, 24910);

UPDATE `quest_template` SET `Flags` = 0 WHERE `Id` = 24910;

-- 40604 Steamwheedle Rescue Balloon Gossip
UPDATE `creature_template` SET `npcflag` = 16777216 WHERE `entry` = 40604;

DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=40604 AND `spell_id`=75738;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES (40604, 75738, 3, 0);


-- 40505 Steamwheedle Rescue Balloon
UPDATE `creature_template` SET `spell1` = 75560, `spell2` = 73257, `spell3` = 75991, `AIName` = 'SmartAI' WHERE `entry` = 40505;

DELETE FROM `smart_scripts` WHERE (`entryorguid`=40505 AND `source_type`=0);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES 
(40505, 0, 0, 0, 27, 0, 100, 0, 0, 0, 0, 0, 52, 1843, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Passenger Boarded - Start Taxi");

So, to make a npc move with the player, we have to put a taxi node? got it..
 

eyerobot

Gold Supporter
Superior Member
917
2015
22
Location
Barryton Michigan USA
The creature has to have a vehicle id number before you can use it. 40604 didn't have one, So i searched for the name of the balloon, And sure enough there was another one with a vehicle id number. Then i use the spell 75738 to force the player onto the balloon. But so far i haven't gotten the balloon to follow waypoints, Or activate a taxi path. I played with it a little, And then my new computer came in the mail, And i've spent the last couple days setting it up. And transferring all my stuff. So it's on hold.
 
Top