Jump to content

Scabbard as Shield


lovender

Recommended Posts

Hello...

 

I'm working on Saber Lily mod right now, & I want to make her sword's scabbard as shield like in the movie.

 

My plan is:

When I draw the sword, the scabbard become the shield.

& then when I sheathe the sword, the sword & scabbard will hang on the hip again.

 

I tried use Tycho's script from Shield on Back mod.

When I sheathe the sword, the sword & scabbard hang on the hip again.

But the problem is when i draw the sword, the sword & scabbard disappear (become hand to hand).

All i can do is to re-equip the sword using hotkey 1, then the sword & scabbard suddenly re-equip in my hands.

But pepole won't be satisfied...

 

Any suggestion?

 

These are the quest script from Tycho:

 

ScriptName TYCHOShieldOnBackScript

short done
short wep
short shld
short arrowCount
ref ShieldName
ref ShieldOnBack
ref arrows

float fQuestDelayTime

begin GameMode

set fQuestDelayTime to 1

set wep to Player.IsWeaponOut
set shld to Player.IsShieldOut

if wep == 1
if shld == 0
	if done == 1
		if Player.GetItemCount ShieldName >= 1
			Player.EquipItem ShieldName
			Player.Removeitem ShieldOnBack 1
if ( arrows )
if ( Player.getItemCount arrows)
	if ( arrowCount > 1 )
		set arrowCount to ( arrowCount - 1 )
		player.removeItem arrows arrowCount
		player.equipItem arrows
		player.addItem arrows arrowCount
	endif
Endif

Endif

		Endif
	Endif
Endif
set done to 0
Endif

if wep == 0
if shld == 1
	if done == 0

set arrows to Player.getEquippedObject 17
		if (arrows)
			if ( Player.getItemCount arrows)
				set arrowCount to player.getItemCount arrows
				
			endif
		endif
		
		Player.UnequipItem ShieldName
		Player.Additem ShieldOnBack 1
		Player.EquipItem ShieldOnBack
		set done to 1
	Endif
Endif
Endif
End

 

And this is script for the shield:

ScriptName TYCHOArnTemplarShield1

ref ShieldRef

Begin OnEquip Player

set TYCHOShieldOnBackQuest.ShieldName to ArnTemplarShield1
set TYCHOShieldOnBackQuest.ShieldOnBack to TYCHOTemplarShieldBack

End

 

Thanks in advance.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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