the Phrozen Forums
  General Mod Making
  Why does it work for jbouley but not for me? (SrcDam)

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:   Why does it work for jbouley but not for me? (SrcDam)
Myokai
Honorary Warlord

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

posted 29 November 2001 03:48     Click Here to See the Profile for Myokai   Click Here to Email Myokai        Reply w/Quote   
Anticlimax!

I decided to take a look at the mysterious SrcDam column in missiles.txt and skills.txt jbouley posted about yesterday.

By looking at the existing examples (especially Cold Arrow, with a SrcDam of 4 and 'half damage of a regular arrow' according to the skill description) and jbouleys post about enabling normal throwing weapon damage for other missiles used as throwing weapon missile gfx, I decided that SrcDam controls whether or not weapon damage is added to your attack, and if so, how much (0: nothing, 8: all, 4: half). Maybe it also controlled whether the to-hit chance is calculated for the attack...

but it was not to be. I equipped my guinea pal with a big 220-240 dmg maul and set Holy Fire's SrcDam to 8.

In-game, the listed damage on the character sceen for a level 1 Holy Fire went from 13-33 to 280-something when equipping the maul.

But when I tested the skill on fire immune Fallen Ones, they received no damage, not even the physical weapon damage. Bad start.

Worse, equipping the weapon or not had zero effect on those that were vulnerable to fire. One would think that 260 damage would drop them faster than 13-33, but it took the same number of Holy Fire hits (within the min-max dmg uncertainty).

So all the SrcDam column appears to do is set the value in the character screen.

But jbouley said that he had set SrcDam to 8 for missiles to be used as throwing weapons!

So when *HE* set SrcDam to 8 for Unholy Bolt he got the weapon damage added, when *I* set SrcDam to 8 for Holy Fire nothing happens.

Any idea what I am missing? Maybe the 'uses weapon or not' thing is hardcoded, and all SrcDam is, is a multiplier. Changing the Cold Arrow SrcDam to 8 does work, but if that is all that can be done, it is not much...

*dreams of life and mana stealing Holy Shock disappear into the ether*

[This message has been edited by Myokai (edited 29 November 2001).]

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 29 November 2001 06:33     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
[b]dreams of life and mana stealing Holy Shock disappear into the ether*
[\b]

Join the club...I've had many visions dissapear into the void myself.


I think the Src may control Weapon dependant damage. Since your the spell is not dependant on your maul, it doesn't add it. But since cold arrow is dependant on arrows, it does?

------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

jbouley
Forum Admin.

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

posted 29 November 2001 14:04     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
As I said in my earlier post, I thought SrcDam played some role...but it seems more complex.

I should point out that I used this method so far in only two places: (1) the unused missile row (or is there more than one?) which never did damage when I put info in there for a new missile but did when I set SrcDam to 8, and (2) the Electric throwing axe missile row, which also did no damage for me unless SrcDam was set to 8 (well, I don't know that the specific number 8 did it...but clearly something needed to be in there).

So, perhaps with monster-specific missiles it is more complex. I remember that long ago I used to use Unholy Bolts with no problem as weapon missiles...then they stopped working around patch 1.06 or 1.08. Ihaven't revisited that particular issue since then...though I was going to attempt altering SrcDam to see if I could use it again on weapons.

Sorry if I got too many hopes up. The two rows I used this strategy on worked...I haven't had time to explore others.

------------------
- 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

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