the Phrozen Forums
  General Mod Making
  Weapon Specific Skills

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:   Weapon Specific Skills
ewanfranz
Serf

Posts: 9
From:
Registered: Nov 2001

posted 22 November 2001 11:37     Click Here to See the Profile for ewanfranz   Click Here to Email ewanfranz        Reply w/Quote   Visit ewanfranz's Homepage!
Anyone have idea what column would need changed and what to to make a dagger only skill?

IP Logged

Myokai
Honorary Warlord

Posts: 298
From: Entsteig, Sanctuary
Registered: Oct 2001

posted 23 November 2001 03:34     Click Here to See the Profile for Myokai   Click Here to Email Myokai        Reply w/Quote   
You mean how to make a skill only useable with daggers like Fire Arrow is only useable with bows and xbows?

Look at the columns in skills.txt with the item names in them, where it says 1ht and 2ht for the amazon's spear skills for example. Look up the code for a dagger and enter it under the first column.

I do not know where the code for daggers would come from, but I think it will probably be in weapons.txt (not sure... have not touched items yet).

IP Logged

jbouley
Forum Admin.

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

posted 24 November 2001 02:59     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I'm not sure if the itemcode for a weapon will work in the itemclass columns of skills.txt. I think it's only weapons classes that work in there.

For example, if you put stf in an itemclass column, the skill will only work if you equip a weapon that has that weapon class in weapons.txt (like a staff or a maul). If you put 2hs in there, the skill will only work if you have one of those type of weapons (two-handed swords) equipped.

This won't work for all skills. For example, bow/crossbow and javelin skills tend to be hardcoded to their original weapon types. Probably similar with barbarian masteries..though I'm not sure.

But I did make an entire sorc skill tree require staves for casting by doing this (technically, a two-handed hammer or halber-type weapon would allow the sorc to cast these spells as well because they also use the stf weapon class, but no matter...how many sorcs can even lift one of those weapons?)

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

[This message has been edited by jbouley (edited 24 November 2001).]

IP Logged

ewanfranz
Serf

Posts: 9
From:
Registered: Nov 2001

posted 24 November 2001 17:55     Click Here to See the Profile for ewanfranz   Click Here to Email ewanfranz        Reply w/Quote   Visit ewanfranz's Homepage!
Ok, thanks, so is there a code for all knives/daggers, or would it only work for certain dagger?

IP Logged

neptune
Serf

Posts: 7
From: Singapore
Registered: Nov 2001

posted 24 November 2001 19:36     Click Here to See the Profile for neptune   Click Here to Email neptune        Reply w/Quote   
if u want it for all daggers...u can probably look at the skill poison dagger?

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