How to make custom NPC's with Loot and Quest and how to make custom quest, and get them ingame, without restarting the server.
Code:
Introduction:
1 - Making a Custom NPC
2 - Adding itemdrop to a NPC
3 - Making a custom quest
4 - Hot to add a quest to the NPC
5 - Making custom items, and adding it
6 - How to add a newly created item in-game without restarting the server
---------------------------------------------------------------
1 Let's get started! - Making a Custom NPC
Open your Database, it could be Navicat, SQLyog or Heidi SQL.
Go to the one called Creature_names, open it and press the last page button. Scroll down, and click the + .
Entry: The ID you want to enter to add the NPC, I will put 600029.
Name: The name of the NPC. I will put Welcome NPC.
Subname: The name underneith the NPC's name, you don't have to add anything here, but it looks better with a subname. I will put Welcome to the server!
Info_str: Set this to 0
Flags1: set this to 0 as well. ( 3 is hostile mob )
Type: 3 or 7. I'm gonna put 7.
Family: If the NPC belongs to a family. I'm gonna put 0 here.
Rank: The rank of the NPC ( Elite, Rare Elite etc ) i'm gonna put 4 here.
4 is the strongest, 1 is the weakest. This has no affect on the damage or anything like that though. So it doesn't matter.
Unk4: Needs to be set at 0.
SpelldataID: If you want the NPC to use a spell. I'm gonna put 0 here.
Male_displayID: This is the tricky part, you will have to know the Display ID of the NPC. I'm gonna put 19386 (picture: )
Female_displayID: if you want the NPC to have a girl model as well.
Male_displayID2: Needs to be 0
Female_displayID2: Needs to be 0
Unknown_float1: Default 1
Unknown_float2: Default 1
Civilan: If the NPC is gonna be a civilian. I'm gonna put 1 here.
Leader: if the NPC is a leader. I'm gonna put 1 here.
( Find DisplayID here: Vampiricdust's Scripts )
Then go to the Creature_proto table.
Entry: the entry ID you made for the last NPC. Wich was 600029.
Minlevel: The minlevel, since i'm gonna have the same level all the time i'm gonna put 100 for both minlevel and maxlevel.
Maxlevel: The max level for the creature. I'm gonna put 100.
Faction: 37=hostile , 1741= Neutral.
Minhealth: The minimum amount of health pf the NPC. I'm gonna put 100000 for both minhealth and maxhealth.
Maxhelath: The max amount of health of the NPC. I'm gonna put 100000
Mana: The Mana of the npc. i'm gonna put 100000
Scale: The scale of the NPC. I'm gonna put 1. Wich is the normal size if the NPC hasn't been modified. Like Onyxia, if you .modify scale 1 that it will shrink from it's normal size.
NPCflags: 128= Talkable NPC Vendor
Attacktime: I will set it as 2700 ( 2,7 sec between each hit )
Attacktype: Leave it at 0
Mindamage: The minimumdamage: I'm gonna set 50000
Maxdamage: The maxdamag. i'm gonna put 100000
Rangedattacktime: 0
Rangedmindamage: 0
Rangedmaxdamage: 0
- Everything from Mountdisplay to Respawntime set to 0. -
Respawntime: 1
Armor: 0
Resistance 1-6: 0
Combat Reach: 1
Bounding Radius: 1
Auras: Leave at 0
Boss: If it is a boss ( skull at any level ) leave at 1.
Money: The money the NPC drop.
Invisibility_type: 0
DeathState: 1
Wealk speed: Default at 2,5
Runspeed: 8
Flyspee: 14
Extra a9 Flags: Leave at 0
Save it and close it, then go ingame and do the command: .npc spawn 600029 ( change 600029 to the Entry ID of your NPC )
And you are finished!
-------------------
2 Adding items to a NPC
Open up Creatureloot.
Index: Anything above 4 000 000 will work.
EntryID: The EntryID of the NPC.
ItemID: The itemID of the item you want the NPC to drop.
Percentchance: Any number will do, even 1 equals EVERY SINGLE time you kill that npc.
Heroicpercentchance: leave at 0
Mincount: the min muber for the item to drop.
Maxcount: The maximum number for the item to drop per NPC.
Ffa_loot: leave at 0
And you are finished! The NPC will now drop the new item.
-------------------------------------------
3 Making a custom quest!
Open up the Quests table.
Entry: The entry ID of the quest, the entryid of the quest to add to the NPC.
ZoneID: leave at 0
Sort: leave at 0
Flags: 4= Chain quest, 8= one time only quest.
Minlevel: the minimumlevel to be able to accept the quest. i'm gonna put 1. As it's a welcome quest.
Questlevel: The level of the quest. I'm gonna put 80
Type: Leave at 0
Required Race: Leave at 0
Required Class: Leave at 0
Required Tradeskill: Leave at 0
Required Rep Faction: Leave at 0
Required Rep Value: Leave at 0
Limit time: Leave at 0
Prev Quest ID: The Previous Quest ID. I'm gonna put 0, as it's not a chain quest.
Next Quest ID: the next Quest ID. I'm gonna put 0, as it's not a chain quest.
ScrItem: Leave at 0
ScrItemCount: Leave at 0
Title: The Title of the quest. I'm gonna put Welcome Message.
Details: The quest details. I left a message to new players there.
Objectives: The quest objectives. I'm gonna put Return to the Welcome Panda.
Completion Text: The text at the end of the quest after completion. I'm gonna put Welcome to the server!
IncompleteQuest: Leave blank if you don't want to have anything here.
EndText: Leave blank if you don't want to have anything here.
ObjectiveText 1 - 4: Leave the same on all. I'm not gonna put anything there.
ReqItemID1: I'm gonna put 0, since it's a talk quest.
ReqItemID 2 - 4: Leave blank, or add the ID if you want several required items.
ReqItemcount: Leave 1 if you only need one of the item, or put more if you want to do that. I'm gonna leave blank.
ReqitemCount 2-4: i'm gonna put blank.
Reqkillmoborgoid1 and Reqkillmoborgocount: Leave at 0.
- Leave the rest until RewMoney at 0 -
Rewmoney: how much gold you will be rewarded. I'm gonna put 50000 ( 5g )
RewXP: how much XP you get from the quest. i'm gonna put 0.
RewSpell: If you want to add a Spell reward to the quest.
- Leave the rest at 0 -
And you are finished! Look below to know how to add it to a NPC!
-----------------------------------------------------------------------
4 How to add quest to a NPC!
Target the NPC and type .quest addstart <id>
And to the finish NPC: Type .quest addfin <id>
Then open the server and add the quest.
------------------------------------------------------------------------
5 Making a custom item and adding it.
Go to [Only registered and activated users can see links. ] and create an account if you haven't already.
After signup press the logos to make a spesific item.
This time i'm gonna make an item.
Name: The name of the Item
Quality: The quality of the item
Quote: The text underneith the stats.
Display ID: The Display ID of the item, ( Download DisplayID here: [Only registered and activated users can see links. ] )
Entry: The Entry ID of the item.
You should be able to add the rest yourself.
At the end press submit and download the Batch file.
Go into your database, right click ascent and click Execute Batch File.
Go in-game and write .additem <id>
-----------------------------------------------------------------
6 - How to add a newly created item in-game without restarting the server.
Go ingame and write .reloadtable <name of table here>
i.e: .reloadtable items .
There you go, you will have to remember, some tables can't be reloaded in this way.
Thread: http://www.mmowned.com/forums/ascent...uests-etc.html
Makeing a NPC cast spells:
Code:
Okej. Just to start with. Credits goes to Ascent Wiki for all information that has helped me to learn this.
But have you ever wanted to make a NPC (trash mob) cast different spells? And you can't make lua scripts. There is an easy way to do this with your database. And the table we are going to work with is called Ai_Agents
It's real easy, and I'm are going to show you how to make a mob cast frost nova with a cooldown.
First you need a NPC, I wont tell you how to make one as I suppose you already know that - Else there are alot of guides on how to make NPCs.
When you open up your table Ai_Agents it will look like this, atleast have these colums.
I'm now going to explain each and one of them, and tell you what I'm going to add when I'm doing my frostnova.
Entry: There isn't so much to say about this. This is the ID number of your NPC that you are going to use - Mine here are 1992043
Type: This is what kind of type your attack are.
Code:
1 = MELEE
2 = RANGED
3 = FLEE
4 = SPELL
5 = CALLFORHELP
And Frost Nova, thats a spell. Spell is what you most will use. Atleast what I use in everyone of mine. So for my NPC I will put 4 here.
Event: This colum is the most compicated one. This explain when you NPC will do the spell you will give him.
Here is a list of all events.
Code:
0 = ENTERCOMBAT
1 = LEAVECOMBAT
2 = DAMAGETAKEN
3 = TARGETCASTSPELL
4 = TARGETPARRYED
5 = TARGETDODGED
6 = TARGETBLOCKED
7 = TARGETCRITHIT
8 = TARGETDIED
9 = TARGETDIED
10 = UNITPARRYED
11 = UNITDODGED
12 = UNITBLOCKED
13 = UNITCRITHIT
14 = UNITDIED
15 = ASSISTTARGETDIED
16 = FOLLOWOWNER
My NPC will make frostnova when he takes damage on himself. Therefor I'm going to put a 2 here.
If you want him to cast a spell when he enters combat, just put 0 here. Most of the events are self explaining.
Chance: This is how much many times he will do it. This is in percent. So if you want him to cast the spell for 100%, you put 100 in this colum.
But if you are gonna use a cooldown to the spell later, you must think double on this. If you want to have 100% chance to cast a spell, that has a cooldown. You will need to put 200 here. If you want him to have 50% chance to cast the spell with a cooldown. You need to put 150 here. Understand?
1-100 -> Percent chance WITHOUT cooldown
101 - 200 -> Percent chance WITH cooldown. (101 = 1 and 200 = 100)
I want my mob to have a cooldown, but only 50% to cast my spell. Therefor I put 150 here.
Maxcount: This colum decide how many of this spell the mob will cast in a fight. If you don't have any max number, just put 0 here. But you maybe got one powerful spell that you only want to be casted 3 times? But 3 here then. I'm gonna use 0 here for the frostnova.
Spell: Self explaning, put your spell ID here, can be found on wowhead.com or any other WoW database sites.
Spelltype: This colum descripes what kind of spell this is. Here is a list of what spell types it can be, the most is selfexplained. Just look on the spell you are using, is it a damage spell? Or a buff? Maybe a stun or root?
Code:
1 = ROOT
2 = HEAL
3 = STUN
4 = FEAR
5 = SILENCE
6 = CURSE
7 = AOEDAMAGE
8 = DAMAGE
9 = SUMMON
10 = BUFF
11 = DEBUFF
The most common spelltype to use is 8 (damage). But for me that is going to use frostnova, and that is a root spell, I will use 1 here.
Targettype: This decide on what target your NPC he will cast it on. I give you first a list and then explain some.
Code:
0 = Null
1 = Random Target
2 = Target Location
3 = Creature Location
4 = Self
5 = Owner - (Pets / Slave cast on their Owner)
Null target -> I suppose this cast on the target he got marked for the moment (main tank usual)
Random target -> He just picks a random target. Threat doesn't matter at all
Target Location -> The location of the marked target. Like if you are gonna use Rain of Fire.
Creature Location -> Most used for AoE spells. The middle of the radio is where the NPC stands
Self -> Cast the spell on himself.
Owner -> Not realy a clue, but this seems to be used for pets =(
And for my frost nova, I'm going to use creature location -> number 3.
Cooldown: Now we comes to the part that is connected to the chance colum. This can only be used if you got it between 101 and 200.
It's a simple cooldown in miliseconds.
1 sec -> 1000 ms
10 sec -> 10000 ms
Simple, seconds * 1000 :)
The last to colums is normaly just to put 1 in. Worked for me, and even not Ascent Wiki explains what its for :) You maybe know?
When it's done, for me atleast. It should look like this.
This is tested ingame and it works without any problem!
-------------------------------------------------------------------------------------------------
Credits:
Ascent Wiki - Ai agents - Ascent Wiki
Myself - That wrote this guide and trying to learn out to all people on mmowned.
A program to make SQL codes is created by myself now!
Thread about it
http://www.mmowned.com/forums/progra...tml#post856020
Thread: http://www.mmowned.com/forums/ascent...ls-no-lua.html
How to make custom Portals:
Code:
Step 1 :: Creating the TP spell
>In this step, we will be updating a row in the DB<
Open up SQLyog or Navicat and connect to your database.
Next, open up the table ' teleport_coords '
and here are the tables you will see
ID
These are the ID's of each teleport spell. Press CTRL + F and search for 11409.
NAME
Here, you will see the name " Teleport to Booty Bay ", you can change this name to anything you want. In this guide, i will change it to "Hyjal"
MAPID
Here is where you will need to enter the map ID that your portal will tele you to.
You can use .gps to figure out your coordinates. In this guide, i will use the map " 1 "
X
This is the X coordinate ( North and South ) I will use " -8918 "
Y
This is the Y coordinate (East and West ). I will use " 540 "
Z
This is the Z coordinate ( Or height ) I will use " 118 "
If you are unsure about this one, make sure you always round up a number or two, so that you dont port under the ground.
TOTRIGGER
This can be left at " 0 "
Step 2 :: Creating the Game Object
>In this step, we shall create the portal<
Open up the table Gameobject_names
You will see these fields:
ENTRY
This can be any number you choose, just make sure it hasn't been used already! In this guide, i will use " 1234567 "
TYPE
This is the type of game object it will be. Since we want a portal, put " 22 " in this field.
DISPLAYID
This is the display / model of the gameobject. You can take your pick from here:
4393 = Darnassus
4396 = Stormwind
4394 = Ironforge
4398 = Undercity
4395 = Orgrimmar
4397 = Thunder Bluff
6956 = Silvermoon
6955 = Exodar
Since my portal will put you ontop of the stormwind walls, i will use " 4396 " for stormwind.
Spellfocus
This field is important! This must be the same number as the ID you used to create your Teleport spell. If you recall from the top of this guide, we edited the spell " 11409 ". So that is the number i will put there.
Sound2 to Unknown14
These fields remain at default " 0 "
Step 3 :: Spawning the game object.
Here is the fun part, start up your server and log in on a gm account.
Now find an area you wish to place the portal, and use the command:
.go spawn 1234567
1234567 can be replaced with the ID you chose to create your GameObject with.
DO NOT MOVE ONCE YOU'VE SPAWNED THE PORTAL. This is vital for step 4
Sorry Didn't Realize This When I Made This Guide But Instead Of Doing This Upcoming Step When You Spawn The Portal Just Put 1 At The End
Example: .go spawn 66678 1
There Ya Go Now It's Permanent.
Step 4 :: Getting the object to stay forever.
This part will make it so the Portal will not disappear after server restart
Assuming that you did not move when you spawned the game object, you should be on the same coordinate plane as the game object. What does that mean? Well, its simple. When you spawned the gameobject, it was assigned to a point on a coordinate plane ( X,Y,Z,O ), and since you didn't move, you are still on the same point as it. At this point, i want you to do a .gps to find out what coordinates you are on. now make sure you KEEP those points! If you know them, now you can move
Open up navicat, and open the table ' Gameobject_spawns '
And you will see these fields:
ID
This is a reserved space for your gameobject. Do not mistake this for your gameobject's entry ID! This is completely seperate. If you go to the end of the list, it gets pretty high. A free ID would be " 257655 " So that is what i will use.
ENTRY
This is the entry of the gameobject we created. Assuming you followed the guide, i would put " 1234567 "
MAP
Here is where we use the Coords from the earlier .GPS command. The next 4 fields are up to you, it just places your gameobject on the map when you restart the server. Since im putting this portal near the tree in the trade district (SW) i will put " 0 "
X
This is the X coordinate that your gameobject will be placed on. I will use " -235.95 "
Y
This is the Y coordinate that your gameobject will be placed on. I will use " 645.78 "
Z
This is the Z coordinate that your gameobject will be placed on. I will use " 23.001 "
FACING
This is the direction your Gameobject will be facing. Please note that if you leave it at default ( '0' ), then it will be facing directly north. I will use " 0 "
O1
This is an option field, but is not needed, so leave it at 0
O2
This is another option field, but is not needed, so leave it at 0
O3
Make sure this is set at 1
O4
Make sure this is set at 0
STATE
This is what type of state your gameobject will be in once its spawned. Since we want it at its normal state, put down " 1 ".
FLAGS
This is just another option you can assign to your game object, just leave this at 0.
FACTION
This is what faction will be able to see and use the portal. leaving it at " 0 " will allow all factions to use it.
SCALE
The size of your GO, i will use " 1 "
StateNPClink
If its linked to a quest or NPC, this field will be needed. But since it is not, leave this
Field at " 0 ".
Thread: http://www.mmowned.com/forums/ascent...m-portals.html
How to create good malls:
Code:
Hi and thanks for looking.
I have been on many Fun servers - all have pros and cons but one con I see too often is a bad mall.
I myself am a big fan of Fun servers - that's why I have decided, as my first tut, on the topic of how to make a good mall.
1. Only make one or two malls. Some servers have a mall in each capital city - i don't think this is practical. Make one mall for Horde and Alliance or make one for each faction.
2. Do not - I repeat, DO NOT just put all of your vendors in a line. It just looks weird and it makes it hard to give directions. Eg, 'Where is the Key Vendor?' - 'Two-thirds down the line' is a very vague answer. Instead, put your vendors in groups, for example, with all the Enchanting vendors together with the Enchanting Trainer.
3. Put everything your players need in the mall. Class trainers are a MUST, profession trainers and a guild master are useful too. I have been on a server where, to train class skills, professions and to make a guild one must run all the way to Orgrimmar... with the mall in the Southern Barrens.
4. If you are making a Horde mall and a separate Alliance mall, make them inaccessible without a portal. So many servers have problems with people getting into the other faction's mall, with players getting very annoyed.
5. I, personally do not use Fun server repacks such as Project Silvermoon and others - making your own server from scratch is hard work, but it is fun. What is the point of going on servers if they are all the same?
6. When I make a mall I change all of the NPC's display I.D.'s using the command .mod displayid then your preffered DisplayID. Usually I just guess a random number for the DisplayID from 1 - 23000; if I like the one I have guessed, I keep it, and if not, I just guess something else. Again, this helps with directions. Eg. 'Where is the Enchanting Reagent Vendor?' Instead of saying 'Next to the big tree,' as it is with most malls, say 'The Tauren with the big helmet.' Doing this makes the mall more appealing to go to and less dizzying to newer players.
Thanks for reading. I hope this will make some PS malls better.
Thread: http://www.mmowned.com/forums/ascent...ur-server.html
How to make LUA's:
Code:
Welcome to this LUA guide, After this guide, you should be able to speak some LUA, you may not be as good as some of the pro's but you should atleast get the point of LUA.
First of all, When you are going to start a LUA script, you must make it a function
I.E
Code:
function mob_phaseone (pUnit, Event)
That would be the function of it.
Then lets say you wanted it to make it say something? well then you put put
Code:
pUnit:SendChatMessage (TYPE , LANGUAGE , "MESSAGE")
end
RegisterUnitEvent (4, 0, "FUNCTION NAME"
Code:
1 = Enter Combat
2 = Leave Combat
3 = Killed Target
4 = Died
5 = AI Tick
6 = Spawn
7 = Gossip Talk
8 = Reach Waypoint
9 = On Leave Limbo
10 = Player Enters Range
Code:
-1 = ADDON
0 = SAY
1 = PARTY
2 = RAID
3 = GUILD
4 = OFFICER
5 = YELL
6 = WHISPER
7 = WHISPER_INFORM
8 = EMOTE
9 = TEXT_EMOTE
10 = SYSTEM
11 = MONSTER_SAY
12 = MONSTER_YELL
13 = MONSTER_WHISPER
14 = CHANNEL
16 = CHANNEL_JOIN
17 = CHANNEL_LEAVE
18 = CHANNEL_LIST
19 = CHANNEL_NOTICE
20 = CHANNEL_NOTICE_USER
21 = AFK
22 = DND
23 = COMBAT_LOG
24 = IGNORED
25 = SKILL
32 = LOOT
83 = BATTLEGROUND_EVENT
87 = RAIDLEADER
88 = RAIDWARNING
Well guys, that's just the basic stuff =]. Once you have mastered that, Please move on to the rest of the guide.
Lets say you wanted to make it cast a spell? well than do this
Code:
function NPCNAME_Spell(pUnit,Event)
pUnit:CastSpell(SELFBUFFSPELL)
end
pUnit:RegisterEvent("NPCNAME_Spell", 25000, 0)
That would make it cast a spell
Okay now, lets get back to some easys stuff, like the chat message?
Code:
This is an example script
function boss_sayoncombat (pUnit, Event)
pUnit:SendChatMessage (1, 0, "How dare you enter my lair! Now you must pay!")
end
RegisterUnitEvent (4, 1, "boss_sayoncombat")
Okay, that would make the boss say that once it enters combat.
Lets say you want your boss to spawn a minion ay?
Well then you would use this:
:SpawnCreature(entryID, x, y, z, o, faction, duration)
Remember to use pUnit: and also, remember that LUA is VERY case-sensitive about things, if you mess up with a letter, or even mis-type something, your going to get some errors. GL with your LUA scripts! You can PM me here, or Message me on MSN if you need any help
[email protected]
Thats my MSN!
GL!
Thread: http://www.mmowned.com/forums/ascent...lua-guide.html
How to make a morphing item[LUA]
Code:
hello this guid is about Make a item that can morph you into things.
chage following text in red
Code:
local itemid = ItemID
local race = {}
race[1] = 1
race[2] = 2
race[3] = 1
race[4] = 1
race[5] = 2
race[6] = 2
race[7] = 1
race[8] = 2
race[10] = 2
race[11] = 1
function Item_Trigger(item, event, player)
Item_menu(item, player)
end
function Item_menu(item, player)
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("You are in combat!")
else
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(4, "Make me Deathknight", 22222, 0)
item:GossipSendMenu(player)
end
end
function OnSelect(item, event, player, id, intid, code )
if (intid == 22222) then
player:SetModel(16508)
player:GossipComplete()
end
end
RegisterItemGossipEvent(itemid,1,"Item_Trigger")
RegisterItemGossipEvent(itemid,2,"OnSelect")
if you want to morph into something else change this
Code:
player:SetModel(16508)
into
Code:
player:SetModel(DisplayID)
Thread: http://www.mmowned.com/forums/ascent...hing-item.html
How to make an NPC say a thing when you talk to him:
Code:
Tired of players coming online to your server and automaticly asking "Hey dood whats server rates?". Say goodbye to that question and many others. This guide will show you how to add text to an NPC when you right click it.
Things you`ll need:
Computer
Database Access
Ability to restart server.
This guide will make a Server Rates NPC when you are finished it will come out as pictured below:
Now we will start. You do not have to make an NPC that will display Server rates this is just what I decided to make the guide on making.I premade the Server rates NPC but you can change/modify him/her in anyw ay you would like.Teh download link to download the Server rates NPC is located here: Filebeam - Free Fast File Hosting Execute this sql file into your world database.
Things you`ll need to know:
Npc ID is 60033
Things you can change:
NPC ID, NPC Displayid, The NPC`s Name.
What you need to do now:
1. Open Npc_gossip_textid table in your world database.Make a new Query suing the + symbol if your using Navicat for MySQL. For this guide the creatureid will be 60033 if you change the ID you will need to put the new id of your creature there instead.For textid this is the ID of the etxt that your creature will say. For this guide we will put 60033 in textid. You can choose what ever number you would like.
2. Open Npc_text table in your world database. Make a new Query using the + symbol if your using Navicat for MySQL. Now put the textid you chose in the previous step and put that in the field called "entry" if you did not change your textid then enter 60033 in the entry field. If your suing the guide to make a server rate npc I would do something like this Server Rates: then go into your Ascent-world or arcemu-world config file and find your server rates. it will look like this <Rates Health="1"
Code:
Power1="1"
Power2="1"
Power3="1"
QuestReputation="1"
KillReputation="1"
Honor="1"
PvPTimer="300000"
Compression="1"
XP="135"
QuestXP="60"
RestXP="150"
DropGrey="30"
DropWhite="30"
DropGreen="30"
DropBlue="30"
DropPurple="30"
DropOrange="30"
DropArtifact="30"
DropMoney="40"
Save="1000"
SkillChance="1"
SkillRate="15"
ArenaMultiplier2x="1"
ArenaMultiplier3x="1"
ArenaMultiplier5x="1">
now copy that from your config file and paste it into where it says text0_0 . If your not making a server rate NPC you can put anything you want in that field. What you put in that field is what the NPC will say when you write click it.Fill in the field next to it called text0_1 with a 0. scroll over until you find text1_0 and text1_1 fill thosein with 0 also.
Do this step until every field thats ays text soemthing has a 0 besides the field you filled in with text (text0_0) After you do that you are done!
Exit out save your server by typing .saveall and restart your realm. Login spawn your creature using the id you chose or the id i gave for this guide which is 60033 and test out your creature. Hopefully this hasnt been posted before i searched but it wasnt that i could see. Have fun! Post a comment or PM me if you need help.
Thread: http://www.mmowned.com/forums/ascent...ng-needed.html
How to make Waypoints for your NPC's
Code:
I have tried about 7 dif. dbs in the last week trying to find one that has all the mobs moving, I have not been very lucky so far. They move close to the big cities or near the starting zones on most and then it's sporatic at best. I decided to just maually make waypoints for all mobs till I find a db that can take care of my need. I was very confused ( and still am about a few areas of the .waypoint command), I decided to test out some of the .waypoints commands, this is what I have found out so far:
-
- - No need to type ".waypoint", just stick with ".way". Works the same.
-
- - Select the mob you want to alter, make sure it has no waypoints. If you are unsure type ".way show" , you will need to use ".way hide" before you can move on to the next step.
-
- - I use the generate command to save a lot of time, it works like this:.way gen * *"
* = The radius that the waypoints will be spread about.
* = The amount of waypoints to be created.
-[
*] - The waypoints you generated should show up, now it is time to modify them individually. Select the waypoint that you want to modify. Type ".way wait *"
*= time in milliseconds to wait at this point. I try and vary it between points, it is set to 5000 if you use the generate command.
- ".way move'" will move the selected waypoint to your location.
- ".way movetype *"
Where * =
0 - The mob goes from point 1 to the next and so on till it gets to the last, then turns around and flollows them back.
1 - The mob randomly goes to a point.
2 - The mob goes from 1 to the next, ect, at the end it goes directly back to 1. Like a loop.
-
- - You will notice that the mobs just walk from point to point, here is where you can learn to change that. Select a point and type ".way flag 256" , this will make the mob run from the last point to this one.
-
- - ".way emote" still has me a bit confused, from what I can gather it will make the mob perform an emote at that point if the wait time is long enough (try to set it for 7000-9000 if you want to emote there)
I know you can use ".way emote 1 *", where * =
Code:
EMOTE ONESHOT NONE : 0
EMOTE ONESHOT TALK : 1
EMOTE ONESHOT BOW : 2
EMOTE ONESHOT WAVE : 3
EMOTE ONESHOT CHEER : 4
EMOTE ONESHOT EXCLAMATION : 5
EMOTE ONESHOT QUESTION : 6
EMOTE ONESHOT EAT : 7
EMOTE STATE DANCE : 10
EMOTE ONESHOT LAUGH : 11
EMOTE STATE SLEEP : 12
EMOTE STATE SIT : 13
EMOTE ONESHOT RUDE : 14
EMOTE ONESHOT ROAR : 15
EMOTE ONESHOT KNEEL : 16
EMOTE ONESHOT KISS : 17
EMOTE ONESHOT CRY : 18
EMOTE ONESHOT CHICKEN : 19
EMOTE ONESHOT BEG : 20
EMOTE ONESHOT APPLAUD : 21
EMOTE ONESHOT SHOUT : 22
EMOTE ONESHOT FLEX : 23
EMOTE ONESHOT SHY : 24
EMOTE ONESHOT POINT : 25
EMOTE STATE STAND : 26
EMOTE STATE READYUNARMED : 27
EMOTE STATE WORK : 28
EMOTE STATE POINT : 29
EMOTE STATE NONE : 30
EMOTE ONESHOT WOUND : 33
EMOTE ONESHOT WOUNDCRITICAL : 34
EMOTE ONESHOT ATTACKUNARMED : 35
EMOTE ONESHOT ATTACK1H : 36
EMOTE ONESHOT ATTACK2HTIGHT : 37
EMOTE ONESHOT ATTACK2HLOOSE : 38
EMOTE ONESHOT PARRYUNARMED : 39
EMOTE ONESHOT PARRYSHIELD : 43
EMOTE ONESHOT READYUNARMED : 44
EMOTE ONESHOT READY1H : 45
EMOTE ONESHOT READYBOW : 48
EMOTE ONESHOT SPELLPRECAST : 50
EMOTE ONESHOT SPELLCAST : 51
EMOTE ONESHOT BATTLEROAR : 53
EMOTE ONESHOT SPECIALATTACK1H : 54
EMOTE ONESHOT KICK : 60
EMOTE ONESHOT ATTACKTHROWN : 61
EMOTE STATE STUN : 64
for NPC's, just stick with ".way emote" for mobs. The ".way gen" seems to throw emotes in for mobs too, which is really nice when you want to cover many mobs quickly.
- - - ".way info" on selected waypoint to see the info for it.
-
- - ".way delete" to remove selected waypoint.
-
- - ".way deleteall" to remove all waypoints. They must be hidden before they will delete.
-
- - I still can't get any of the ".way skin" commands to work, don't know what do do. As long as I put 2 stes of numbers in it always says it changes the skin id, but no change is visible.
-
- - ".way change *" will change the selected waypoint to *
-
- - ".way addfly" does just what it sounds like, adds a waypoint in the air. Make sure you have used ".cheat fly" before using. If you just try to .add a waypoint in the air without the "fly", it will fall to the ground.
-
- - .way add, delete, show, hide should be self explanatory.
-
- - If you are lucky your ".way save" will work, most of the time it does not seem to work. Here is what I find helps keep your waypoints around after a server restart. Use ".way movetype " and it saves the vlaues to the table, I have found this works more often than not. You can also make sure that you are logged in for 5 minutes or whatever you set your server auto save to afeter your last change.
-
I hope this has helped someone out there, I could find very little out there about the waypoint command, everything but the emote list I found from trial & error, so I might be ( I'm sure I am somewhere) wrong here and there. I would suggest making a simple macro:
-
Code:
.way gen 70 5<br>
.way movetype 1<br>
-
is great for areas like the barrens, wide open, watch out for obstacles, they will go right through them.
-
For indoors or close quarters, try:
-
Code:
.way gen 10 10<br>
.way movetype 1<br>
-
That's all I have for now, if anyone can tell me more about the skin, flag or emote commands I would really appreciate it. Thanks
-
-
-SensiSativa
-Coming soon -
Macros for quick wait changes, too tired right now.
Thread: http://www.mmowned.com/forums/ascent...waypoints.html
How to make custom GY's
Code:
1 :: Location
>Getting the Location for Graveyard<
Go to a location you want the graveyard and spawn
2 :: The Template and Guide
>This is what you follow to make the Graveyard<
Make this in notepad or a other simple write program
Code:
INSERT INTO `graveyards` VALUES (`id`,`x`,`y`,`z`,`0`,`zoneid`,`adjace ntzoneid`,`mapid`,`factionid`,`name`);Use this in the template
ID: graveyard id.
X: The coords of x .gps
Y: The coords of y .gps
Z: The coords of z .gps
O: 0
ZoneID: You must check for a graveyard near to the place that u are adding your graveyard. It is easy just .kill yourself and u will be appear in a graveyard, then copy the graveyard name and search for him in your graveyard table. Copy the zone id to your SQL code, mine is 406
Adjacentzoneid: 0
MapID: check ur .gps info.
Faction: 3 for both. 1 alliance. 2 Horde.
Name:
Save it as: <Name>.sql
-----------------------------------------------------------------------------------------------------------------------------
Execute the batch file to your database
.reloadtable graveyards then go to your graveyard coords and spawn a spirit healer: .npc spawn 6491 1
~Munchy~
Thread: http://www.mmowned.com/forums/ascent...rds-works.html
How to create custom items
Code:
1: First go to WoW Vendetta - Wage Your War
2: Make an account if you not got one
3: Chose at create what you want. Lets chose Weapon here
Item Details
Name: What shall the name be
Quote: The yellow text after all stats
Quality: Poor(Gray), Common(White), Uncommen(Green), Rare(Blue), Epic(Purple), Legendary(Orange), Artifact(Red)
Display ID: Chose the Display ID
[How to find the display ID: First find the item on WoWHead/Thottbot. In the address bar you will see this: ?item=30312/i30312. Copy the number. Now go to Item ID to Display ID Converter Paste the number of the item(30312 in this) Then press find. Now you will get the Display ID]
Entry #: Chose the ID you want to spawn the item with(.additem #) <The number MUST be under 99999>
Item Type
Equip: Shall it be One-Hand, Two-Hand, Gun, Bow or Wand
Type: One-Hand Axe, Sword, Mace / Two-Hand Axe, Sword, Mace / Gun / Bow / Crossbow / Wand / Trowing / Polearm / Dagger / Staff / Spear / First Weapon
Repair: Can it be Repaird or not?
Durability: How much Durability shall it have? Fx: 1000 if it shall got 1000 Durability. More Durability more repair cost
Binds: Not bind / Bind on Pickup / Bind on Equip / Bind on Use
Item Weapon Stats
Sheath: "Z" like 1H, 2H, Staff, Ranged or Wand?
Ammo Type: Use Bullets or Arrows if it are a ranged?
Speed: This is in Miliseconds. SÃ¥ 1000 = 1 sec
Item Armor Stats
Armor: Item got Armor?
Block: Item got Block?
Item Requirements
Required Level: What level shall you be for equip the item
Item Level: Chose the item level. Most need for enchants
Max number allowed: Shall it be unquire or not? If not just leave it
Allowable Class: Shall it ONLY be to 1 class?
Stackable: Can there be more then 1 stacked on the item?
Item Damage
Chose the damage of the weapon. It can also be + / - Fire, Frost, Nature, Holy, Arcane, Shadow
Item Stats
Chose the stats of your item and give them valule
Item Resists
Chose how much resistance the item shall have
Item Bonues
Easy Mode:
Just chose the Bonuses the item shall have
Advance Mode:
Want the item to fx: give you Arcane Int?
First find out what thing you want the item to do. Then write it and press search. Now it will take you to thottbot, cuz its beather to Private Servers(Show Objects, more items, more spells)
Find the spell you want. Copy the number like in Display ID(thottbot..com/i######)
Paste it in WoW-v. Chose about it shall be: Change on hit, On Equip, or On Use. Remember: There is only 1 Change on Hit, so use it there if you want.
Now do the same with all the other. If you want Spell dmg ect. then search for that.
Item Sockets
Chose Meta, Red, Yellow, Blue gems. Max 3 gems in all.
Then chose the Socket Bonus if you want one.
Item Value
Chose the Buy prise and Sell Prise.
Finish it
Press Submit.
Click Download.
Chose Ascent(Rev1-Now)
Save the file and execute the batch file(SQL file) to the database.
~Made by Lukas 45~
Thread: http://www.mmowned.com/forums/ascent...nt-guides.html
How to make an Teleporting item:
Code:
Here Ya go!
We will start by Creating the spell that will teleport the player(We will modify an existing one).
Open the "Teleport_Coords" table and find a spell that is probly not used.
I will use the one with id 11362 because it won't have any cooldown.
1. "id". Let it the same and remember it.
2. "name". choose a name for your spell (Won't be shown)
3. Positions: Type .gps in the game to get them for this tutorial, my item is teleporting you to a Leveling Area.
4. "totrigger". Won't be used.
Now your Spell is created!
Now we will make the item that will teleport the player on use.
Create a new Item
Modify those informations:
id: The id of the item (high number like 90001)
Class: 15
field4: -1
name1: The name of your item (Nythign U like)
DisplayId: I suggest 26772 (look down for the image)
Flags: 64
allowableclass: -1
allowablerace: -1
maxcount: Number of this item you can have (0 is for any number)
spellid_1: It's the "teleport_coords" id (11362 is mine)
26772 display id image:
Then That's it Reload ur DB by .reload items
Thread: http://www.mmowned.com/forums/ascent-guides/171545-how-make-teleporting-item-teleport-ya-guide.html
Server makeing guides may you find by your self