View Single Post
  #8  
Old 08-03-2007, 03:25 PM
kc5wee
Fire Beetle
 
Join Date: Jul 2007
Posts: 2
Default

I just wanted to add to this - I was hunting down a way to add spells too. I bet I blew almost a whole day just to find this out. I couldnt find any of this written anywhere.

- Open spell_us.txt with openspell. What you change here you *must* also copy this file to C:\eqemu\spell_us.txt, and any other user on your server has to have it too. The spells_en.txt is not used anymore. It goes by spell ID... so if you #cast 1250 then that spell will be compared with the server's copy (to prevent cheating) and the spell, casting delay, recast time, who can cast, etc... and listed effects will be executed.
- You can also use notepad, but I would highly suggest using openspell. Use Word Wrapping.
- The spells table in the database does nothing. Its just there for referance.

Here is an example of a spell I created, called "Flaming Fire", for a level 10 Wizard, costing 100 mana for 10 damage. (I know, bad ratio, but I wanted to see it work)

5000^Flaming Fire^PLAYER_1^^^^ You been hit by Flaming Fire^ is on fire^^150^0^0^0^1000^1500^25000^0^0^0^100^-10^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^0^0^0^0^0^0^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^ 0^0^0^0^0^5^0^24^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^ 10^255^255^255^255^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0

Format of this file:
id,name,activated,aeduration,aerange,attrib1,attri b2,attrib3,attrib4,attrib5,attrib6,attrib7,attrib8 ,attrib9,att
rib10,attrib11,attrib12,autocast,autocasttext,base 1,base2,base3,base4,base5,base6,base7,base8,base9, base10,base1
1,base12,bookicon,brdlevel,bstlevel,calc1,calc2,ca lc3,calc4,calc5,calc6,calc7,calc8,calc9,calc10,cal c11,calc12,c
astinganim,castingtime,castmsg1,castmsg2,castmsg3, castmsg4,castmsg5,classes,clrlevel,deities,deletab le,desc1,des
c2,desc3,desc4,desc5,desc6,desc7,desc8,desc9,desc1 0,desc11,desc12,descnum,dotstackingexempt,drulevel ,duration,du
rationformula,durationtext,enclevel,environment,ex tra,fizzleadj,fizzletime,foci,focus1,focus2,focus3 ,focus4,focu
sitems,gemicon,lighttype,location,maglevel,manacos t,max1,max2,max3,max4,max5,max6,max7,max8,max9,max 10,max11,max
12,maxduration,minduration,minlevel,mnklevel,necle vel,pallevel,pushback,pushup,range,reagentcount1,r eagentcount2
,reagentcount3,reagentcount4,reagentid1,reagentid2 ,reagentid3,reagentid4,reagents,recasttime,resist, resistadj,rn
glevel,roglevel,shdlevel,shmlevel,shortbuff,skill, source,spaindex,spellanim,spellicon,spelltype,targ etanim,targe
ttype,targname,timeofday,traveltype,uninterruptabl e,unknown112,unknown113,unknown129,unknown130,unkn own131,unkno
wn139,unknown140,unknown141,unknown144,unknown145, unknown146,unknown147,unknown148,unknown149,unknow n150,unknown
151,unknown152,unknown153,updated,warlevel,wizleve l
Reply With Quote