Aller au contenu

Photo

Dyes for clothes and Armor


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

#1
Friar

Friar
  • Members
  • 293 messages
I think i have looked everywhere, but has anyone created dye bottles for clothe and armor? I know NwN1 has this but I hope to find something for nwn2.

#2
MokahTGS

MokahTGS
  • Members
  • 946 messages
I'm not sure this is possible in NWN2. I could be wrong, but there are some graphical differences between how models are handled in NWN2 as apposed to NWN.

#3
BigfootNZ

BigfootNZ
  • Members
  • 131 messages
Im 99% sure it is not possible with NWN2... whats annoying is they left all the Spell.2da entries for it along with other things (Its amazing whats been left in that should have been cleaned out before they released).

#4
Olblach

Olblach
  • Members
  • 175 messages
Well it's certainly possible to do something with this function:

// Creates a new copy of an item, while making a single change to the appearance of the item.
// Helmet models and simple items ignore iIndex.
// iType iIndex iNewValue
// ITEM_APPR_TYPE_SIMPLE_MODEL [Ignored] Model #
// ITEM_APPR_TYPE_WEAPON_COLOR ITEM_APPR_WEAPON_COLOR_* 1-4
// ITEM_APPR_TYPE_WEAPON_MODEL ITEM_APPR_WEAPON_MODEL_* Model #
// ITEM_APPR_TYPE_ARMOR_MODEL ITEM_APPR_ARMOR_MODEL_* Model #
// ITEM_APPR_TYPE_ARMOR_COLOR ITEM_APPR_ARMOR_COLOR_* 0-63
object CopyItemAndModify(object oItem, int nType, int nIndex, int nNewValue, int bCopyVars=FALSE);

You would have to destroy the old item after making a copy of it with a new color.

#5
Banshe

Banshe
  • Members
  • 557 messages
There is something called Charlies Item Appearance Changer on the vault (or something like that).

Modifié par Banshe, 14 octobre 2010 - 07:50 .


#6
dunniteowl

dunniteowl
  • Members
  • 1 559 messages
This presupposes that the pieces of the models in question are tintable as a model in the first place. Unfortunately, not all models are equal. Some are tintable in three palette channels, others in two, some only one and others are not tintable at all without making a copy item, exporting it, and then changing it to a tintable model and then reinserting it back into the game as it's own unique model (so you don't override the original,) which is generally beyond the scope of the average player, and a tad out of reach for most builders as well.

This is probably one of my biggest gripes for NWN2 in terms of what we have for assets. If all models were given the same respect and were tintable in all three palette ranges, we could do armor 'dyeing and tinting' as well as clothes, weapons, items, etc. Not only that, though, making custom clothing and armor combos would have been a damnsight easier, too, for creating our own stories and adventures with the toolset.

This is one of those things that I know was done the way it was due to time constraints. For that, though, instead of Atari, I lay this at the feet of Obsidian. I think it was a poor design decision that critically impaired the creative potential of the game, considering the situation and knowing that we were going to have a harder time creating animations, new models and such.

Sorry for the slight rant. It's one of the sore spots I have with NWN2, much as I love it, there are some warts and this is one of them that sits right on the nose.

dunniteowl

#7
ArtEChoke

ArtEChoke
  • Members
  • 85 messages

Banshe wrote...

There is something called Charlies Item Appearance Changer on the vault (or something like that).


I used this thing once. Worked great. Link.

#8
Olblach

Olblach
  • Members
  • 175 messages
I know this but I don't think it does color change. However that would not be too hard to do. There are already several PW that offer a dressing room with color change.

The bottle idea is interesting if you want to limit the available colors. I'll look into it when I have some time.

Modifié par Olblach, 14 octobre 2010 - 04:29 .


#9
Olblach

Olblach
  • Members
  • 175 messages
Ok I've looked and the function CopyItemAndModify doesn't change color. There are constants for this in patch1.23 but the function SetItemTint is missing :P

However it's still possible to do that with Charpenter (and NWNX probably). I just need to think a little about the best way to do it.

Edit: I see it already exists for NWNX4: http://nwvault.ign.c...r.Detail&id=127

Modifié par Olblach, 15 octobre 2010 - 06:09 .


#10
Friar

Friar
  • Members
  • 293 messages
I know I am a year late but thanks Olblach and everyone providing input. Gosh... a year! This module is taking me soo long to complete.