the Phrozen Forums
  General Mod Making
  Problems with Missiletypes

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:   Problems with Missiletypes
Dark Spot in the Corner
Serf

Posts: 13
From: Germany
Registered: Sep 2001

posted 27 January 2002 04:02     Click Here to See the Profile for Dark Spot in the Corner   Click Here to Email Dark Spot in the Corner        Reply w/Quote   
Good day to you all!
I need to know if someone has a grip on missiletypes. I was trying to do a crossbow that uses his own ammunition and therefore a new missiletype, like "BoneSpear" or something, when doing throwable weapons, that is non problem, you simply change the missiletype and there you go, however i have problems getting that thing to work with a crossbow.

I've edited both, the Amunition in the misc.txt and the new crossbow in the weapons.txt. Changing their missiletype to the Id of Bonespear, 192 if i recall correctly. However nothing happened.

I finally managed to do it, but that way can't be kept, since i figured out that the crossbow missiletypes aren't linked to the id, but instead seem to be hard-coded, because once is swapped the rows of Bolt and Bonespear it worked, to some extend, however this is no soulution...

I now need to know if there is a txt file i am missing or if someone knows if i made a mistake somewere...

IP Logged

jbouley
Forum Admin.

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

posted 27 January 2002 11:35     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Well, here's the thing. Often, designating a spell missile row to serve duty as a weapon missile will produce problems.

I think that setting SrcDam column to 8 might allow your missile to do damage...I presume that's your problem...that the missile appears but does nothing.

However, if you want all crossbows and bows to use a special missile, and the same one...you can change them graphically by changing the CelFile and AnimLen columns for the arrow row to match those in Bone Spear's row (make sure you pick the bone spear missile rather than the bone spear trail).

If you only want the crossbows to use a new missile without affecting bows...well...

There are a few unused missile rows as well (some of which look like they're in use but really aren't...you can search through skills.txt, weapons.txt and monstats.txt to figure out which aren't really being used.

Make those rows exactly like the arrow row except for the CelFile and AninLen...and use them instead for your crossbows.

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

[This message has been edited by jbouley (edited 27 January 2002).]

IP Logged

Dark Spot in the Corner
Serf

Posts: 13
From: Germany
Registered: Sep 2001

posted 02 February 2002 17:03     Click Here to See the Profile for Dark Spot in the Corner   Click Here to Email Dark Spot in the Corner        Reply w/Quote   
No, you got me wrong that is not the problem.

The problem is that when i set the missiletypes to the Id number of "Bonespear", nothing happens... The crossbow continues to shoot bolts merrily...

Only when actually switching the positions of the rows within the txt file, the crossbow starts shooting Bonespears, but the all other Crossbows do that too, as well as the Necromancer shooting bolts when using the Bonespear skill.

The problem seems to be that the row used for missileweapons that use ammunition seems to be hardcoded or linked by a txt yet undiscovered by me...

------------------
i am breathing the fire
it's kiss is my desire
i am preaching the flame
you wont be the same
now you will burn
back you can't turn

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