adding item scripts

Discussions of the design and development of in-game content.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

adding item scripts

Post by Ememjr » Mon May 08, 2017 5:12 pm

do we have a way to add item scripts to the database i did not see one

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: adding item scripts

Post by Ememjr » Mon May 08, 2017 5:14 pm

if not can you add defualt blank scripts to items 7078 and 7079 and i will modify them

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: adding item scripts

Post by Jabantiz » Mon May 08, 2017 5:21 pm

Use EQ2DB2, click the items tab and search for the item, select it to edit it. On the items tab (only working tab) there is a box for lua script, put in the path to the script then hit save, now when you click the script tab it should open the editor allowing you to add the code and create the script.

The script path should be in a format of "ItemScripts/ItemName.lua"

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: adding item scripts

Post by Ememjr » Mon May 08, 2017 5:29 pm

well that would explain it i was going to the scripts page

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests