|
|
Модератор форума: Dimitro |
Форум » ArcEmu » ArcEmu » [ArcEmu] Телепорты ульдуара и Ониксия |
[ArcEmu] Телепорты ульдуара и Ониксия |
Надеюсь кому-нибудь надо
Ульдуар Патч в ядро: -- 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") /* 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');
Сообщение # 1 написано 07.10.2010 в 15:09
|
| |||
| |||