the Phrozen Forums
  General Mod Making
  tutorial:making new gems

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   tutorial:making new gems
ShadowTalon
WarLord

Posts: 198
From: Perth, Western Australia, Australia
Registered: Sep 2001

posted 15 February 2002 07:49     Click Here to See the Profile for ShadowTalon   Click Here to Email ShadowTalon        Reply w/Quote   Visit ShadowTalon's Homepage!
So you have learnt how to tweak some of the properties of gems.txt to make the classic gems just that bit better, but u want to add brand new gems with new gfx and under a new item type. How do you do this you ask, well read on and you might just learn something

First you shall need the following:
Misc.txt
Gems.txt
Itemtypes.txt
TreasureClassEx.txt
Several new gem gfx (ask me kindly and I might send u my gem gfx)
A good imagination in organising gem properties and creating names for the gems

First I suggest that you write down some names of gems and also give them a unique code, which must be 3 characters long.

Now open up misc.txt

Add a new line at the top of the page so you can see which columns u r working on

First add the name of your new gem in the first 2 coloumns named, name and namco

The next line must have 1 in it for all gems, what this column does is make sure that the properties of the gems is always constant ..if you leave this blank or put a zero in this column you shall find that your gem properties will continually increase each time you log into the game (when it is socketed) this is quite amusing to see

On the level column just put zero here, as for levelreq put in any level you think is fair for the quality of gem you are about to make. Do the same for rarity though this has little affect on the actual rarity of the item.

Spawnable column must be set to 1, speed 0 and nonduribility 1. For cost just put in the amount you think your gem will be worth, I leave gamble code empty, I think theres a tutorial on allowing items to be gambled. The code column must be a 3 character unique entry, to make sure it is unique I use the tidle key (key left to one) to make it definitely unique from the codes that are already being used. For alternategfx just use the same as code, for component column, just make this 16 for all your gems,
Unless you are going to make your gem an irregular size put 1 in invwidth and invheight. Hasinv should be set to zero same with gemsocket and gem applytype. The flippyfile column is the gfx used for the item when it is dropped, so just use any flippyfile from the original gems.

Invfile is the gfx you are using for the gem, it must have inv as the first 3 characters and must have 3 more characters following it, I just use the 3 character code to distinguish the gfx. Uniqueinvfile is just for the uniqueiems, ignore this same with the special column. Transmogrify column is used to change the item to a different one, there is a tutorial that explains on how to use this function if you wish to use it. This also goes for the Tmog columns Useable and throwable columns should be set to zero for gems.

We are going to skip the type columns for now ..ill get back to it in a moment.

Sound column should be set to 9 for all gems, whole unique should be zero, same with transparent, transtbl should be set to 5. the next 9 columns should be set to zero
This will bring you to spellicon column which should be set to –1. next 3 columns should be set to zero.

If you are going to make each gem have a better quality like the original ones then you should put the code for the better gem in the BetterGem column, I personally do not do this, though it is entirely up to you (I shall not be going into this further sorry). The rest of the columns are set for the shops, and other options, which are explained in other tutorials, set these to your pleasure.

Open up itemtypes.txt and look for the Chipped Gems column. Now select the whole row and copy and paste it into a new row, change its name to something like GemA, GemB, GemC, etc., and give it a new code, this is the itemtype code, it must be 4 characters long, you have created a new gem itemtype wasn’t that easy?

Well you can have 10 items to each itemtype so make as many as you need to so you can fit all your new gems into the game. You are nearly finished, take a breather for a sec :P

Now go back to misc.txt and add in your new itemtype codes (4 character code) in the itemtype column. You have now finished with misc.txt and itemtypes.txt

Open up treassureclassex.txt

Now add a new line, and start off by typing in your newly acquired itemtype in the first column. For the picks column just put 1 in here and leave the next 4 blank. No Drop should be zero.

Go to the item1 – item 10 columns and add in the 3 character code of your gem(s) in these, and for the prob1 – prob10 colums add what probability you want those items to show u against the other items, the lower the number the more common the item is.

Now you can do either of 2 things, add your itemtype to the items list of the original gems or you can add specifically where your gems shall drop…. If your not too sure how to do the second then just find chipped gems and add your itemtype(s) here and also the prob. If you have more them 3 itemtypes them just add them to the other gem type listed below chipped gems

Now leave the rest of the columns for the moment except for the last 2 which should be set to zero. Theres a tutorial on this file if you want more info

Now you can finally get to actually creating you gems themselves

Open up gems.txt

Type in the name of your gem in the first column, the next 2 columns can be left blank but, by all means experiment with transform to see what colour changes shall happen when you socket your gems in weapons. Make sure you add the 3 character code from misc.txt to the next column. The max number of properties you can have for each socket type (weapon, armor and helm) is 3, so I just add this number o the nummods column because it doesn’t crash if you have less then 3 properties. Now the next 4 columns well define what the 1st properties shall be for weapons. Add the appropriate properties and set the mod parameters in. beware that not all the properties shall work, I have tested all the properties to see if they crash the game or not and illsend this on request (as long as u ask kindly :P). Though you should be safe with most of the properties, so for now add some basic properties from the magical code modifier, such as; ac, ac%, dmg-min, dmg-max.. Well once you have done the first properties I’m sure you can figure out that the rest of the columns are basically the same, this will take you the a fair while to do if u added as many new gems as I did so have fun

