Jump to content
Sign in to follow this  
Foxseiz

Create New Gems

Recommended Posts

Server files / resource / scripts / calculation / variable.lua

Ctrl + f ( FIND ) "StoneAttrType_Num"
edit the number to + 1 w/e it is currently is (adding 1 gem) this will be known as ##

StoneAttrType_Num = ##

Continue scrolling to the end of "StoneAttrType" list, add, and edit this

StoneAttrType [##]		=		ITEMATTR_VAL_AAAA

## = same as above
Replace AAAA with one of the following

STR	--Strength
DEX	--Accuracy
AGI	--Agility
CON	--Constitution
STA	--Spirit
MXHP	--Max Hp
MXSP	--Max Sp
MNATK	--Attack
DEF	--Defense
HIT	--Hit rate
FLEE	--Dodge
MF	--Raise drop rate o_O untested --lol pick pocket--
CRT	--Crit rate
HREC	--Hp rec
SREC	--Sp rec
ASPD	--Attack speed
MSPD	--Movement speed
PDEF	--Physical resistance

Next Find "StoneEff_Num"
Then edit the number ## to same as above
Continue Scrolling to the end of "StoneEff" list, add, and edit this

StoneEff [##]			=		#

## = same as above
Replace # with the amount of stats the gem will give

Next Find "StoneTpye_ID_Num"
Then edit the number ## to same as above
Continue Scrolling to the end of "StoneTpye_ID" list, add, and edit this

StoneTpye_ID [##]	=		####

## = same as above
Replace #### with Iteminfo.txt ID

Next find "StoneEffType"
Continue Scrolling to the end of "StoneEffType" list, add, and edit this

StoneEffType[##] =		#

## = same as above
Replace # with effect type 1-4

1) attack
2) defense
3) havent seen it used
4) other

Next find "StoneItemType"
Continue Scrolling to the end of "StoneItemType" list, add, and edit this

StoneItemType[##]	=	{ #,0 }

## = same as above
Replace # with where u want the gem to go (can be more than one ex: {11,22,27,0})

1) 1 handed sword
2) 2 handed sword
3) Bow
4) Firegun
7) daggers
9) Staffs
11) shield
20) ami caps
22) armors
23) gloves
24) shoes
27) tattoos

 

 

Note: I don't know who owns this guide, it's been posted by serverdev admin so I'm sure it's not his guide.

  • Like 8
  • Thanks 1

Share this post


Link to post
Share on other sites

Wauw, good topic & clear.
But i do wonder. I have done everything you said, i've added BD gems to my server files who've got editted it.

Copy paste from other files, and it is working. But i still get to see this:
 image.png.93717ad45b634dfdb822c4a49386f9f4.png
Is there another file where you can find these info? It doenst give PR but +50 attack each level ;)
 

Share this post


Link to post
Share on other sites
5 hours ago, Brothers said:

Wauw, good topic & clear.
But i do wonder. I have done everything you said, i've added BD gems to my server files who've got editted it.

Copy paste from other files, and it is working. But i still get to see this:
 image.png.93717ad45b634dfdb822c4a49386f9f4.png
Is there another file where you can find these info? It doenst give PR but +50 attack each level ;)
 

The guides is not completed. Some step after setting up the files is not mentioned. I referred to this and it work like a charm.

https://forum.ragezone.com/threads/how-to-make-custom-gems.690828/#post7140293

Stoneinfo.txt and the one from client side need to change based on the link I shared. Try retrace your step to check anything you miss.

Share this post


Link to post
Share on other sites
18 hours ago, kyleflow said:

The guides is not completed. Some step after setting up the files is not mentioned. I referred to this and it work like a charm.

https://forum.ragezone.com/threads/how-to-make-custom-gems.690828/#post7140293

Stoneinfo.txt and the one from client side need to change based on the link I shared. Try retrace your step to check anything you miss.

Your the best :)
I found the problem, the notice of the gem is in Client > Script > lua > Scripts. Thank you very much!

Share this post


Link to post
Share on other sites
10 minutes ago, Brothers said:

Your the best :)
I found the problem, the notice of the gem is in Client > Script > lua > Scripts. Thank you very much!

Awww thanks.. 😎

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...