|
|
|
A FEW MORROWIND SCRIPTS
|
For Scripting Tutorials see the Tutorials page.
|
| Creator & Creator's Website |
Description |
Elric Melnibone |
The following scripts can be found here: Making Topics Appear and Disappear Dynamically - How to Stream Music When Reading a Book - How do I make a Timer that spans 16 Hours. |
|
| Creator & Creator's Website |
Description |
Ydur |
Six scripts available here: The Lift - The Barfight - Vending Machine - Love Control - Weapon Display & Switching States. You are free to use these scripts as long as you give credit. Much more information available from Ydur's Website. |
|
| Creator & Creator's Website |
Description |
Indigo Rage |
Display Case Script (I use that one, so it's below anyways) - 2 different Teleporter Scripts & Creature Generator Script. You are free to use these scripts as long as you give credit. |
|
The scripts below are ones I've used in my mods & had success with. |
I'm no scripter, I didn't write these, the Creator names are found in the comments heading of the scripts. If you use them, please give them the credit. To use these you should only need to copy & paste & change the object names. In the case of the teleport ring, you also need to change the Position Cell part to your location. |
| ARMOR MANNEQUINS - DISPLAY CASES - HOME TELEPORT RING - SCRIPT TO MAKE A MISC OBJECT "UNMOVABLE" |
ARMOR MANNEQUINS - Wooden Armor Mannequins by Chris Janosi. These are non-weapon wielding & they are moveable so you need the placeholder script, which is provided here also. |
;script operates armor mannequins it came from Chris Janosi
begin SA_mannequin
short button
short questionState
SkipAnim
if ( menumode == 1 )
return
endif
if ( OnActivate == 0 )
if ( questionState == 0 )
return
endif
endif
if ( questionState == 0 )
MessageBox, "Armor Mannequin", "Move Mannequin", "Add/Remove Armor"
set questionState to 1
endif
if ( questionState == 1 )
set button to GetButtonPressed
if ( button == 0 )
set questionState to 10
elseif ( button == 1 )
set questionState to 0
Activate
endif
endif
if ( questionState == 10 )
MessageBox "Did you remove all items from the mannequin?", "Yes", "No"
set questionState to 20
endif
if ( questionState == 20 )
set button to GetButtonPressed
if ( button == 0 )
set questionState to 0
Disable
player->addItem, "_SA_armorman_placeholder", 1
playSound "Item Misc Up"
elseif ( button == 1 )
set questionState to 0
Activate
endif
endif
end SA_mannequin
|
ARMOR MANNEQUIN PLACEHOLDER SCRIPT- used with the above script for Chris Janosi Mannequins |
;script operates armor mannequin placeholders it came from Chris Janosi
begin SA_mannequinplaceholder
short OnPCDrop
if ( OnPCDrop == 1 )
Disable
; PlaceAtPC, "_SA_ArmorMann_Wooden", 1, 64, 0
PlaceAtPC, "_SA_ArmorMann_Wooden", 1, 0, 0
Set OnPCDrop to 0
endif
end SA_mannequinplaceholder
|
DISPLAY CASES TYPE - Lady E's which have the glass lids that lower when activated. |
; Activates the display case lid (_SA_dispcaselid) to slide up/down.
; Creator of this script is Viking_ Lord from Anastasio The Great's Hideout
begin SA_displaycaselid
float Timer
short State
if ( MenuMode == 1 )
return
endif
if ( OnActivate ==1 )
if ( State == 0 )
PlaySound "Door Stone Open"
set State to 245
endif
endif
if ( State >= 245 )
set timer to ( timer + GetSecondsPassed )
;slide lid down
if ( Timer < 3 )
MoveWorld Z, -21
;set back to start
elseif ( Timer > 19 )
SetAtStart
set State to 0 ;can now press button again
set Timer to 0
elseif ( Timer > 16 )
if ( State == 245 )
PlaySound "Door Stone Close"
set State to 246
endif
MoveWorld Z, 21
endif
endif
end
|
DISPLAY CASE TYPE - Indigo Rage's Display Cases w/the red fabric interior |
;This script is from IndigoRage it operates the cases that have the red fabric on the bottom.
begin SA_Ind_displaycase
short state
short first
short open
short close
float timer
If (MenuMode == 1)
Return
endif
If (OnActivate == 1)
Set state to 1
endif
If (state == 1)
If (first == 0)
playgroup, idle2, 0
set open to 1
endif
endif
if (open == 1)
set timer to ( timer + GetSecondsPassed )
if ( timer < 0.5 )
Return
endif
set timer to 0
playgroup, idle3
set first to 1
set state to 0
set open to 0
endif
if (state == 1)
if (first == 1)
playgroup, idle4, 0
set close to 1
endif
endif
if (close == 1)
set timer to ( timer + GetSecondsPassed )
if ( timer < 0.5 )
Return
endif
set timer to 0
playgroup, idle
set first to 0
set state to 0
set close to 0
endif
end SA_Ind_displaycase |
DISPLAY CASE TYPE - Dongle's Green Glass Display Cabinet |
;This script is from Dongle for use with the Green Glass Display Cases.
Begin, SA_GlassDisplayScript
Short State
Short First
Short Open
Short Close
Float Timer
If ( MenuMode == 1 )
Return
EndIf
If ( OnActivate == 1 )
Set State to 1
EndIf
If ( State == 1 )
If ( First == 0 )
PlayGroup, Idle2, 0
PlaySound3D, "Door Creaky Open"
Set Open to 1
EndIf
EndIf
If ( Open == 1 )
Set Timer to ( Timer + GetSecondsPassed )
If ( Timer < 0.5 )
Return
EndIf
Set Timer to 0
PlayGroup, Idle3
Set First to 1
Set State to 0
Set Open to 0
EndIf
If ( State == 1 )
If ( First == 1 )
PlayGroup, Idle4, 0
PlaySound3D, "Door Creaky Close"
Set Close to 1
EndIf
EndIf
If ( Close == 1 )
Set Timer to ( Timer + GetSecondsPassed )
If ( Timer < 0.5 )
Return
EndIf
Set Timer to 0
PlayGroup, Idle
Set First to 0
Set State to 0
Set Close to 0
EndIf
End, SA_GlassDisplayScript |
HOME TELEPORT RING |
;This script is for the home teleport ring, don't know who wrote this.
Begin SA_AbuManor_TeleportRing
short OnPCEquip
if ( OnPCEquip == 1 )
Player->PositionCell, 2178 2610 1122 0 "Abu Manor"
endif
set OnPCEquip to 0
End SA_AbuManor_TeleportRing |
MAKING A MISCELLANEOUS OBJECT "UNPICKUPABLE". This script Vorwoda_the_Black wrote for me as I had to change the trees in Abu Manor dining room from Static to Miscellaneous Objects so they wouldn't have collision walls, but I didn't want people to be able to pick them up like Miscellaneous Objects. |
;Script to prevent Dining Room trees from being
;moved, written by Vorwoda_the_Black
Begin SA_MiscTreeScript
if ( OnActivate == 1 )
return
endif
End SA_MiscTreeScript |
CAN'T FIND WHAT YOU ARE LOOKING FOR? SEARCH THE WEB WITH GOOGLE
|
|
Design © 2004 - phoebe_abu. All rights reserved. |
|