Jump to content

Switching texture using a script


dxangelo

Recommended Posts

Hello dears!

The question arose. There is a mod with several color variations for the model. I have prescribed in the esp path textures that would override the values in the nif-files. Everything works fine. But to create a lot of options of different colors, you have to create and Armor and Armo. I wonder if it is possible to change the values of Texture set in Armor script?

 

I don't know English, so sorry for the sloppy translation...(

Link to comment

is it that to type skyrim creation kit armor addon script in google?

 

SKSE Member Functions

String GetModelPath(Bool firstPerson, Bool female)
  • Returns the model path of this ArmorAddon.
SetModelPath(String path, Bool firstPerson, Bool female)
  • Sets the model path of this ArmorAddon.
Int GetModelNumTextureSets(Bool firstPerson, Bool female)
  • Returns the number of TextureSets for this ArmorAddon.
TextureSet GetModelNthTextureSet(Int n, Bool firstPerson, Bool female)
  • Returns Nth TextureSet for this ArmorAddon.
SetModelNthTextureSet(TextureSet texture, Int n, Bool firstPerson, Bool female)
  • Sets the Nth TextureSet for this ArmorAddon.
Link to comment
23 minutes ago, yatol said:

is it that to type skyrim creation kit armor addon script in google?

 

SKSE Member Functions

String GetModelPath(Bool firstPerson, Bool female)
  • Returns the model path of this ArmorAddon.
SetModelPath(String path, Bool firstPerson, Bool female)
  • Sets the model path of this ArmorAddon.
Int GetModelNumTextureSets(Bool firstPerson, Bool female)
  • Returns the number of TextureSets for this ArmorAddon.
TextureSet GetModelNthTextureSet(Int n, Bool firstPerson, Bool female)
  • Returns Nth TextureSet for this ArmorAddon.
SetModelNthTextureSet(TextureSet texture, Int n, Bool firstPerson, Bool female)
  • Sets the Nth TextureSet for this ArmorAddon.

Yatol can that also work to put a tattoo that

has a diffuse map and specular map to the player's body?

Link to comment
1 hour ago, yatol said:

это то, что для ввода скрипта skyrim creation kit armor addon в google?

 

Функции-члены SKSE

Строки GetModelPath(типа bool режима обзора от первого лица, типа bool женщина)
  • Возвращает путь модели Армораддона.
SetModelPath(строка путь, Боол режима обзора от первого лица, Боол женщина)
  • Задает путь модели этого Армораддона.
Инт GetModelNumTextureSets(Боол режима обзора от первого лица, типа bool женщина)
  • Возвращает количество TextureSets для этого ArmorAddon.
TextureSet GetModelNthTextureSet(Инт н, бул режима обзора от первого лица, Боол женщина)
  • Возвращает Nth TextureSet для этого ArmorAddon.
SetModelNthTextureSet(TextureSet текстуры, Инт н, бул режима обзора от первого лица, Боол женщина)
  • Устанавливает N-й TextureSet для этого ArmorAddon.

Thanks! I have never used SKSE, so I had no idea... Thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use