-
Notifications
You must be signed in to change notification settings - Fork 2
Ghost Tutorial: Custom Assets
Jasdac edited this page Dec 17, 2024
·
8 revisions
- Create your door mesh.
- Add a prim where you want the pivot point to be and link the door to it, making the new prim the root prim.
- Drop the Door, Portal, and LocalConf scripts into the door.
- Edit the onStateEntry, onDoorOpen and onDoorClose sounds. The onStateEntry one will play while the player is dragging the door.
- Set the description to ["DO:INT",-1.57,0]. The first entry marks the door as an interior door. If it's an exterior door that should close when the ghost hunts, set it to DO:EXT instead. -1.57 is the max rotation of the door. The final value is a bitmask. See headers/Obstacles/Ghost/Door.lsh for more info. Set the description of any other prims to ROOT.
- Say SAVE to save it, then pick it up and put it in the monitor, and use the chat commands listed on the wiki index to test the door.