Jump to content

Portal Mod


Pokegami

  

5 members have voted

  1. 1. What is the feasibility of a Portal mod for Oblivion?

    • Easy, with hard light surfaces, discouragement beams - the works.
    • Only the very basics can be made, and even then it wouldn't be "professional".
    • Requires OBSE and twenty years up a mountain learning how to use it.
    • Anything for combustible lemons!


Recommended Posts

Oh, so the buttons don't actually move - they're just activated. Fair enough.

 

 

The TrigZone script would look something like...

 

 

 

Scn <>

Short Triggered
Ref Parent                      ;The connected Door.
Short OpenState

Begin OnTrigger Player

    Set Triggered to 1

End

Begin OnTrigger <RefID/EditorID of cube>

    Set Triggered to 1

End


Begin GameMode

    Set Parent to GetParentRef

    if Triggered == 0
         ;***A
         Return
    Else
         Set Triggered to 0
         ;***B
    endif

End

 

*** This depends on how you want to "open" the door. If you are using an actual door then you could use "Lock/Unlock" or "SetOpenState", or you could have some kind of obstacle that you move. I've labelled each section A and B, so I'll explain where to use each possible function.

 

A

Parent.Lock

OR

Parent.SetOpenState 0

 

B

Parent.Unlock

OR

Parent.SetOpenState 1

 

 

Lock/Unlock do exactly as they say

SetOpenState will make the door swing open or close itself automatically.

 

If you would rather move an obstacle let me know. It wouldn't be too hard.

 

 

 

I think that should work well enough. Let me know how it turns out ;)

Edited by WarRatsG
Link to comment
Share on other sites

  • Recently Browsing   0 members

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