Thread: Making a boss to your server, Ice queen!

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Making a boss to your server, Ice queen! 
    I Sell 07 Gold PM Me

    Join Date
    Jan 2007
    Age
    24
    Posts
    1,522
    Thanks given
    48
    Thanks received
    79
    Rep Power
    280
    What's this for? It's to make a boss in your server, like what? Well you got to find out.
    This tutorial is working on my server, AlexScape 2, hm... most of you guys may think this is dumb in the first place. But look into it, you should find out whats the point of this. If you have dumb weapons like Dragon Scim. as a super-weapon or admin-weapon. You should remove it because this monster drops it, you can change it too. Anyways let's begin.

    Step 1. Open your autospawn.cfg.

    Step 2. Put this in there.

    Code:
    spawn = 795	2836	3423	0	0	0	0	0	0	ice queen
    Now close and save it.

    Step 3. Open client.java.

    Step 4. Search for "case 72: //Click to attack" or just "case 72".

    Step 5. Now under the first "boolean slayer = true;" in there.

    Step 6. Add this.

    Code:
                                    if(server.npcHandler.npcs[attacknpc].npcType == 795)
                                    {
                                    hitDiff = 5;
    				hitUpdateRequired = true;
    				updateRequired= true;
                                    }
    Close and save it.

    Why did you add that? Because this can make it more like a boss, but she's weak! Don't worry, I'm going add spells for her to use later on. This also helps her against archers and mages.


    Step 7. Okay, Now... Open npchandler.java.

    Step 8. Search for this.

    Code:
                                                    AttackPlayerMage(i);
                                                    else
    						AttackPlayer(i);
    Step 9. Now under you should see something alike this.

    Code:
    npcs[i].npcType == 1645 ||
    Step 10. Add this in front of it.

    Code:
    npcs[i].npcType == 795 ||
    Step 11. Then there should be a another line under alike that.

    Step 12: Add the same thing in front of it the same way.

    Step 13. Now search for "public void MonsterDropItem(int NPCID)".

    Step 14. Add this in it.

    Code:
    if(npcs[NPCID].npcType == 795) {
    ItemHandler.addItem(4587, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
    }
    Step 15. Search for this.

    Code:
                                                   npcs[NPCID].animNumber = 711; // mage attack
                                                   if(npcs[NPCID].npcType == 1645) {
                                                   p.stillgfx(369, p.absY, p.absX);
                                                   hitDiff = 6 + misc.random(43);
                                                   }
    Step 16. Now add this under it.

    Code:
                                                   if(npcs[NPCID].npcType == 795) {
                                                   gfxAll(369, EnemyY, EnemyX);
                                                   hitDiff = 24 + misc.random(10);
                                                   }
    Why? So she can mage! Smart one.

    Now close and save it. Compile like always. Then you're done.

    Hm... Are you thinking what I'm thinking? A place for it heh? Sorry but. You got to do that you're self.

    Hm... You may think this is lame, want some pictures? (Some parts not shown in this tutorial.)

    I hope you really like it and not flame or leech it. So anyways.... It's time for me to go, bye and see you next time!

    This is 100% made by me (AlexBeta). Please do not leech it. No point. =/




     

  2. #2  
    danty
    Guest
    Nice - this'll also help people learn how to add monsters, attacks, and drops to anywhere in the game. Useful tut.
     

  3. #3  
    I Sell 07 Gold PM Me

    Join Date
    Jan 2007
    Age
    24
    Posts
    1,522
    Thanks given
    48
    Thanks received
    79
    Rep Power
    280
    Thank you. I hope this really help not just to rate.
     

  4. #4  
    Banned
    Join Date
    Jul 2006
    Age
    33
    Posts
    281
    Thanks given
    2
    Thanks received
    2
    Rep Power
    0
    Wow... < Im sure you leeched this Idea from my server?
     

  5. #5  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    This tut helps me add mage attacks for npcs. Ty

    Attached image

     

  6. #6  
    Crazy Cam10
    Guest
    Finally, Now I Can Fix Meh Noobie Monster
     

  7. #7  
    Impulse_X
    Guest
    Sorry, but adding a number to a line isn't good
     

  8. #8  
    I Sell 07 Gold PM Me

    Join Date
    Jan 2007
    Age
    24
    Posts
    1,522
    Thanks given
    48
    Thanks received
    79
    Rep Power
    280
    First of all, I don't go to your servers. So, this is my idea, second of all, this tutorial helps a lot of people that didn't know how to make monsters use magic, and this tutorial was rated 4/5 on my server, so if you want to hound tutorials, don't even think about hounding this one. I just hope you understand your title didn't mean you can hound everyone, Mr. Dune.
     

  9. #9  
    Registered Member
    BamBam's Avatar
    Join Date
    Jan 2007
    Posts
    270
    Thanks given
    24
    Thanks received
    8
    Rep Power
    153
    Old news, but i guess it has helped the users above, so good job. even though its a spin-off tutorial.

    Runekeep®
     

  10. #10  
    LvL 3 Night Elf

    SandyBridge's Avatar
    Join Date
    Jul 2007
    Age
    31
    Posts
    796
    Thanks given
    6
    Thanks received
    10
    Rep Power
    140
    what next mini-bosse's?

     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Making a Blue key or whatever color boss!
    By Caveman in forum Tutorials
    Replies: 5
    Last Post: 09-21-2010, 01:03 AM
  2. Replies: 10
    Last Post: 11-25-2009, 05:14 PM
  3. Replies: 8
    Last Post: 11-17-2007, 05:44 AM
  4. Replies: 6
    Last Post: 05-09-2007, 12:35 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •