Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Sogou

Members: 0
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Treasure, Weapon, Armor GEN'S
Forum Rules | Mark all | Recent Posts

Treasure, Weapon, Armor GEN'S
< Newer Topic :: Older Topic > How do i use the generator

Pages:<< prev 1 next >>
Post is unread #1 Feb 2, 2004, 1:32 am
Go to the top of the page
Go to the bottom of the page

spallapiden

GroupMembers
Posts25
JoinedFeb 1, 2004

I was wondering if the tresure gen can be used to fastrack making objects for areas or if its only for use by pc's at a forge ect. If it can be used to fast track then whats the commands i use to make it happen. Im using the latest version of Afkmud.
       
Post is unread #2 Feb 2, 2004, 3:35 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Yes, it can. You'd need to refer to the Itemgen.txt file that should be in the areadocs directory for the details. It's only going to work for weapons and armor, but that usually makes up most of the gear that needs this sort of tweakage.
       
Post is unread #3 Feb 2, 2004, 9:18 pm
Go to the top of the page
Go to the bottom of the page

spallapiden

GroupMembers
Posts25
JoinedFeb 1, 2004

I did read those files that you mentioned, but i was still confused as to how to do it, do i just ocreate vnum then set the values for v1,2,3,4 ,8,9,10 for a weapon and bobs your uncle. no need for names and descriptions ect.
       
Post is unread #4 Feb 4, 2004, 3:11 am
Go to the top of the page
Go to the bottom of the page

Dwip
Dementius Rabbitus
GroupAdministrators
Posts55
JoinedJan 1, 2002

Let's see if I can make it a bit more clear. The *gen stuff IS pretty confusing.

First, there's a couple of examples at the end of Itemgen.txt that may help. With reference to those...

For weapons, you'll want to set the name, short/long desc, flags, and a couple of the values: value8 is weapon type, value9 is the material the weapon's made of, and value9 is how good the quality is, which has to do with damage. There's tables for all three of those in Itemgen.txt, which should explain themselves decently.

Those will in turn deal with values 1-4 and the cost.


For armor, you'll want to set the name, the descs, and some different values: value3 is armor type, value4 is material type. That in turn sets extra flags, cost, and the other values.


Rent items should automatically figure themselves out if set to I believe -2, and I believe -2's the default. RentGeneration.txt has the goods on that.


The treasure generation code, of course, is simply an automated version of all of these used by the game itself. Builders have it slightly harder, but not much.


That help?
       
Pages:<< prev 1 next >>