665c914de9f58

665c914dea90a
1 Guest is here.
 

Topic: Cycling Bulkhead Read 2164 times  

665c914deae50
I can't for the life of me (I'm probably blind) find the tutorial on cycling bulkheads.

Basically, we want to close a door behind the player, and open a door in front of the player, and allow vice versa.

Anybody know how to do this or where to begin?

665c914deb123lostone1993

665c914deb176
I can't for the life of me (I'm probably blind) find the tutorial on cycling bulkheads.

Basically, we want to close a door behind the player, and open a door in front of the player, and allow vice versa.

Anybody know how to do this or where to begin?

In short what you are trying to

Is open one door from somewhere and make the other close just so i am understanding the question correctly

for a start its incredibly difficult and very unreliable, I don’t believe you can make a door close in shocked using the default scripts and I lack the knowledge to be able to write a script capable


665c914deb2d3
There was a.....complicated tutorial on it. It involved a lot of stuffs... But it created a cycling bulkhead.

I suppose in the easy squeezy of it all, I could create a door that is *closed* but open, another door that is closed, then have it open one first, then open the second one, and the door timers would cycle them back... You would just have to wait through a cycle to get back to your original destination.

:( Where is the friggin thing when I needs it....

665c914deb708ZylonBane

665c914deb768
I don’t believe you can make a door close in shocked using the default scripts
A sliding door is just a highly specialized elevator, so it might be easier to implement the airlock doors as elevators.

665c914deb9b0lostone1993

665c914deba11
A sliding door is just a highly specialized elevator, so it might be easier to implement the airlock doors as elevators.

*facepalm* cant believe i didn't think of that.....
That would be the easiest way, bit annoying to setup but it would work.....runs off to shocked

EDIT: Also would make very easy toggle doors
665c914debb6f
Well....with all the upgrades to Dark....can't we make cycling doors yet? o_O

I'll also look into this using an elevator script. I should have thought of this too *Doh*

Thanks ZB <3

665c914debc3dlostone1993

665c914debc8c
one last thing in case you get stuck, ive attached an example level that shows off how your doors should be setup

if need some further help just PM me or post, I will do what I can to help you

665c914debdc4
I'll check it out tomorrow when I get to work!  :thumb:
665c914debee6
Alright...

Issue #1 - Need to make it sound like an airlock.... not like an elevator.

I'm working up a working demo with a few changes to show this, but the sound is off and awful o_O

665c914dec1eelostone1993

665c914dec249
Alright...

Issue #1 - Need to make it sound like an airlock.... not like an elevator.

I'm working up a working demo with a few changes to show this, but the sound is off and awful o_O

Yeah I was having trouble with this as well, I am not too familiar with how sound is handle in shocked, I know scheme (Might be incorrect word, not in front of shocked atm, will correct later) is where sound is set etc, however changing it had little effect

for the above I just took a elevator changed its model and other properties, I might try going the other way might fix the problem and give me a hint as to what to change for sound
665c914dec370
I took a door and changed its script and removed its translating property aaaaaaaaaand it wasn't happy. At all. It actually disappeared...

Anyway, yes the sound thing doesn't change, but I think MAYBESOMEHOWKINDOF we can figure out a work around for that. I'll work on it and get back

665c914dec7b5lostone1993

665c914dec816
I took a door and changed its script and removed its translating property aaaaaaaaaand it wasn't happy. At all. It actually disappeared...
sorry lol, dosent sound like a problem with the script i think you have something set up wrong

Anyway, yes the sound thing doesn't change, but I think MAYBESOMEHOWKINDOF we can figure out a work around for that. I'll work on it and get back

Ive managed to make a door an elevator it works and sounds correct, it just dosent seem to come back down lol
665c914dec99e
Make sure the translating property is gone. Mine worked also to open but not close but then I found out it was just the translating property that was still set.

EDIT-

I got a door to open and close properly using an elevator path.

Door on left was originally a door, now is an elevator

Door on right was originally a lift now with door shape


Had to change some properties on door to make it not fall away. I'll note them in a moment.

Last problem is no sound...

Download -> http://www.mediafire.com/download/kmq45qtdpw595fi/AirlockTest.7z
« Last Edit: 24. May 2013, 21:00:09 by MrTrip »

665c914dece60lostone1993

665c914deceb6
Make sure the translating property is gone. Mine worked also to open but not close but then I found out it was just the translating property that was still set.
yeah I had a facepalm moment 5 mins later....

EDIT-

I got a door to open and close properly using an elevator path.

Door on left was originally a door, now is an elevator

Door on right was originally a lift now with door shape


Had to change some properties on door to make it not fall away. I'll note them in a moment.

Last problem is no sound...

Download -> http://www.mediafire.com/download/kmq45qtdpw595fi/AirlockTest.7z

As for the scheme I don’t believe we can copy it across, this is a bit of guess work

But scheme type bulkhead or was it blast door either way does not exist it’s a variable in a script somewhere which we can not effect
Its actual schemes are
door2_opening
door2_loop
door2_closing
Similar to the lift with an opening, loop and closing

Now I suspect that the scheme may not be changeable because its script is looking for something specific...<-- This a bit of guess work mind you
I’ve got a couple of ideas to still try though

But hey the lift sound sounds sorta like an airlock or bulkhead :P
665c914ded136
Okay, so I have a new Schema added...

This is the original Blast Door Schema, I have not changed it. It is under Doors.sch

Code: [Select]
//HEAVY DOOR

schema door2opening
archetype DEVICE_DOORS
volume -500
door2op
env_tag (Event StateChange) (DoorType BlastDoor) (OpenState Opening Closing) (OldOpenState Open Opening Closing Closed)

schema door2slam
archetype DEVICE_DOORS
volume -500
door2slm
env_tag (Event StateChange) (DoorType BlastDoor) (OpenState Open Closed) (OldOpenState Opening Closing)


I added airlock.sch to the Schema folder, but I think maybe I need to add this schema under MiscSfx.sch  ......

Code: [Select]
// MrTrips Airlock

schema airlock_loop
archetype DEVICE_GIZMOS
volume -500
mono_loop 0 0
door2op
env_tag (Event Activate) (VehicleType AirLock)

schema airlock_stop
archetype DEVICE_GIZMOS
volume -500
door2slm
env_tag (Event Deactivate) (VehicleType AirLock)

Also had to add it under Schema -> DEVICE_GIZMOS or whatever, I forget now, where ever lift1loop is at. Also added correct properties etc...I think.

reload_schemas will load it, and I can play it in ShockEd

Apply the class tag to the door, nada. Plays nothing. Also, my ShockEd is very wonky and crashes when I look at a freaking button sometimes... I have no idea why it is so unstable.

Anyway, I have attached the files I have been working with, maybe you can figure something out?

Took ideas from the following links
http://www.ttlg.com/forums/showthread.php?t=120891
http://www.ttlg.com/forums/showthread.php?t=117330&highlight=zggtvrk_load_schema


Files -> http://www.mediafire.com/download/cwxavmxa2gtxa25/AirlockTestSchema.7z

« Last Edit: 24. May 2013, 22:18:45 by MrTrip »
665c914ded245
Most likely you need to define VehicleType Airlock in, uh, envsound.spc Just find the vehicletype entry, bung the new entry on the end of the list and reload schema. If you don't do this then while the schema may exist the object does not know which messages trigger the sounds.

665c914ded6e6lostone1993

665c914ded741
Okay, so I have a new Schema added...
-snipy mc snip-

-snipy mc snip-

hmm interesting, nice to know my thoughts were close :)

I really need to make some example levels or tutorials to document some of this

EDIT: Got it :) attached is the level and related files bit simpler then I thought
« Last Edit: 25. May 2013, 01:12:05 by lostone1993 »
665c914ded9f8

EDIT: Got it :) attached is the level and related files bit simpler then I thought



Amazing work!

Now I just need to figure out why ShockEd keeps randomly freezing -_-.... but this will work great in my FM.

Do you want to do a full write up or shall I? If you do, I'll edit my first post to be a tutorial.

665c914dedc04lostone1993

665c914dedc54
Do you want to do a full write up or shall I? If you do, I'll edit my first post to be a tutorial.

if you want to do a write up go ahead(it will be better then anything I can  produce), Il just clean up my test level a bit, add some quick notes in a readme and call it a day
665c914dedd6d
I'm currently in the process of adding a cycling bulkhead to my FM.

I'll attempt to multibrush and export the entire thing to a tutorial. It will feature a cycle stage, animated lights, and other neat little bulkhead cycling thingies.

I'll do a write up when finished \o/
665c914dede90
Wheee! Bulkheady!

https://www.youtube.com/watch?v=D9TtrAnz9rE

I was thinking, it would be neat to have bulkheads on the Von Braun actually cycle (door close behind you, lights change, then level changes)

665c914dee15eThiefsieFool

665c914dee1ae
You should get into custom scripts, you can make complex things a lot more quickly, guide for them here - https://www.systemshock.org/index.php?topic=1670.0
There's even a script specifically for making airlocks: http://nameless.zanity.net/nvscriptbeta/thief2/NVScript.html#NVAirLock
Acknowledged by: Nameless Voice
1 Guest is here.
But perhaps I can just enjoy the neon murder.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
665c914df138a