Aller au contenu

Photo

[solved] Quiver variation problem


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
nezroy

nezroy
  • Members
  • 99 messages
I created a mod that has a custom bow and quiver variation (via ItemVariations.xls mechanism), by deducing that the last field of longbow_variation was actually a link to the id of a row in arrow_variation. Now my custom bow variant has a custom quiver variant to match it. This works fine as long as I'm firing standard arrows, however, as soon as I equip a custom ammo type, the quiver reverts back to one of the default quivers.

Does anyone know what's going on here, or have any ideas? I haven't been able to figure out why equipping ammo is causing the quiver to switch back.

Modifié par nezroy, 04 mars 2010 - 03:42 .


#2
Nattfodd

Nattfodd
  • Members
  • 321 messages
Maybe is handled by scripting?

#3
Jwd

Jwd
  • Members
  • 89 messages
most likely its hardcoded

#4
nezroy

nezroy
  • Members
  • 99 messages
It turns out that the arrow variant is used not just as a reference to the standard arrow type to display with the bow, but also as a variant type for the actual ammunition items. So when the ammunition is equipped, the arrow variant defined for the ammo tells it what quiver to display.

Of course fixing the problem meant creating duplicate ammo types that used my custom quiver variant, and then hooking EVENT_TYPE_EQUIP to "convert" the ammo between the two types as appropriate.

#5
Thadigan

Thadigan
  • Members
  • 12 messages
Do you think that it would be possible to make a completely transparent dds file for the quiver texture and make it disappear entirely? The arrows get in my hair and its annoying :)

#6
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
A better option would be to make replacement quiver models with no mesh.