• Страница 1 из 1
  • 1
Модератор форума: Dimitro  
Телепорты ульдуара и Ониксия
Taumer
root@localhost
Надеюсь кому-нибудь надо
Ульдуар
Патч в ядро:
Code
-- Ulduar Teleporter pads
      -- coded by xalcon
--remake by newmoon
       ul_locations = { { "Expedition Base Camp", { -707.3, -92.7, 430.3 } },
                        { "Formation Grounds", { 132.2, -35.4, 410.3 } },
            { "Colossal Forge", { 554.4, -12.2, 410.1 } },
            { "Scrapyard", { 927.1, -11.4, 419 } },
                        { "Antechamber of Ulduar", { 1499, -24, 421 } },
            { "Shattered Walkway", { 1859, -24, 449 } },
            { "Conservatory of Life", { 2102.2, -24, 421.244 } },
            { "Spark of Imagination", { 2520, 2569, 412.5 } },
            { "Descent into Madness", { 1853.4, -24.7, 334.2 } }, }
      ul_mapid = 603
      -- Dynamic Teleport-List Builder <img src="http://s8.ucoz.net/sm/1/biggrin.gif" border="0" align="absmiddle" alt="biggrin">      
      function UL_TeleportOnView(pUnit, event, player)
          pUnit:GossipObjectCreateMenu(100, player, 0)
          for i=1, table.getn(ul_locations), 1 do      
           pUnit:GossipObjectMenuAddItem(0, ul_locations[i][1], i, 0)
        end
        pUnit:GossipObjectSendMenu(player)
      end
      function UL_TeleportOnUse(pUnit, event, player, id, intid)
          player:GossipComplete()
          local x = ul_locations[intid][2][1]
          local y = ul_locations[intid][2][2]
          local z = ul_locations[intid][2][3]
          player:Teleport(ul_mapid,x,y,z)
      end
      RegisterGameObjectEvent (194569, 4, "UL_TeleportOnView")
      RegisterGOGossipEvent(194569, 2, "UL_TeleportOnUse")

Залить в базу

Code
/*
Ulduar Teleport Pads Spawn-Patch
      -- coded by xalcon
--remake by newmoon
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
replace into `gameobject_names` (`entry`, `Type`, `DisplayID`, `Name`, `Name2`, `Name3`, `Name4`, `Category`, `CastBarText`, `UnkStr`, `Size`, `QuestItem1`, `QuestItem2`, `QuestItem3`, `QuestItem4`, `spellfocus`, `sound1`, `sound2`, `sound3`, `sound4`, `sound5`, `sound6`, `sound7`, `sound8`, `sound9`, `unknown1`, `unknown2`, `unknown3`, `unknown4`, `unknown5`, `unknown6`, `unknown7`, `unknown8`, `unknown9`, `unknown10`, `unknown11`, `unknown12`, `unknown13`, `unknown14`) values('194569','10','8632','Ulduar Teleporter','','','','','','','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','1','0','10389','1','0     ','0','0');

replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('56834','194569','603','-707.122','-92.6024','429.876','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('56870','194569','603','132.248','-35.3802','409.804','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('56875','194569','603','554.233','-12.3247','409.679','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('56888','194569','603','927.292','-11.4635','418.595','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('57002','194569','603','1499.132','-24.209','420.967','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('57003','194569','603','1859','-24','449','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('57004','194569','603','2102.241','-23.966','421.244','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('57005','194569','603','2520','2569','412.3','0','0','0','0','0','1','32','0','1','0');
replace into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('57006','194569','603','1853.4','-24.7','334.167','0','0','0','0','0','1','32','0','1','0');

Ониксия
[download]{ТЫК}[/download]

Прикрепления: 3034861.sql (40.4 Kb)
Сообщение # 1 отредактировано Taumer - Воскресенье, 08.11.2009, 11:57
  • Страница 1 из 1
  • 1
Поиск: