/Blank Command

Share files with other Dawn of Light users

Moderator: Support Team

/Blank Command

Postby stephenxpimentel » Tue May 01, 2012 11:22 pm

Hey guys, i made this command for my server, and it helped me speed up a ton of item creating.

Usage
/blank <eObjectType> <id_nb you want> <weapon hand (1h,2h,offhand)>
/blank <eObjectType> <id_nb you want> <item slot (eInventorySlot ID)>

this will create a pre-defined item of your choice in your inventory, all you have to do is set its model, stats, and procs/charges if required. The item will be level 50, and its AF/DPS etc. will be standard. (Cloth with 50AF 0 ABS).

Hope it can help people out :)
Blank.cs
(8.23 KiB) Downloaded 186 times
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: /Blank Command

Postby Graveen » Wed May 02, 2012 10:59 am

Neato Stephen, a real usefull command (but not really core compliant).
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: /Blank Command

Postby Tolakram » Wed May 02, 2012 11:29 am

m_item = new ItemTemplate();
m_item.AllowAdd = true;

So is the goal to add item templates to the db? If so, then perhaps this belongs in the /item command to help ease the creation of items? /item new weapon /item new armor ???
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: /Blank Command

Postby stephenxpimentel » Wed May 02, 2012 8:12 pm

m_item = new ItemTemplate();
m_item.AllowAdd = true;

So is the goal to add item templates to the db? If so, then perhaps this belongs in the /item command to help ease the creation of items? /item new weapon /item new armor ???
Yes you're correct Tola, exactly the purpose, at the time i just didn't want to mess with the command. :) If you want i can add it to the item command, it will take some time tho.
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm


Return to “%s” User Files

Who is online

Users browsing this forum: No registered users and 1 guest