Scripts for making cloaks show up on a PC when one is equipped. Standard OnItemEquipped/Unequipped scripts placed on cloaks and armor WILL function normally as well. Includes .ERF file and demo MOD. Scripts were developed using HotUv1.61, but MAY work with Classic NWNv1.61 and higher. Demo mod was created with SoU and HotU installed and may not work without both expansions. These scripts will require my cloak hak (BG_Cloaks) to function, of course. Other cloak haks may work as well, although I do not support it. Any hak pack with cloaks in neck slots 30 and 31 should function, although not necessarily as expected. The default cloak shows up using 'cloth color #1'. This is the color used on hoods on most heads. A cloak can be made to show up as 'cloth color #2', if desired: 1: Place the variable BG_CLOAK_VARIABLE = 1 on a cloak. This cloak will show up as cloth2 when worn. 2: Place the variable on a suit of armor. ANY cloak worn with this armor will show up as cloth2.
This is a compilation of the old system into a single score. There were 7 that made this score of 9.86 then rounded to 10.
Posted by DaRKWuRM ( ..xxx.xxx ) at 2004-01-03 02:37:00
I did a rework of your code that should fix that annoying armor dupe. If you want a copy sent me a e-mail. Or if you would rather I just post it let me know.
DaRKWuRM
Posted by mr coke ( ..xxx.xxx ) at 2004-01-02 19:46:00
and the dye kit bug has fixed?
i need much put it on my module pllz try to fix the dye kit bug :(
Thanks for catching the typo, cyberglum. You're right, the variable name is BG_CLOAK_VARIANT.
Posted by cyberglum ( ..xxx.xxx ) at 2004-01-01 15:28:00
Hi Rhedd,
I've downloaded this and had a fiddle with it, good stuff!
I noticed that in the Description above you state that you should place the variable BG_CLOAK_VARIABLE=1 on either the armour or cloak you want to display as cloth2? Well I think it should actually read BG_CLOAK_VARIANT=1. It's named in one of the scripts involved but maybe you should change the description above...
For anyone who's interested I went through the 2da for the HUB_Roupas Hak (it's on the vault in the Haks index)and identified the items they used for slots 150 to 165 of the neck slot...
150 = 'neck spikes'
151 = nothing as far as I could tell
152 = nothing as far as I could tell
153 = nothing as far as I could tell
154 = narrow,trim cloak
155 = wide trim cloak
156 = trim cloak
157 = shoulder pouch
158= 2 sword scabbards
159= backpack
160 = empty sword scabbard
161 = quiver
162 = rhedds cloaks 1
163 = rhedds cloaks 2
164 = cloth cape
165 = amulet
Good to know if you use that Hak if you want to have diffrent types of cloaks in your Mods.
Well... +blocked+. ^-^ The problem with the armor doubling is that when a change is made to armor, the armor is automatically unequipped. This fires the OnUnequip function again of course, and can lead to some nasty loops. I got around this problem with my scripts by setting a "switch" that keeps the function from restarting while running, if that makes sense. I should have realized that the Bioware crafting scripts would cause this problem as well. I'll look into it and see what I can do.
Gonar, sorry, but I am having a lot of trouble figuring out what you are trying to tell me. Unfortunately I can't speak a word of Spanish. Please feel free to email me a new script that you are working on, if I understand you correctly. Thank you.
Have fun!
Posted by Mr coke ( ..xxx.xxx ) at 2003-12-29 23:36:00
i have tested my doubt and it works fine...
but i find one critical bug :(
when i try to use my dye colors in my armor to change the cloth color of the cloak the armor makes a clone armor file in my inventory each time i try to change the colors of the armor... and players can use it to make money with this exploit :(
Spanish :
Rhedd confusion ninguna ^^ simplemente pense que seria apropiado cambiar la imagen puesto que lo que yo subi cambia mas cosas, aunque he de reconocer que la idea me surgio gracias a tu fantasticas capas.
Voy a aprovechar para consultar una duda XD, ¿ Tienes pensado sacar mas modelos de capas, con texturas o algo ?.
Si te parece bien (ya te lo enviare por mail, o me pondre en contacto contigo aqui mismo), estoy preparando para hotu 1.61 un script bastante mejor echo de la base que hice para tus capas. Si cuando te lo mande te gusta, quedatelo como aportacion, o modificalo, no se lo que veas, ahora he llegado del trabajo, pero cuando me levante me pongo a terminarle algunos detalles y mirare aqui haber como puedo enviartelo.
Bueno claro si esto se entiende, por que ir con el power translator uffff :(
Me bad english :( :
Rhedd confusion any ^^ I simply thought that serious appropriate to change the image since what I ascended changes but you sew, although I must recognize that the idea arose me thanks to your fantastic layers.
Will I take advantage to consult a doubt XD, do you Have thought to take out but models of layers, with textures or something?.
If you find well (I will already send it to you for mail, or I will contact you right here), I am preparing for hotu 1.61 a quite better script I toss of the base that I made for your layers. If when it sends it to you you like, stay it as contribution, or modify it, not you what you see, now has arrived of the work, but when I get up I put to finish him some details and I will look here to have like I can send it to you.
Good if this understands each other for that to go with the power translator uffff: (
Posted by Mr coke ( ..xxx.xxx ) at 2003-12-29 21:34:00
congratulations for your work.... its very cool and very useful
i was thinking implement it to my module... and i have questions
do you think if i put the contents of the cloaks hak pak in the override folder and make it optional to the players will work fine?
like if the guy dont want to see the cloaks in the cloak slot the player dont need to download it and for those who want to see only have to put in in the override folder
do you think it can work if i do this? or only will work if i atach your hak pak in my module and say to all players download the hak pak?
Posted by Slyy ( ..xxx.xxx ) at 2003-12-29 14:30:00
These look neat and I would like to try, but I can't find the required cloak hak, even after searching for "cloaks". How bout a link?
Yeah, the other guy used Rhedd's screenshots from his cloak hak.
On another note: Hey, Rhedd, do you think you might be interested in converting your cloaks to wing-slot models? It turns out that you can put other models and VFX in the slots, not just wings ... though I don't think you can access the slots progmatically ... Just a thought :)