How to make a Game Object teleport u some were with out a spell menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make a Game Object teleport u some were with out a spell

    Ok well i need to get the stuff up (posting and stuff to get my stuff back like yeah im in lazy leachers wtf any lol
    This is all done by me Illidan1 No 1 else
    here is a guide how to make a Gameobject's Teleport u anywere with out useing a premade spell
    u can also change the Location of the gameobject For diffrent Races and this is all done buy GM scripting here yeah go \/


    Make sure u read all of these for it to work

    Step 1: you need a Gameobject This is what u will have to do

    Step 1 a : Open your Database and go to Gameobject_Names In there u will see the Following
    Code:
    entry Type DisplayID Name sound0 sound1 sound2 sound3 sound4 sound5 sound6 sound7 sound8 sound9 unknown1 unknown2 unknown3 unknown4 unknown5 unknown6 unknown7 unknown8 unknown9 unknown10 unknown11 unknown12 unknown13 unknown14
    Ok all u will need to do for this is the
    Code:
    Entry, Type , DisplayID, and Name
    Step 2 : In the Follow

    Entry = The Spawn Id of your GameObject (Eg .go spawn (ID)


    Type = The Type of Gameobject and this is going to be portal so the type will be 22


    DisplayID = The Display ID of the Gameobject, Here is some Common Display ID \/

    1327 = Summoning Portal
    4393 = Darnassus
    4396 = Stormwind
    4394 = Ironforge
    4398 = Undercity
    4395 = Orgrimmar
    4397 = Thunder Bluff
    6956 = Silvermoon
    6955 = Exodar

    Name = The name of your Portal (Eg Portal to MAll, Portal to Arena) You should no

    Ok now Once that is done u can leave all the other Things like Sound0 - 9 and unknow1 - 14 all at 0

    here is an Easy Template for you

    Code:
    INSERT INTO `gameobject_names` (`entry`,`Type`,`DisplayID`,`Name`) VALUES ('Entry','Type','DisplayID','Name)


    Step 3 : Make the GM Script U can use this Template down \/
    Things in red u need to change
    How to use the Template look down

    Code:
    global Event_Name=function(plr)
    {
    //alliance
       if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
                return 1;
        }
    
       if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
                return 1;
        }
    
           if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
                return 1;
        }
    
           if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
                return 1;
        }
    
       	if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    //horde
      	 if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    
     	  if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    
     	  if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    
      	 if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    
     	  if(plr.GetRace() == RaceID)
        {
           plr.Teleport(Map, x, y, z);
        }
    
    };
    
    .RegisterGameObjectEvent(GameobjectID, 2, Event_Name);
    Ok how to use the Template \/

    Step 4 : All the things in red is the things u need to put in your self

    Step 5 : Open a note Pad or Txt Document and Copy and Paste that Template into it and then start modifyign it with Steps below

    Step 6 : Event_Name = That will be the name of your Event like if it is a portal to stormwind for Alliance and portal to Orgrimmar for Horde it can be Tele_Storm_Org Or what ever u are using it for

    Step 7 : For RaceID u need to put the Id of the Race, Here is a list fo all the races \/

    1 Human
    2 Orc
    3 Dwarf
    4 Night Elf
    5 Undead
    6 Tauren
    7 Gnome
    8 Troll
    10 Blood Elf
    11 Draenis

    Step 8 : now for the MapId is the Id of the Map here is soem common ones
    0 = Eastern Kingdoms
    1 = Kalimdor
    530 = Outland

    To find out what the Map Id is for a zone go to the zoen u wont your Port to eb and press .gps and it will come up With Map Id, Zone Id, x, y, z, 0 We will be using them later aswell



    Step 9 : And well for x, y, z You can go to were you wont the protal to send that player when they click on it and press .gps and it will bring up info
    MapID, ZoneID ,x ,y ,z

    And in the MapID ,x ,y ,z Part of the Template put the Cords that came up


    Step 10 : .RegisterGameObjectEvent(GameobjectID, 2, Event_Name); = the Spawn Id of your Gameobject u made in step 1 - 2

    Step 11: .RegisterGameObjectEvent(GameobjectID, 2, Event_Name); = the same thign ass u put in at Step 6

    Step 12 : Nameing it is the hard part well kind nto really Now when your done Modifyign it go to File > Save as > and put it as all Files and call it like (If your doing Stormwind for Alliance and Orgrimmar for Horde MaincityPort or somthign liek that but this si the thign once your Named it put a .gm
    At the end of what u called it so if i called it Maincityport it woudl be Maincityport.gm

    Step 13 : save it to your Desktop or some were u know were it is

    Step 14 : Now were u Have to put it u must put it in your Server's Ascent scripts Folder i am using Ac web so it would be in the folder \/

    C:\AC Web Ultimate Repack\Ascent\scripts

    If u dont have a scripts folder make 1 and just put that Notepad in that Folder and then in your Ascent cmd box type
    reloadscripts or in game type .reloadscripts or restart your server


    and in game u spawn your Portal press .go spawn (ID u chose)


    Thank you for readering i hope this giss me my Sig back adn stuff :wave:
    Last edited by Illidan1; 10-28-2007 at 02:18 PM.

    How to make a Game Object teleport u some were with out a spell
  2. #2
    Avatori's Avatar Member
    Reputation
    6
    Join Date
    Sep 2007
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Woah, nice guide, thanks m8.
    +rep

  3. #3
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Originally Posted by Avatori View Post
    Woah, nice guide, thanks m8.
    +rep
    Thank You
    Last edited by Illidan1; 10-28-2007 at 07:00 AM.

  4. #4
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Another good post illidan, +4rep
    Life Puzzler WoW - Website | Forums

  5. #5
    Sprackle's Avatar Contributor
    Reputation
    80
    Join Date
    Sep 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    veeeeery nice

  6. #6
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Thanks guys ill be puting up more Guides soon after school :wave:

  7. #7
    freshfish's Avatar Member
    Reputation
    7
    Join Date
    Sep 2007
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    :P This was exactly what i was looking for m8, your my hero hehe

  8. #8
    secretdragon008's Avatar Member
    Reputation
    43
    Join Date
    Sep 2007
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    most i change every thing in that script file in red to get it to work?
    i mean,can i use only a gnome race,and leave the rest as it is.

    hm,i cant get this to work,i have changed all the red text in the file.
    i get when i use it,maybe 3 sek of a spell, Word of Recall (OLD), after that a sound..and nothing happends.
    Last edited by secretdragon008; 11-01-2007 at 09:20 PM.

  9. #9
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Tell me what you wont
    i mean like
    what the Gameobject Id is
    were you wont it location to be like Map Id, X, Y, Z
    And tell me do you only wont a gnome to use the portal?

  10. #10
    secretdragon008's Avatar Member
    Reputation
    43
    Join Date
    Sep 2007
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Originally Posted by Illidan1 View Post
    Tell me what you wont
    i mean like
    what the Gameobject Id is
    were you wont it location to be like Map Id, X, Y, Z
    And tell me do you only wont a gnome to use the portal?
    mapid=30,x=220.397079,y=-886.941589,z=207.137222.
    No i dont want only a gnome to use it,
    i have editet my file so all the races can use it.
    but it wont work.
    i think maybe it is becuse i cant make that file a gm file.
    its says its just a text file. i have put the .gm after the name.
    Last edited by secretdragon008; 11-02-2007 at 09:08 AM.

  11. #11
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Ahh lol
    When your done modifying it
    Go to File , Save as
    And then change it to All Files and then name
    it What every with a .gm
    After
    It will make a new Note Pad Not the
    Txt Document find the name of the one you made were you saved it

  12. #12
    secretdragon008's Avatar Member
    Reputation
    43
    Join Date
    Sep 2007
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Originally Posted by Illidan1 View Post
    Ahh lol
    When your done modifying it
    Go to File , Save as
    And then change it to All Files and then name
    it What every with a .gm
    After
    It will make a new Note Pad Not the
    Txt Document find the name of the one you made were you saved it
    Yes now it almost works,the file is a gm file now.
    but i got an error in the ascent.exe now,here it is:

    Errors occured while compiling scripts/Portal to the Frost Field.gm.
    GM_Debugg: error <1> parse error

  13. #13
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    secretdragon008 what is the Id of the Gameobject
    you wont to use?

  14. #14
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Btw, GM scripts are no longer supported by Ascent : /
    Life Puzzler WoW - Website | Forums

  15. #15
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make a Game Object teleport u some were with out a spell

    Yes they are now ".Lua" instead fo ".gm"
    Say's Lua is easier looks alot hard to me

Page 1 of 2 12 LastLast

Similar Threads

  1. [Guide] How to make a item to teleport you
    By *Icy* in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 12-02-2008, 01:02 AM
  2. How to make a Warp NPC/Teleporter NPC
    By Krunkage in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 10-01-2008, 07:32 AM
  3. How to make a Game object!!
    By ***Munchy*** in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 08-24-2008, 02:54 PM
  4. How to make game objects teleport with LUA!
    By Le Froid in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 01-02-2008, 06:59 PM
  5. How do I keep game objects forever. PLZ HELP!
    By chocodog in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 10-01-2007, 09:20 PM
All times are GMT -5. The time now is 08:31 PM. 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