Custom Portals

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Custom Portals

      In this tutorial I will show you how to enable db portals and how to create a portal.

      1. Create a Portal
      Pay attention to the following points:
      - gameobject_names-> type = 10
      - gameobject_names-> sound2 = 1

      The table gameobject_teleports should be self-explanatory (id of the gameobject, x, y, z, o, and min-level for players to use it).

      SQL-Abfrage

      1. INSERT INTO gameobject_names
      2. (`entry`, `Type`, `DisplayID`, `Name`, `Category`, `CastBarText`, `UnkStr`, `spellfocus`, `sound1`, `sound2`, `sound3`, `sound4`, `sound5`, `sound6`, `sound7`, `sound8`, `sound9`, `unknown1`, `unknown2`, `unknown3`, `unknown4`, `unknown5`, `unknown6`, `unknown7`, `unknown8`, `unknown9`, `unknown10`, `unknown11`, `unknown12`, `unknown13`, `unknown14`, `Size`, `QuestItem1`, `QuestItem2`, `QuestItem3`, `QuestItem4`, `QuestItem5`, `QuestItem6`)
      3. VALUES
      4. (700000, 10, 6831, 'Custom Portal', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
      5. INSERT INTO gameobject_teleports
      6. (`entry`, `mapid`, `x_pos`, `y_pos`, `z_pos`, `orientation`, `required_level`)
      7. VALUES
      8. (700000, 1, -1304.57, 205.285, 68.6814, 0, 1);


      All questions about compiling and general scripting will not be answered in this tutorial.

      Best wishes
      Zyres
      Bilder
      • index.jpg

        49,09 kB, 940×211, 27 mal angesehen