Ok once you have finished this you should be ready to test out your new gems.


If anyone finds any errors can someone plz post here so I can fix them up.

You can contact me via email shadowtallon@hotmail.com


------------------
I once believed.
Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished.

I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time

I was a fool.

[This message has been edited by ShadowTalon (edited 15 February 2002).]

IP Logged

UJN
WarLord

Posts: 227
From: Luleå, Norrbotten, Sverige
Registered: Feb 2002

posted 15 February 2002 08:32     Click Here to See the Profile for UJN   Click Here to Email UJN        Reply w/Quote   
Someone should put this one on the tutorial site on phrozenkeep!
Great tutorial!!!!

IP Logged

Axalon
Honorary Warlord

Posts: 2243
From: New England, USA
Registered: Dec 2001

posted 15 February 2002 09:41     Click Here to See the Profile for Axalon   Click Here to Email Axalon        Reply w/Quote   
Excellent, ShadowTalon ... a realy nice piece of work Another fine addition to the ever expanding tutorials

------------------
"To dream a life, or to live a dream ... only through desire shall the sleeper awaken."

IP Logged

mandzo
Moderator

Posts: 658
From: Bulgaria,Sofia
Registered: Aug 2001

posted 15 February 2002 10:32     Click Here to See the Profile for mandzo   Click Here to Email mandzo        Reply w/Quote   Visit mandzo's Homepage!
well just one note the bettergem colum in misc.txt controls the next lvl of gem you will get from a gem shrine eg if you have chiped flawed normal flawless and perfect opals in the game you must set this colum the proper way if you want the gem shrines to work right

------------------
Read or DIE
Muahahahaha

Legends Of The Ancients

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 15 February 2002 11:53     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
I also made a gems tutorial, posted it here on this forum a few days ago and no one commented.

IP Logged

Axalon
Honorary Warlord

Posts: 2243
From: New England, USA
Registered: Dec 2001

posted 15 February 2002 12:14     Click Here to See the Profile for Axalon   Click Here to Email Axalon        Reply w/Quote   
You did Apoc? Cool!! where is it? hmmm ... I don't have to see it, I already know that it's good Good work, Bro ... should bump to the top

------------------
"To dream a life, or to live a dream ... only through desire shall the sleeper awaken."

[This message has been edited by Axalon (edited 15 February 2002).]

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 15 February 2002 12:22     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Well, I was missing some column definitions that I didn't add in there. But it was an old one but quite long. I think I should rewrite it to make it even better.

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 15 February 2002 13:52     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
ShadowTalon and Apocalypse Demon...feel free to e-mail me both your versions of the gem tutorial. It generally works better to e-mail me that for me to pull it from the forums...as it can be a royal pain sometimes and I can end up with all sorts of weirdness to fix up in the final text.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

ShadowTalon
WarLord

Posts: 198
From: Perth, Western Australia, Australia
Registered: Sep 2001

posted 15 February 2002 19:03     Click Here to See the Profile for ShadowTalon   Click Here to Email ShadowTalon        Reply w/Quote   Visit ShadowTalon's Homepage!
thx guys, that was a major ego boost for me wasnt too sure if n e 1 would think it would be good

thx on the input

------------------
I once believed.
Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished.

I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time

I was a fool.

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 17 February 2002 19:54     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
I'm now kindly asking Shadow Talon to send me a list of appropriate gem mods. Also can you send the gem graphics that you have? I'm trying tp get new gem graphic ideas. I kinda wanted sphere-looking things.

IP Logged

54x
Moderator

Posts: 3080
From: Wellington, New Zealand
Registered: Apr 2001

posted 17 February 2002 19:55     Click Here to See the Profile for 54x   Click Here to Email 54x        Reply w/Quote   Visit 54x's Homepage!
Not entirely sure if this is there or not, but you may want to remind people to code a gem upgrade recipie.

------------------
54x.
"My computer has wheels on giant stilts that allow me to drive it over all the other, slower computers."
"For great bandwidth!"
http://www.planetdiablo.com/newdawn/
New Dawn Forum

IP Logged

ShadowTalon
WarLord

Posts: 198
From: Perth, Western Australia, Australia
Registered: Sep 2001

posted 17 February 2002 20:28     Click Here to See the Profile for ShadowTalon   Click Here to Email ShadowTalon        Reply w/Quote   Visit ShadowTalon's Homepage!
no i havent added this yet 54x though i will when i get home, plus i have a bit extra to add, as it seems that one or two peps have a prob with my tutorial.

ill type it up 2night and send it 2 jeff
ibe sent my gfx pack to jeff already , if he will upload it to the site i do not know, but when if n e 1 wants it like chinese man im more than willing to send u my gfx, just make sure u have winzip or something to extract zip format

------------------
I once believed.
Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished.

I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time

I was a fool.

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 18 February 2002 01:51     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
ShadowTalon, I do have Winzip. Can u send me the files? Also the list of mods that aren't for gems.

IP Logged

ShadowTalon
WarLord

Posts: 198
From: Perth, Western Australia, Australia
Registered: Sep 2001

posted 18 February 2002 04:56     Click Here to See the Profile for ShadowTalon   Click Here to Email ShadowTalon        Reply w/Quote   Visit ShadowTalon's Homepage!
ok ive sent u the files

------------------
I once believed.
Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished.

I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time

I was a fool.

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c