Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's > Tutorials--Outdated Use the Wiki > Tutorials::Needs work

Tutorials::Needs work This is where tutorials get moved to that are incomplete or outdated

 
 
Thread Tools Display Modes
  #1  
Old 09-16-2004, 11:38 AM
Cutter
Sarnak
 
Join Date: Sep 2004
Posts: 85
Default How to Create a Working Faction from scratch

I am only posting this because.. I went to IRC and begged for help on this.. and noone would even try to help, and I had asked many times for a tutorial but everyone was to busy.. So.. I just figured it out myself.. as I am doing with the rest of this stuff.. So I am hoping unlike so many others this will help some people who dont know how to do it...


Ok First step..

Create a good side Mob.. and Bad side mob

for this example lets create Qeynos Guards
and Blackburrow Gnolls

(keep in mind.. this is a blank faction table and npc_type table as well)

ok lets goto the faction_list table

ok mine is blank.. so lets create a new entry
BTW i use mysql front.. its just easier to do this in
so I am going to create a entry for my Qeynos Guards
that will 1 Entry
in the name entry .. i will put Qeynos Guards.. notice i did not put a "_" there..
the next field is the Base field.. lets make the guards like us a little bit but have the players earn some faction.. so lets make it 100

Well thats it for that table.. dont worry about the other entrys because they have to deal with race class and deities.. we dont wanna get sophisticated right now...

ok lets just do the same thing with the blackburrow gnolls..
but make it ENTRY 2 and Base of -1000

why -1000? well they will attack you on sight thats why.. they will hate your guts...

ok were finished with faction_list table.. lets move on

NPC_Faction Table
here we are just going to make 2 table entries
first one.. well put
1 Blackburrow_gnolls and next field put 1
2 Qeynos_guards 2

those are the two entries in this table..
lets move on

NPC_FACTION_ENTRIES

ok here we will define who it will effect if we kill gnolls or qeynos guards

so lets make an entry here
npc_faction_id = 1
Faction_id= 1
faction_value= -100 /// this value tells how much we lose if we kill a guard

ok lets make the gnolls.. this is important part of it
npc_faction_id=2 // gnolls faction id
npc_id= 1// This is the guards Faction means if we kill gnolls we get a good faction with them
npc_value= 100 /// how much faction we get with guards

ok now we still gotta add the gnolls faction when we kill them
npc_faction_id=2
npc_id=2
npc_value=-100

ok thats it..
now when you go in game..
a few things will happen
your guards will like you.. the gnolls will attack you on sight.. and if a guard sees a gnoll it will attack on sight as well..

one more important thing you must do
go into npc_types go under faction_id..
goto qeynos guards.. assign them 1
goto blackburrow gnolls or gnolls and assign them to 2

the only other table i didnt mention was faction_values table
dont mess with this.. this is players faction they already have... it calculates what faction they do have with who..

also another thing we need to mention...
remember above that i mention not to put that "_"
that is because when you kill a mob it wont say..
you gained faction with Blackburrow_gnolls .. it will say this instead
you gained faction with Blackburrow Gnolls..

ok i think i explained this correctly..
if you have any problems what so ever
please email me at sandy@vektorlabs.com

I will be happy to answer any questions that ANYONE may have..
  #2  
Old 09-17-2004, 01:13 AM
kidder
Fire Beetle
 
Join Date: Jul 2004
Posts: 17
Default

That was nice of you Cutter. Thanks.
  #3  
Old 09-17-2004, 07:35 AM
Cutter
Sarnak
 
Join Date: Sep 2004
Posts: 85
Default

Hey! anytime i can help others.. ill try to do my best to do so
  #4  
Old 12-14-2004, 02:00 PM
a_Guest03
Demi-God
 
Join Date: Jun 2002
Posts: 1,693
Default

Cutter, any chance you could make this more generic, and include exact instructions?

By exact, I mean explicit instructions for maybe MySQLCommandCenter or whatever - anything to make a new user understand for any faction or any NPC. Pictures would help, if possible.
__________________
It's never too late to be something great.
  #5  
Old 12-15-2004, 09:32 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Cutter, unless you rework that guide like a_Guest03 suggested you, it won't be considered as a valid tutorial.
The idea is good but you mustn't treat it with examples. Be more generic and accurate.
You ll also need to add the faction lvls needed to for each grade, ready to attack, threatningly, dubious... etc.
A full step by step explaning how to create a new faction from nothing would be also a great addition.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3