[Guide] How to make LUA portals easy and noobie  too! menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] How to make LUA portals easy and noobie too!

    Hi people.
    I'm gonna say now, how you can create custom portals with Ascent in a LUA Script.

    You need this script: ( Open a notepad and save it as a .Lua exanple Teleport.Lua)


    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (MAPID, X, Y, Z)
    end
    RegisterGameObjectEvent (PORTALGUID, 2, "Teleporting_onUse")


    and then for the database:


    INSERT INTO gameobject_names
    (entry, Type, DisplayID, Name, 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
    (PORTALGUID, 1, DISPLAYID, "NAMEOFTHEPORTAL", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);


    Portalguid: Must be a number which ain't in gameobject_names table. The number must be the same in the script and in the database.
    Displayid: As example: 1327, the look of the portal.
    NameofthePortal: A name for your portal, example: "Portal to Shoppingcenter".
    Mapid: The coordinates for the teleport location, the map id, example for Azeroth: 0.
    X,Y,Z: The coordinates of the teleport location.
    As example for the coordinates: MAPID (0), -2568.733643, -2508.758789, 133.030594
    The follow example is x , y , z. When you got a position ingame, which you wanna got as teleportlocation, write ".gps" as chat message. Then you see the coordinates.

    So, now you must insert the databaseitem in your ascentdatabase.
    The script you must save in a file with the ending .lua, example: Portal.lua. Then you must create a folder in your ascent folder with the name "scripts", there you put in the .lua script.
    If u already have one just put it there lolz:P Also for those who havent enable their Lua u need to open ascent-world.config and near bottom u will see them

    I hope I could help with my tutorial for creating custom portals. There is too a solution to create portals without some scripts, but I favor the method with scripts.
    It noob and easy guide to follow...

    P.S I know this has been repost... plz dont flame me... i find this guide more usefull to use than any other ...

    P.S2 Have fun!





    EDIT---------------








    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (MAPID, X, Y, Z)
    end
    RegisterGameObjectEvent (PORTALGUID, 2, "Teleporting_onUse")






    Do u see the RegisterGameObjectEvent??? good... U see Teleport_onUse?.... good

    Oki now if u are going to make multi portals MAKE SURE that portyals doesnt have the same Teleport_onUse i mean change the value wit Teleport_onUse1 or Teleport_onUse2 ETC if u want to have ur portal working!! Also changeing the Teleport_onUse(1,2,3,4) dont forget to change the * fuction Teleport_onUse (with ur personal id number u give!!!)

    Example!!!!!

    function Teleporting_onUse 2000000(pUnit, Event, pMisc)
    pMisc:Teleport (MAPID, X, Y, Z)
    end
    RegisterGameObjectEvent (PORTALGUID, 2, "Teleporting_onUse2000000")


    This help u a lot to make EVEN UR CUSTOM LUA PORTAL EVENT!!!!! If u need more help let me know i will be glad to help u guyes out!!

    Also Try to make the portal Away from instance portal or else it will crush the server!

    P.S Have more fun now lol! :P
    P.S 2 I Add the color green on the Lua script that u need to change in order to have this work:P
    Last edited by Ellenor; 03-03-2008 at 03:48 PM.

    [Guide] How to make LUA portals easy and noobie  too!
  2. #2
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If u need help with the script post it here !! :P i can help u with lua portals...


    Dont take me as an expert cause now i am learning Lua...

  3. #3
    DarkSoulja FM's Avatar Member
    Reputation
    5
    Join Date
    Nov 2006
    Posts
    58
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ty, made 2 portals with this to, auberdine dock and grom;gol

  4. #4
    ~ViVo~'s Avatar Banned
    Reputation
    52
    Join Date
    Feb 2008
    Posts
    560
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1327
    That should be a good display ID. thanks zen
    Last edited by ~ViVo~; 02-27-2008 at 06:02 AM.

  5. #5
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    np i like to share with u all my ideas as u guyes shared them with me!!!!

  6. #6
    kate1's Avatar Member
    Reputation
    147
    Join Date
    Aug 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    didnt gastrics post something like this?


    Graphic designer for crossfire-entertainment! And thx to Brightchild for my great sig

  7. #7
    Tomac123's Avatar Sergeant Major
    Reputation
    45
    Join Date
    Jan 2008
    Posts
    162
    Thanks G/R
    9/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NICE ONE DUDE XD cant give out anymore +rep 2day XD
    <<1337

  8. #8
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol i didnt do that for rep but thx for reping me anyway:P and kate1 my guide is not gastric guide:P and people can understand it more easy

  9. #9
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update with more info about lua portal and solve the problem on haveing multi lua portals:P Read info

  10. #10
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update with more info and 1 found 1 more bug!

  11. #11
    Spartansp's Avatar Account not activated by Email
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zenneth View Post
    EVEN UR CUSTOM LUA PORTAL EVENT!!!!!
    custom lua portal event copyrights belong to me...¬¬ and that guide has same as mine also and somethings of gastric's too... now im dissapointed

  12. #12
    Blackboy0's Avatar Member
    Reputation
    70
    Join Date
    Nov 2007
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this

  13. #13
    razordemon's Avatar Member
    Reputation
    19
    Join Date
    Feb 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good jobnice good job

  14. #14
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no spartan... i waste more than 3-4 hours for this guide... and plz look it as good try and better than both gastric and yours...

  15. #15
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also Spartan Gratz for ur legendary user:P

Page 1 of 2 12 LastLast

Similar Threads

  1. [Guide]How to make Custom Class Trainers and Npc.
    By Xcynic in forum WoW EMU Guides & Tutorials
    Replies: 56
    Last Post: 07-28-2009, 02:43 PM
  2. [GUIDE] How to make a new currency and adding it to your DB
    By Warwenw in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 06-11-2009, 09:55 AM
  3. [GUIDE][NOOB-FRIENDLY]No Spell Replace: How to Make LUA Portals!
    By sasoritail in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 03-15-2009, 09:31 AM
  4. [Guide]How to make Custom Class Trainers and Npc.
    By glh290 in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 12-25-2008, 04:19 PM
  5. [Guide] How to Make Two Realms [Easy Way]
    By Blackhawk2014 in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 06-19-2008, 06:14 AM
All times are GMT -5. The time now is 02:09 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search