News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Thread Tools Display Modes
Old 13th Dec 2008, 01:37 PM   #1
Registered User
stocko2k's Avatar
Join Date: Dec. 2nd, 2008
Posts: 44
more door questions

Hi i've done a lot of googling to see if i could find the answer to this i even went out and bought the mastering unreal book.

i want to create a door that rotates (which is simple enough) but it only opens 1 way. I'd like it to open away from the player no matter what side the player is standing.

thanks in advance
stocko2k is offline   Reply With Quote
Old 13th Dec 2008, 03:24 PM   #2
Wormbo's Avatar
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,786
You will need a custom mover class for this, for example Jailbreak's JBMoverDualDestination. Feel free to copy the code from the implementation subpage of the page I linked. (Note that it also requires the JBProbeEvent class.)
You will have to make the mover TriggerOpenTimed, though. BumpOpenTimed does not recognize different bump directions.

I admit this is just about the largest hammer available to solve your problem, but of course you could try scripting your own custom mover with a new state that recognizes two different bump directions and opens accordingly.
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak/JDN | Unreal Wiki | Liandri Archives
Everything you ever wanted to know about replication| UnrealScript security considerations
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
Wormbo is offline   Reply With Quote
Old 13th Dec 2008, 03:29 PM   #3
Registered User
stocko2k's Avatar
Join Date: Dec. 2nd, 2008
Posts: 44
scripting my own mover at the moment is kinda out the question as i have no expeiriance in scripting..
if i copy the code from the link you have provided it will go with the map when moved from 1 computer to another or will i have to add the file to a certain folder within the ut files???
just asking cause this map i am working on is for uni and if i have to add extra files i will need to make my tutor aware of this before he trys running the map for marking

thanks for the advice
stocko2k is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 09:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer