[Release] Custom Intro's menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    [Release] Custom Intro's



    Information:


    Basically this allows you to create your own intro for each race/faction.


    [YT]<object width="1040" height="705"><param name="movie" value="http://www.youtube.com/v/c7Qy_HEdKHY&hl=en_GB&fs=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/c7Qy_HEdKHY&hl=en_GB&fs=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="1040" height="705"></embed></object>[/YT]

    Requirements:

    -ArcEmu
    -LuaHypArc (now default with ArcEmu)
    -Basic knoledge of how to create npc's and edit Lua.

    Script:

    Code:
    local PlayerA = nil -- This will be the player we use to do the event
    local NPC_SPAWNER_A = nil -- This is the first npc we shall use
    local NPC_SPAWNER_B = nil -- This is the second npc we shall use
    
    function NPCGIA_GJOEAOJG_HXOJ(pUnit, Event)
        NPC_SPAWNER_A = pUnit -- Here we say variable is the unit
    end
    
    RegisterUnitEvent(99955, 18, "NPCGIA_GJOEAOJG_HXOJ") -- The first npc, on spawn tell the script that this is him
    
    function NPCGIA_GJOEAOJG_HXOJ_Z(pUnit, Event)
        NPC_SPAWNER_B = pUnit -- Here we say variable is the unit
    end
    
    RegisterUnitEvent(99954, 18, "NPCGIA_GJOEAOJG_HXOJ_Z") -- The second npc, on spawn tell the script that this is him
    
    function zzz_OnFirstEnterWorld(event, pPlayer) -- When they first enter world
        if PlayerA == nil then -- If a player is not being used currently, a bug check so that we do not do it two times
        local race = pPlayer:GetPlayerRace() -- We get the race of the person that we shall use
        if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then -- THIS IS THE ALLIANCE RACES, change to what you want.
            pPlayer:CastSpell(50010) -- Visual
            pPlayer:CastSpell(53658) -- Visual
            pPlayer:SetPlayerLock(1) -- Stop him moving
            pPlayer:MovePlayerTo(pPlayer:GetX(),pPlayer:GetY(),pPlayer:GetZ()+0.1, pPlayer:GetO(), 12288) -- Move him slightly to play client side effects and shizzle
            pPlayer:CastSpell(50010) -- More visuals
            pPlayer:CastSpell(28330) -- More visuals
            pPlayer:CastSpell(53658) -- More visuals
            PlayerA = pPlayer -- Here we tell the script we are now using a player
            RegisterTimedEvent("TesttestTesttestTest_zzogje", 4000, 1) -- players cant register events so we use a world event
            RegisterTimedEvent("TesttestTesttestTest_zzogje_z", 500, 2) -- See above
            else
            PlayerA = nil -- if the player is not the race we wanted, reset it
            end
        else -- if the event is in use
        pPlayer:RemoveAura(63752) -- Stop it
        pPlayer:RemoveAura(28330) -- Stop it
        pPlayer:RemoveAura(53658) -- Stop it
        end
    end
    
    function TesttestTesttestTest_zzogje_z(pUnit, Event)
        PlayerA:CastSpell(53658) -- Some random visual because moving them is buggy and disables it
    end
    
    function TesttestTesttestTest_zzogje(pUnit, Event)
        NPC_SPAWNER_A:SendChatMessage(12,0,"We got another live one!") -- ok, our first npc is doing something
        NPC_SPAWNER_A:ChannelSpell(51361, PlayerA) -- Visual
        NPC_SPAWNER_B:ChannelSpell(51361, PlayerA) -- Visual
        NPC_SPAWNER_A:RegisterEvent("SayHelloToMyLittleFriend_Z_z_Z", 5000, 1) -- now we can use the npc to control the event rather than the idiotic world event
    end
    
    RegisterServerHook(3, "zzz_OnFirstEnterWorld") -- Register the on first enter world
    
    function SayHelloToMyLittleFriend_Z_z_Z(pUnit, Event)
        local Name = PlayerA:GetName() -- Get his name
        NPC_SPAWNER_B:SendChatMessage(12, 0, "Woah, are you alright "..Name.."? Your lucky to be alive! Here let me give you a hand.") -- Send a message including his name
        NPC_SPAWNER_A:RegisterEvent("CastReviveVisualThingyTeheTeheTehe", 4000, 1) -- next event
    end
    
    function CastReviveVisualThingyTeheTeheTehe(pUnit, Event)
        NPC_SPAWNER_A:StopChannel() -- stop it
        NPC_SPAWNER_B:StopChannel() -- stop it
        NPC_SPAWNER_B:FullCastSpellOnTarget(37755, PlayerA) -- ress visual
        NPC_SPAWNER_A:FullCastSpellOnTarget(37755, PlayerA) -- ress visual
        NPC_SPAWNER_A:RegisterEvent("LetPlayerMoveaogyaohea", 2400, 1) -- reset player
    end
    
    function LetPlayerMoveaogyaohea(pUnit, Event)
        PlayerA:SetPlayerLock(0) -- let the player move
        PlayerA:CastSpell(21074) -- ress visual
        PlayerA:RemoveAura(50010) -- delete visual
        PlayerA:RemoveAura(28330) -- delete visual
        PlayerA:RemoveAura(53658) -- delete visual
        NPC_SPAWNER_A:SendChatMessage(12, 0, "There we go! You should go see if you can help around the camp now.") -- ohai a message
        NPC_SPAWNER_A:RegisterEvent("MassDespawnAndResetoajphae", 1000, 1) -- reset event
    end
    
    function MassDespawnAndResetoajphae(pUnit, Event)
        PlayerA = nil -- All we need to do is say that the slot for a creating character is nil again
    end
    How to use:

    -You will need to go into your playercreateinfo table, and disable the introid on far right for each race you want to use the intro.
    -You need to create and place two npc's in the starting location's with the id's: 99954 and 99955 (you can edit if you know how to).
    -You can change to your liking, just change the races and stuff in the script. It's pretty much self explanitory, it's all labaled. If you have questions ask.

    Credits:

    -stoneharry

    [Release] Custom Intro's
  2. #2
    RyeRye's Avatar Contributor
    Reputation
    240
    Join Date
    Aug 2008
    Posts
    996
    Thanks G/R
    0/1
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First in this epic thread +Rep.
    Thats very nice btw.
    Edit: Have to spread.



  3. #3
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ...................................................
    No words. Astounding. Need to spread :/
    Last edited by Reflection; 12-10-2009 at 04:09 PM.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  4. #4
    Tikki100's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2008
    Posts
    83
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    -----------------------------
    Nice

  5. #5
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pretty fgt like


    +9001
    If you need me you have my skype, if you don't have my skype then you don't need me.

  6. #6
    iMurloc's Avatar Site Donator
    Reputation
    5
    Join Date
    Nov 2009
    Posts
    76
    Thanks G/R
    0/3
    Trade Feedback
    13 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice! Great Job.... +Rep for being extremly productive and creative

  7. #7
    Ezio's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice , Good release.

    Web Designer Professional.

  8. #8
    Mr.Ice.Cold's Avatar Active Member
    Reputation
    26
    Join Date
    Apr 2007
    Posts
    166
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good job stone, +rep

  9. #9
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haha ninja .. I were telling you about something similar not long ago xD
    Oh well.. you deserve 2 cookies anyway for putting my ideas together into some non-buggy script
    [/COLOR]

  10. #10
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Posting in epic thread with epic text. +rep x3

  11. #11
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i got 2 words fot this post o_o
    f*cking E.P.I.C
    It's been a while

  12. #12
    Mr. Clean's Avatar Member
    Reputation
    42
    Join Date
    Jul 2009
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Release +repoz
    im on :stage1:

  13. #13
    Daskin's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your imagination continues to astound.
    Very nice script.

  14. #14
    dontblink438's Avatar Active Member
    Reputation
    22
    Join Date
    Aug 2008
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Another amazing release! +rep!

  15. #15
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking good Stoneharry.
    +Rep if I can

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] Custom LUA Instance
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 49
    Last Post: 05-12-2023, 02:55 AM
  2. [Release] Custom Headless Horseman Boss
    By Ebon in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 01-27-2008, 05:48 PM
  3. [Release] Custom 25 Man Raid Boss / Quest.
    By Drop_Warcrack in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 01-03-2008, 08:00 AM
  4. [Release] Custom Quest Commands/Subcommands
    By wowcomputer in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 12-29-2007, 05:35 PM
  5. [Release]: Custom level 80 Weapons
    By Greatdrak in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 12-15-2007, 04:19 PM
All times are GMT -5. The time now is 04:40 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