Jump to content

Code help.


3ernardo

Recommended Posts

Hi everybody.

 

First, just for you to know, i don't have a clue about how to script in TEScs...

 

So here is the doubt, the following code belongs to BodyShapes mod from Breeze582000, this mod allows you to change your body shape and armours independent of your race. I use it because i want my imperial to look stronger than the rest of the imperials, but this mod demands that i make a copy of all armors in the game in a specific folder (/meshes/armorAlternate/) but it costs a lot of memory and f-up some other mods.

 

My idea is to simply chop the code (if it's possible) in order to mantain the alternate body from the mod but also descarting the alternate armours leaving just the regular ones.

 

Would anyone please tell me how the code should be to do so?

 

I don't itend to release this mod, just keep it for my personal use, but if i ever want to share this, of course, the autor will be consulted.

 

scriptName brzBodyShapeAlternateScript
; Uses meshes found in /meshes/*Alternate

; References to existing equipped items
ref cuirass
ref greaves
ref gloves
ref boots
ref helmet
ref shield

; References to previously equipped items (before the current check)
ref oldCuirass
ref oldGreaves
ref oldGloves
ref oldBoots
ref oldHelmet
ref oldShield

; How many empty slots are there? Equipped body suit items are considered "empty"
short numEmptySlots

; Is a particular slot empty?
short isCuirassEmpty
short areGreavesEmpty
short areGlovesEmpty
short areBootsEmpty

; Is a mesh swap required? i.e. has anything of interest changed since the last check?
short swapNeeded

; Has the token been "activated"?
short activated

; What is this object's game load number?
short gameLoadNum

short doneOnce

begin onAdd player
set activated to 1
end

begin menuMode
if activated
; Check and Swap if needed

; Initialise flags
	set isCuirassEmpty to 1
	set areGreavesEmpty to 1
	set areGlovesEmpty to 1
	set areBootsEmpty to 1

; Examine equipment slots		
	set cuirass to player.getEquippedObject 2
	set greaves to player.getEquippedObject 3
	set gloves to player.getEquippedObject 4
	set boots to player.getEquippedObject 5
	set helmet to player.getEquippedObject 0 ; head
	if helmet == 0
		set helmet to player.getEquippedObject 1; hair
	endif
	set shield to player.getEquippedObject 13
	
	if cuirass != 0
		set isCuirassEmpty to 0
	endif
	if greaves != 0
		set areGreavesEmpty to 0
	endif
	if gloves != 0
		set areGlovesEmpty to 0
	endif
	if boots != 0
		set areBootsEmpty to 0
	endif

	if cuirass == 0
		set cuirass to player.getEquippedObject 20		; cuirass, greaves, gloves & boots
		if cuirass != 0
			set areGlovesEmpty to 0
			set isCuirassEmpty to 0
			set areGreavesEmpty to 0
			set areBootsEmpty to 0
		else
			set cuirass to player.getEquippedObject 19	; cuirass, greaves & boots
			if cuirass != 0
				set isCuirassEmpty to 0
				set areGreavesEmpty to 0
				set areBootsEmpty to 0
			else
				set cuirass to player.getEquippedObject 18; cuirass & greaves
				if cuirass != 0
					set isCuirassEmpty to 0
					set areGreavesEmpty to 0
				endif			
			endif			
		endif
	endif

; Swap needed?
	if (helmet != oldHelmet) || (shield != oldShield) || (cuirass != oldCuirass) || (greaves != oldGreaves) || (gloves != oldGloves) || (boots != oldBoots); || (getGameLoaded)
		set swapNeeded to 1
	endif

	if gameLoadNum != brzBodyShapes.gameLoadNum
		set gameLoadNum to brzBodyShapes.gameLoadNum
		set swapNeeded to 1
	endif

; Swap if needed
	if (swapNeeded == 1) && (player.getIsSex Female == 1) && (brzBodyShapes.characterSwapping == 0)
		set brzBodyShapes.characterSwapping to player
; "Block" message queue to not see Equipped Item messages
		message "  "
		message "  "

; Swap helmet
		if (helmet != 0) && (isArmor helmet)
			player.unequipItem helmet
			modMaleBipedPath "armor|armorAlternate" helmet				
			player.equipItem helmet
			modMaleBipedPath "armorAlternate|armor" helmet				
		elseif (helmet != 0) && (isClothing helmet)
			player.unequipItem helmet
			modMaleBipedPath "clothes|clothesAlternate" helmet	
			player.equipItem helmet
			modMaleBipedPath "clothesAlternate|clothes" helmet	
		endif
; ---------------------------------------------------------------------------------
; Swap shield
		if (shield != 0) && (isArmor shield)
			player.unequipItem shield
			modMaleBipedPath "armor|armorAlternate" shield				
			player.equipItem shield
			modMaleBipedPath "armorAlternate|armor" shield				
		elseif (shield != 0) && (isClothing shield)
			player.unequipItem shield
			modMaleBipedPath "clothes|clothesAlternate" shield	
			player.equipItem shield
			modMaleBipedPath "clothesAlternate|clothes" shield	
		endif
; ---------------------------------------------------------------------------------
; Swap cuirass
		if (isCuirassEmpty) && (cuirass == 0)
			set cuirass to brzBodySuitCuirass
		elseif cuirass != 0
			player.unequipItem cuirass
		endif

		if (cuirass != 0) && (isArmor cuirass)
			modMaleBipedPath "armor|armorAlternate" cuirass				
			player.equipItem cuirass
			modMaleBipedPath "armorAlternate|armor" cuirass				
		elseif (cuirass != 0) && (isClothing cuirass)
			modMaleBipedPath "clothes|clothesAlternate" cuirass	
			player.equipItem cuirass
			modMaleBipedPath "clothesAlternate|clothes" cuirass	
		endif
; ---------------------------------------------------------------------------------
; Swap greaves
		if (areGreavesEmpty) && (greaves == 0)
			set greaves to brzBodySuitGreaves
		elseif greaves != 0
			player.unequipItem greaves
		endif

		if (greaves != 0) && (isArmor greaves)
			modMaleBipedPath "armor|armorAlternate" greaves				
			player.equipItem greaves
			modMaleBipedPath "armorAlternate|armor" greaves				
		elseif (greaves != 0) && (isClothing greaves)
			modMaleBipedPath "clothes|clothesAlternate" greaves	
			player.equipItem greaves
			modMaleBipedPath "clothesAlternate|clothes" greaves	
		endif
; ---------------------------------------------------------------------------------
; Swap gloves
		if (areGlovesEmpty) && (gloves == 0)
			set gloves to brzBodySuitGloves
		elseif gloves != 0
			player.unequipItem gloves
		endif

		if (gloves != 0) && (isArmor gloves)
			modMaleBipedPath "armor|armorAlternate" gloves				
			player.equipItem gloves
			modMaleBipedPath "armorAlternate|armor" gloves				
		elseif (gloves != 0) && (isClothing gloves)
			modMaleBipedPath "clothes|clothesAlternate" gloves	
			player.equipItem gloves
			modMaleBipedPath "clothesAlternate|clothes" gloves	
		endif
; ---------------------------------------------------------------------------------
; Swap boots
		if (areBootsEmpty) && (boots == 0)
			set boots to brzBodySuitBoots
		elseif boots != 0
			player.unequipItem boots
		endif

		if (boots != 0) && (isArmor boots)
			modMaleBipedPath "armor|armorAlternate" boots				
			player.equipItem boots
			modMaleBipedPath "armorAlternate|armor" boots				
		elseif (boots != 0) && (isClothing boots)
			modMaleBipedPath "clothes|clothesAlternate" boots	
			player.equipItem boots
			modMaleBipedPath "clothesAlternate|clothes" boots	
		endif		

	 	set brzBodyShapes.characterSwapping to 0

; Finished swapping
		set swapNeeded to 0
	endif

	if (swapNeeded == 1) && (player.getIsSex Male == 1) && (brzBodyShapes.characterSwapping == 0)
		set brzBodyShapes.characterSwapping to player

; "Block" message queue to not see Equipped Item messages
		message "  "
		message "  "

; Swap helmet
		if (helmet != 0) && (isArmor helmet)
			player.unequipItem helmet
			modMaleBipedPath "armor|armorAlternate" helmet				
			player.equipItem helmet
			modMaleBipedPath "armorAlternate|armor" helmet				
		elseif (helmet != 0) && (isClothing helmet)
			player.unequipItem helmet
			modMaleBipedPath "clothes|clothesAlternate" helmet	
			player.equipItem helmet
			modMaleBipedPath "clothesAlternate|clothes" helmet	
		endif
; ---------------------------------------------------------------------------------
; Swap shield
		if (shield != 0) && (isArmor shield)
			player.unequipItem shield
			modMaleBipedPath "armor|armorAlternate" shield				
			player.equipItem shield
			modMaleBipedPath "armorAlternate|armor" shield				
		elseif (shield != 0) && (isClothing shield)
			player.unequipItem shield
			modMaleBipedPath "clothes|clothesAlternate" shield	
			player.equipItem shield
			modMaleBipedPath "clothesAlternate|clothes" shield	
		endif
; ---------------------------------------------------------------------------------
; Swap cuirass
		if (isCuirassEmpty) && (cuirass == 0)
			set cuirass to brzBodySuitCuirass
		elseif cuirass != 0
			player.unequipItem cuirass
		endif

		if (cuirass != 0) && (isArmor cuirass)
			modMaleBipedPath "armor|armorAlternate" cuirass				
			player.equipItem cuirass
			modMaleBipedPath "armorAlternate|armor" cuirass				
		elseif (cuirass != 0) && (isClothing cuirass)
			modMaleBipedPath "clothes|clothesAlternate" cuirass	
			player.equipItem cuirass
			modMaleBipedPath "clothesAlternate|clothes" cuirass	
		endif
; ---------------------------------------------------------------------------------
; Swap greaves
		if (areGreavesEmpty) && (greaves == 0)
			set greaves to brzBodySuitGreaves
		elseif greaves != 0
			player.unequipItem greaves
		endif

		if (greaves != 0) && (isArmor greaves)
			modMaleBipedPath "armor|armorAlternate" greaves				
			player.equipItem greaves
			modMaleBipedPath "armorAlternate|armor" greaves				
		elseif (greaves != 0) && (isClothing greaves)
			modMaleBipedPath "clothes|clothesAlternate" greaves	
			player.equipItem greaves
			modMaleBipedPath "clothesAlternate|clothes" greaves	
		endif
; ---------------------------------------------------------------------------------
; Swap gloves
		if (areGlovesEmpty) && (gloves == 0)
			set gloves to brzBodySuitGloves
		elseif gloves != 0
			player.unequipItem gloves
		endif

		if (gloves != 0) && (isArmor gloves)
			modMaleBipedPath "armor|armorAlternate" gloves				
			player.equipItem gloves
			modMaleBipedPath "armorAlternate|armor" gloves				
		elseif (gloves != 0) && (isClothing gloves)
			modMaleBipedPath "clothes|clothesAlternate" gloves	
			player.equipItem gloves
			modMaleBipedPath "clothesAlternate|clothes" gloves	
		endif
; ---------------------------------------------------------------------------------
; Swap boots
		if (areBootsEmpty) && (boots == 0)
			set boots to brzBodySuitBoots
		elseif boots != 0
			player.unequipItem boots
		endif

		if (boots != 0) && (isArmor boots)
			modMaleBipedPath "armor|armorAlternate" boots				
			player.equipItem boots
			modMaleBipedPath "armorAlternate|armor" boots				
		elseif (boots != 0) && (isClothing boots)
			modMaleBipedPath "clothes|clothesAlternate" boots	
			player.equipItem boots
			modMaleBipedPath "clothesAlternate|clothes" boots	
		endif		

		set brzBodyShapes.characterSwapping to 0

; Finished swapping
		set swapNeeded to 0
	endif


; Remember "old" equipment
	set oldCuirass to cuirass
	set oldGreaves to greaves
	set oldGloves to gloves
	set oldBoots to boots
	set oldHelmet to helmet
	set oldShield to shield
endif
end

begin gameMode
if (activated) && (doneOnce == 0)
; Initialise token

; "Block" message queue to not see Add Item messages
	message "  "
	message "  "
	
; Check if player has the body suit items in inventory, if not, add them
	if player.getItemCount brzBodySuitCuirass == 0
		player.addItem brzBodySuitCuirass 1
	endif
	if player.getItemCount brzBodySuitGreaves == 0
		player.addItem brzBodySuitGreaves 1
	endif
	if player.getItemCount brzBodySuitGloves == 0
		player.addItem brzBodySuitGloves 1
	endif
	if player.getItemCount brzBodySuitBoots == 0
		player.addItem brzBodySuitBoots 1
	endif

; Set game load number to the one of the quest
	set gameLoadNum to brzBodyShapes.gameLoadNum

; Initially need a swap performed
	set swapNeeded to 1

; Don't initialise again
	set doneOnce to 1
elseif activated
; Check and Swap if needed

; Initialise flags
	set isCuirassEmpty to 1
	set areGreavesEmpty to 1
	set areGlovesEmpty to 1
	set areBootsEmpty to 1

; Examine equipment slots		
	set cuirass to player.getEquippedObject 2
	set greaves to player.getEquippedObject 3
	set gloves to player.getEquippedObject 4
	set boots to player.getEquippedObject 5
	set helmet to player.getEquippedObject 0 ; head
	if helmet == 0
		set helmet to player.getEquippedObject 1; hair
	endif
	set shield to player.getEquippedObject 13
	if cuirass != 0
		set isCuirassEmpty to 0
	endif
	if greaves != 0
		set areGreavesEmpty to 0
	endif
	if gloves != 0
		set areGlovesEmpty to 0
	endif
	if boots != 0
		set areBootsEmpty to 0
	endif

	if cuirass == 0
		set cuirass to player.getEquippedObject 20		; cuirass, greaves, gloves & boots
		if cuirass != 0
			set areGlovesEmpty to 0
			set isCuirassEmpty to 0
			set areGreavesEmpty to 0
			set areBootsEmpty to 0
		else
			set cuirass to player.getEquippedObject 19	; cuirass, greaves & boots
			if cuirass != 0
				set isCuirassEmpty to 0
				set areGreavesEmpty to 0
				set areBootsEmpty to 0
			else
				set cuirass to player.getEquippedObject 18; cuirass & greaves
				if cuirass != 0
					set isCuirassEmpty to 0
					set areGreavesEmpty to 0
				endif			
			endif			
		endif
	endif

; Swap needed?
	if (helmet != oldHelmet) || (shield != oldShield) || (cuirass != oldCuirass) || (greaves != oldGreaves) || (gloves != oldGloves) || (boots != oldBoots); || (getGameLoaded)
		set swapNeeded to 1
	endif

	if gameLoadNum != brzBodyShapes.gameLoadNum
		set gameLoadNum to brzBodyShapes.gameLoadNum
		set swapNeeded to 1
	endif

; Swap if needed
	if (swapNeeded == 1) && (player.getIsSex Female == 1) && (brzBodyShapes.characterSwapping == 0)
		set brzBodyShapes.characterSwapping to player

; "Block" message queue to not see Equipped Item messages
		message "  "
		message "  "

; Swap helmet
		if (helmet != 0) && (isArmor helmet)
			player.unequipItem helmet
			modMaleBipedPath "armor|armorAlternate" helmet				
			player.equipItem helmet
			modMaleBipedPath "armorAlternate|armor" helmet				
		elseif (helmet != 0) && (isClothing helmet)
			player.unequipItem helmet
			modMaleBipedPath "clothes|clothesAlternate" helmet	
			player.equipItem helmet
			modMaleBipedPath "clothesAlternate|clothes" helmet	
		endif
; ---------------------------------------------------------------------------------
; Swap shield
		if (shield != 0) && (isArmor shield)
			player.unequipItem shield
			modMaleBipedPath "armor|armorAlternate" shield				
			player.equipItem shield
			modMaleBipedPath "armorAlternate|armor" shield				
		elseif (shield != 0) && (isClothing shield)
			player.unequipItem shield
			modMaleBipedPath "clothes|clothesAlternate" shield	
			player.equipItem shield
			modMaleBipedPath "clothesAlternate|clothes" shield	
		endif
; ---------------------------------------------------------------------------------
; Swap cuirass
		if (isCuirassEmpty) && (cuirass == 0)
			set cuirass to brzBodySuitCuirass
		elseif cuirass != 0
			player.unequipItem cuirass
		endif

		if (cuirass != 0) && (isArmor cuirass)
			modMaleBipedPath "armor|armorAlternate" cuirass				
			player.equipItem cuirass
			modMaleBipedPath "armorAlternate|armor" cuirass				
		elseif (cuirass != 0) && (isClothing cuirass)
			modMaleBipedPath "clothes|clothesAlternate" cuirass	
			player.equipItem cuirass
			modMaleBipedPath "clothesAlternate|clothes" cuirass	
		endif
; ---------------------------------------------------------------------------------
; Swap greaves
		if (areGreavesEmpty) && (greaves == 0)
			set greaves to brzBodySuitGreaves
		elseif greaves != 0
			player.unequipItem greaves
		endif

		if (greaves != 0) && (isArmor greaves)
			modMaleBipedPath "armor|armorAlternate" greaves				
			player.equipItem greaves
			modMaleBipedPath "armorAlternate|armor" greaves				
		elseif (greaves != 0) && (isClothing greaves)
			modMaleBipedPath "clothes|clothesAlternate" greaves	
			player.equipItem greaves
			modMaleBipedPath "clothesAlternate|clothes" greaves	
		endif
; ---------------------------------------------------------------------------------
; Swap gloves
		if (areGlovesEmpty) && (gloves == 0)
			set gloves to brzBodySuitGloves
		elseif gloves != 0
			player.unequipItem gloves
		endif

		if (gloves != 0) && (isArmor gloves)
			modMaleBipedPath "armor|armorAlternate" gloves				
			player.equipItem gloves
			modMaleBipedPath "armorAlternate|armor" gloves				
		elseif (gloves != 0) && (isClothing gloves)
			modMaleBipedPath "clothes|clothesAlternate" gloves	
			player.equipItem gloves
			modMaleBipedPath "clothesAlternate|clothes" gloves	
		endif
; ---------------------------------------------------------------------------------
; Swap boots
		if (areBootsEmpty) && (boots == 0)
			set boots to brzBodySuitBoots
		elseif boots != 0
			player.unequipItem boots
		endif

		if (boots != 0) && (isArmor boots)
			modMaleBipedPath "armor|armorAlternate" boots				
			player.equipItem boots
			modMaleBipedPath "armorAlternate|armor" boots				
		elseif (boots != 0) && (isClothing boots)
			modMaleBipedPath "clothes|clothesAlternate" boots	
			player.equipItem boots
			modMaleBipedPath "clothesAlternate|clothes" boots	
		endif		
		
		set brzBodyShapes.characterSwapping to 0
		
; Finished swapping
		set swapNeeded to 0
	endif

	if (swapNeeded == 1) && (player.getIsSex Male == 1) && (brzBodyShapes.characterSwapping == 0)
		set brzBodyShapes.characterSwapping to player

; "Block" message queue to not see Equipped Item messages
		message "  "
		message "  "

; Swap helmet
		if (helmet != 0) && (isArmor helmet)
			player.unequipItem helmet
			modMaleBipedPath "armor|armorAlternate" helmet				
			player.equipItem helmet
			modMaleBipedPath "armorAlternate|armor" helmet				
		elseif (helmet != 0) && (isClothing helmet)
			player.unequipItem helmet
			modMaleBipedPath "clothes|clothesAlternate" helmet	
			player.equipItem helmet
			modMaleBipedPath "clothesAlternate|clothes" helmet	
		endif
; ---------------------------------------------------------------------------------
; Swap shield
		if (shield != 0) && (isArmor shield)
			player.unequipItem shield
			modMaleBipedPath "armor|armorAlternate" shield				
			player.equipItem shield
			modMaleBipedPath "armorAlternate|armor" shield				
		elseif (shield != 0) && (isClothing shield)
			player.unequipItem shield
			modMaleBipedPath "clothes|clothesAlternate" shield	
			player.equipItem shield
			modMaleBipedPath "clothesAlternate|clothes" shield	
		endif
; ---------------------------------------------------------------------------------
; Swap cuirass
		if (isCuirassEmpty) && (cuirass == 0)
			set cuirass to brzBodySuitCuirass
		elseif cuirass != 0
			player.unequipItem cuirass
		endif

		if (cuirass != 0) && (isArmor cuirass)
			modMaleBipedPath "armor|armorAlternate" cuirass				
			player.equipItem cuirass
			modMaleBipedPath "armorAlternate|armor" cuirass				
		elseif (cuirass != 0) && (isClothing cuirass)
			modMaleBipedPath "clothes|clothesAlternate" cuirass	
			player.equipItem cuirass
			modMaleBipedPath "clothesAlternate|clothes" cuirass	
		endif
; ---------------------------------------------------------------------------------
; Swap greaves
		if (areGreavesEmpty) && (greaves == 0)
			set greaves to brzBodySuitGreaves
		elseif greaves != 0
			player.unequipItem greaves
		endif

		if (greaves != 0) && (isArmor greaves)
			modMaleBipedPath "armor|armorAlternate" greaves				
			player.equipItem greaves
			modMaleBipedPath "armorAlternate|armor" greaves				
		elseif (greaves != 0) && (isClothing greaves)
			modMaleBipedPath "clothes|clothesAlternate" greaves	
			player.equipItem greaves
			modMaleBipedPath "clothesAlternate|clothes" greaves	
		endif
; ---------------------------------------------------------------------------------
; Swap gloves
		if (areGlovesEmpty) && (gloves == 0)
			set gloves to brzBodySuitGloves
		elseif gloves != 0
			player.unequipItem gloves
		endif

		if (gloves != 0) && (isArmor gloves)
			modMaleBipedPath "armor|armorAlternate" gloves				
			player.equipItem gloves
			modMaleBipedPath "armorAlternate|armor" gloves				
		elseif (gloves != 0) && (isClothing gloves)
			modMaleBipedPath "clothes|clothesAlternate" gloves	
			player.equipItem gloves
			modMaleBipedPath "clothesAlternate|clothes" gloves	
		endif
; ---------------------------------------------------------------------------------
; Swap boots
		if (areBootsEmpty) && (boots == 0)
			set boots to brzBodySuitBoots
		elseif boots != 0
			player.unequipItem boots
		endif

		if (boots != 0) && (isArmor boots)
			modMaleBipedPath "armor|armorAlternate" boots				
			player.equipItem boots
			modMaleBipedPath "armorAlternate|armor" boots				
		elseif (boots != 0) && (isClothing boots)
			modMaleBipedPath "clothes|clothesAlternate" boots	
			player.equipItem boots
			modMaleBipedPath "clothesAlternate|clothes" boots	
		endif		

		set brzBodyShapes.characterSwapping to 0
		
; Finished swapping
		set swapNeeded to 0
	endif


; Remember "old" equipment
	set oldCuirass to cuirass
	set oldGreaves to greaves
	set oldGloves to gloves
	set oldBoots to boots
	set oldHelmet to helmet
	set oldShield to shield
endif
end

Link to comment
Share on other sites

I think this is why I refer to any mod idea that requires a specific body style per race to end up being one female dog to script, let alone make work. Even though they made notations, it would probably take me a week or two to figure out what you would need to change, and that's under the assumption that what you would want to do is even possible. I would however be tempted to think that in relation to armors which are added by mods, containing new meshes, that you could just make a copy of the armor in both locations so that when the switch happens, it finds the armor.nif in both locations.

 

However, honestly, I'm not too sure how the mod is even setup, or what you're really asking. Possibly distracted by the freakishly long script with too many If's.

Link to comment
Share on other sites

Thanks Vagrant0.

 

Anyway isn't it possible to at least change the target of those modifications to the original oblivion file?

 

Like change all the "armor|armorAlternate" in the code, which i think is the tharget once it's the path to the folder where the alternate armors should be, with the "Oblivion - Meshes.bsa" or something like that?

Link to comment
Share on other sites

Thanks Vagrant0.

 

Anyway isn't it possible to at least change the target of those modifications to the original oblivion file?

 

Like change all the "armor|armorAlternate" in the code, which i think is the tharget once it's the path to the folder where the alternate armors should be, with the "Oblivion - Meshes.bsa" or something like that?

 

It seems like you should be able to comment out all of the "modMaleBipedPath" commands as well as the unequip/equip pairs. Try that and see if it accomplishes what you want.

 

Mez

 

Edit: As I look closer, it seems the only thing this script does is swap out the various armor pieces. If so, then removing the GameMode and MenuMode blocks would accomplish the same thing. My main concern is the resulting variable values.

Link to comment
Share on other sites

Edit: As I look closer, it seems the only thing this script does is swap out the various armor pieces. If so, then removing the GameMode and MenuMode blocks would accomplish the same thing. My main concern is the resulting variable values.

Unless I'm mistaken, that would essentially remove any functionality of the script. I thought the idea was to keep the script working, and swapping out pieces between the alternate and the default, without having to have all the default meshes on hand and unpacked... Or am I misunderstanding that too?

 

If I'm not, the script might not allow the packed .nifs to be recognized since it's doing this by directory structure in the data folder or something. I'm not too familiar with the function, but I don't think it's possible to make it point to files packed in a .bsa. The wiki hasn't really been updated or notated so there really isn't any way of knowing short of asking the creator of the original mod.

Link to comment
Share on other sites

Unless I'm mistaken, that would essentially remove any functionality of the script. I thought the idea was to keep the script working, and swapping out pieces between the alternate and the default, without having to have all the default meshes on hand and unpacked... Or am I misunderstanding that too?
My idea is to simply chop the code (if it's possible) in order to mantain the alternate body from the mod but also descarting the alternate armours leaving just the regular ones.

 

If you discard the alternate armour and leave just the regular ones, then there's no need to swap the pieces in the first place. Why unequip an item just to immediately reequip the same item again?

 

Mez

Link to comment
Share on other sites

If you discard the alternate armour and leave just the regular ones, then there's no need to swap the pieces in the first place. Why unequip an item just to immediately reequip the same item again?

 

Mez

 

The mod works the following way. It forces to take every single mesh of your body from alternate folders except for your head. So what i wanted to do was: change the body shape of my char, but keeping all the rest of the NPCs with the default bodys, this is the best mod for it (perhaps the only) BUT it also make me change the armors (for me they were fine).

 

Resuming, i just want the body change feature and not the armor swap.

 

 

By the way thanks everybody.

Link to comment
Share on other sites

If you discard the alternate armour and leave just the regular ones, then there's no need to swap the pieces in the first place. Why unequip an item just to immediately reequip the same item again?

 

Mez

 

The mod works the following way. It forces to take every single mesh of your body from alternate folders except for your head. So what i wanted to do was: change the body shape of my char, but keeping all the rest of the NPCs with the default bodys, this is the best mod for it (perhaps the only) BUT it also make me change the armors (for me they were fine).

 

Resuming, i just want the body change feature and not the armor swap.

 

 

By the way thanks everybody.

So if I'm understanding this right, you plan to just run around nude? Body shape isn't seperate from armor meshes, armor meshes replace body shape, if you have a muscular body and wear normal equipment, you will have normal body.

Link to comment
Share on other sites

So if I'm understanding this right, you plan to just run around nude? Body shape isn't seperate from armor meshes, armor meshes replace body shape, if you have a muscular body and wear normal equipment, you will have normal body.

 

I know it, but some times it's cool (RP or just fun) to walk around with a upper body naked, and i don't like the idea of every single NPC be as strong as me, i mean that some of them just doesn't mach with a strong body mesh. Hope you got the point, i'm not up to change every single NPC body tipe or every armor mesh, i just want a simple different body...

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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