Aller au contenu

Photo

The nudist PC (or How to resolve these armor issues?)


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

#1
olivier leroux

olivier leroux
  • Members
  • 590 messages
I've got this problem that whenever I create custom clothing for my PC he needs at least the Light Armor Proficiency which he doesn't have, so I created an item that gives it to him. However, when I load the character into the module - even though he already wears both the item giving him the Light Armor feat, as well as the clothing - he unequips his clothing again and you'd have to equip it manually. I tried to make him equip the clothing by scripting at the start of the module but apparantly it didn't work. Any ideas on how to make it work? It's just clothing g**d***it!
:pinched:

#2
Balduvard

Balduvard
  • Members
  • 71 messages
The chest appearance will determine the type of armor you are creating. Appearances closer to 0 are clothing (0 base armor) whilst appearances near the end of the list are heavy (8 base) armor. You can tell what the base armor is when you are changing the item's appearance.


#3
olivier leroux

olivier leroux
  • Members
  • 590 messages
Yes, I figured that out but I still want to choose appearances freely. Any idea on how to make the PC comfortable with an armor type he usually can't wear?

#4
Balduvard

Balduvard
  • Members
  • 71 messages
I believe you can apply the item property constants for armor proficiency to the PC's skin. I have not personally tested doing such, so I am unsure of how it would interact with the equipping process on client enter.

#5
Xenovant

Xenovant
  • Members
  • 95 messages
If is for singleplayer and you don't mind to cheat... you could use Leto to give the character the armor proficiency :P



Have you added a "ClearAllActions()" before the equip command? If not, add it ;)



Maybe adding a "DelayCommand" to the equip command may work too. The idea it's to wait until the game checks the item with the armor proficiency and then equip the armor

#6
Fester Pot

Fester Pot
  • Members
  • 1 393 messages
Strange. When you equip the NPC in the toolset, it should give you a warning of what armor proficiencies the NPC does not have. Click YES to give them the ones they require to wear the gear.



FP!

#7
olivier leroux

olivier leroux
  • Members
  • 590 messages
It's not an NPC but the PC himself. I created him, let him equip the items and saved the character, then started the mod with him (both items already equipped). Although one item grants him the required feat, the engine removes his light armor.

#8
kalbaern

kalbaern
  • Members
  • 824 messages
The reason this is happening (and its also why equipped items that boost spell bionuses or grant spells fail on relogging) is that your PC actually spawns in nude first. Then the game creates any items equipped and in inventory after you spawn in. This all happens before you actually appear IG though. So because the item granting you the light armor feat needs to be created at the same time your armor is, your armor automatically unequips. Hope this makes sense. I'd just Leto the PC and give him/her the darned feat.

#9
olivier leroux

olivier leroux
  • Members
  • 590 messages
The mod has to follow the rules of the GOG contest and I don't know if using Leto would be okay, so I just gave up and created another set of clothing with AC 0; doesn't look too bad either. But all your input has been very helpful to make me understand how NWN works. Thank you, kalbaern, FP, Xenovant and Balduvard!
:happy:

Modifié par olivier leroux, 22 novembre 2010 - 03:10 .