Author Topic: Weapons models and color limitations  (Read 639 times)

Legacy__NagaShadow_

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Weapons models and color limitations
« on: July 18, 2011, 06:48:12 pm »


               Greetins, I'd like to ask something about the weapon system.
Nowadays the problem is that weapons are composed of models and colours, altough in toolset all can be seen, in game you can only costumize from numbers 1 to 4.
Is any script or way to remove this limitation? Thanks. And sorry for my bad english.
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Weapons models and color limitations
« Reply #1 on: July 20, 2011, 10:11:48 pm »


               BUMP!  I was kind of wondering about this too.  Any ideas?  Something in some NWNX plugin, possibly?
               
               

               
            

Legacy_Rubies

  • Hero Member
  • *****
  • Posts: 508
  • Karma: +0/-0
Weapons models and color limitations
« Reply #2 on: July 21, 2011, 08:05:10 am »


               Does the CopyItemAndModify function not work when set to 5+ for TYPE_WEAPON_COLOR? It's not something I've tested.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Weapons models and color limitations
« Reply #3 on: July 21, 2011, 08:26:57 am »


               The internal scripts for modifying them work properly, it's just that the default Bioware crafting doesn't go beyond 4 in weapon models or colours.
 Custom crafting systems will do so, but what I found when I was making mine, was that if the part/colour chosen wasn't valid, the no item would be made at all, unlike with armour where it would just show a blank.
 Really, that just meant putting in an extra check to make sure the modified version was valid before deleting the original, something I likely should have put in to begin with anyways.
               
               

               
            

Legacy_nwnsmith

  • Full Member
  • ***
  • Posts: 125
  • Karma: +0/-0
Weapons models and color limitations
« Reply #4 on: November 01, 2012, 06:23:45 am »


               BUMP

I have been testing this and I cannot seem to make a shield appear through this or the get function when it is of value 5 or higher. Is there something I am missing? Can anyone post a snippet of script that can make these craftable through conversation? I was also wondering about the possibility of NWNX here.

This is from the latest mil tailor on the vault:
Special note: Some haks allow weapons with "colors" 5-9 that have different models. Unfortunately, CopyItemAndModify uses ITEM_APPR_TYPE_WEAPON_COLOR as a parameter, and it only recognizes numbers 1-4. Therefore, players will not be able to access those colors, and if they try to modify a weapon which already uses one of them, they will receive a message saying they cannot modify that weapon. 
               
               

               


                     Modifié par nwnsmith, 01 novembre 2012 - 06:28 .
                     
                  


            

Legacy_dusty.lane

  • Full Member
  • ***
  • Posts: 222
  • Karma: +0/-0
Weapons models and color limitations
« Reply #5 on: November 01, 2012, 08:16:26 pm »


               Wow, I didn't actually realize how much trouble it was to get colors 5-9. =P My bows use 1-9, but I tested with some haks that enabled it, beyond that I didn't know how it worked. Is it still worth it to use those slots when possible, even if there's all this trouble that comes with it?
               
               

               
            

Legacy_nwnsmith

  • Full Member
  • ***
  • Posts: 125
  • Karma: +0/-0
Weapons models and color limitations
« Reply #6 on: November 01, 2012, 08:24:06 pm »


               For me it is still worth it to use them as they can be administered through the toolset. As for a tailor, if there is no nwnx solution I am thinking of creating a custom item in toolset for each appearance then copying name and properties. Tags can even be set by nwnx
               
               

               
            

Legacy_dusty.lane

  • Full Member
  • ***
  • Posts: 222
  • Karma: +0/-0
Weapons models and color limitations
« Reply #7 on: November 01, 2012, 08:40:22 pm »


               Well, the server I tested my bows with, they've got tailor models working with colors 1-9. So it is possible, just don't ask me how! =P
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Weapons models and color limitations
« Reply #8 on: November 01, 2012, 08:41:12 pm »


               

nwnsmith wrote...

For me it is still worth it to use them as they can be administered through the toolset. As for a tailor, if there is no nwnx solution I am thinking of creating a custom item in toolset for each appearance then copying name and properties. Tags can even be set by nwnx



Have you tried using a value larger then 4 in the function.  That is for an item that you know the value is valid for.   Or did you just take the word of the Quote above that it does not work?

EDIT: Missed the main point in the original Question posted by nwnsmith.  See post below.
               
               

               


                     Modifié par Lightfoot8, 01 novembre 2012 - 09:06 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Weapons models and color limitations
« Reply #9 on: November 01, 2012, 09:16:33 pm »


               

nwnsmith wrote...

BUMP

I have been testing this and I cannot seem to make a shield appear through this or the get function when it is of value 5 or higher. Is there something I am missing? Can anyone post a snippet of script that can make these craftable through conversation? I was also wondering about the possibility of NWNX here.

This is from the latest mil tailor on the vault:
Special note: Some haks allow weapons with "colors" 5-9 that have different models. Unfortunately, CopyItemAndModify uses ITEM_APPR_TYPE_WEAPON_COLOR as a parameter, and it only recognizes numbers 1-4. Therefore, players will not be able to access those colors, and if they try to modify a weapon which already uses one of them, they will receive a message saying they cannot modify that weapon. 



The problem here is that the 1-4 color variant applys to composit model types.   A shield is a simple model type.  It has no color variants like the composit model type(weapons). it also does not have color channels like the layered or armor model types have.    With a shield about all you are going to be able to do is set the ITEM_APPR_TYPE_SIMPLE_MODEL, That is the only thin that will apply to them.
               
               

               
            

Legacy_nwnsmith

  • Full Member
  • ***
  • Posts: 125
  • Karma: +0/-0
Weapons models and color limitations
« Reply #10 on: November 02, 2012, 02:51:37 am »


               Thanks Lightfoot8, I am actually interested in weapons as well as I will be moving on to them next and adding items from the CCC.

Regarding shields, that makes sense that they are simple models. What threw me was that I was pulling a script from the module "Pretty Good Character Creator which did use those other two functions for shields and you can cycle through the first 4 appearances with them. I will try to set the ITEM_APPR_TYPE_SIMPLE_MODEL. If that allows me to cycle through all valid models I can do that quickly and move on to weapons.

dusty.lane: do you have access to the script that the server uses where you could see your bow models 1-9?
               
               

               
            

Legacy_dusty.lane

  • Full Member
  • ***
  • Posts: 222
  • Karma: +0/-0
Weapons models and color limitations
« Reply #11 on: November 02, 2012, 08:00:58 am »


               Nope, but they use NWNX, so it might be related to that. I can kind of tell, since you can change your name and all sorts of other stuff, which I heard was only possible with NWNX. So... sorry!
               
               

               
            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0
Weapons models and color limitations
« Reply #12 on: December 15, 2012, 01:10:03 pm »


               I have a question vaguely related to this. I'm not concerned with any crafting limitations as my players approach this with the same philosophy as I do in that if one found a weapon, one can't exactly beat it or reforge it into another form.

The issue I am having is that no colors above 4 will even show up in the toolset (converse to the OP's implying remark that all do). I had made a crystal sword under top slot 24 with 9 blade colors but only 1-4 are showing as available (yes, WSwLs_t_24x icons are present for all nine). Does this limitation indeed lock color variations above 4 from being available in the toolset as well or is there some other change somewhere that needs to be made?

I ask because I do remember CEP having more than 4 color options but, when loading it up, it seems the higher color variations are also different models within the same style number; I.E. a top model of 15 will have colors 1-4 then say color 7 will be a different physical model still under 15.
               
               

               


                     Modifié par Malagant, 15 décembre 2012 - 01:13 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Weapons models and color limitations
« Reply #13 on: December 15, 2012, 04:15:12 pm »


               The topic here was continued on the scripting forums.  

Customizing weapons with colors higher than 4, is this on the right track?

But it sounds like your problem is that you made the icons but you did not make the models to go with them.  
               
               

               
            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0
Weapons models and color limitations
« Reply #14 on: December 15, 2012, 04:56:24 pm »


               

Lightfoot8 wrote...

The topic here was continued on the scripting forums.  

Customizing weapons with colors higher than 4, is this on the right track?

But it sounds like your problem is that you made the icons but you did not make the models to go with them.  

Would that this were true, but the existence of the models are a given. I just pointed out that I do have the ions to avoid someone inadvertantly telling me I need those in there as well when they already are.

My question, however, is less about the crafting aspect of things and more why they wouldn't be showing up in the toolset, which is why I didn't post to the link you referenced.

I'm guessing I misinterpreted the OP's implication that they would?