Blockland Forums > Suggestions & Requests

Elevators that work? (SOLVED)

Pages: << < (5/12) > >>

Darkmaster20:

It would be nice for someone to model a whole elevator. you can go inside a "box" and buttons that are coded could work to switch floors. Like real life.

--- Quote from: jes00 on August 22, 2012, 07:01:30 AM ---  %this.elevatorGlass = new StaticShape()
   {
       rotation = "1 0 0 90";
       scale = 4*(%this.getDatablock().brickSizeX/8) @" 1 "@ 4*(%this.getDatablock().brickSizeY/8);
       position = %this.getPosition();
       canSetIFLs = "0";
       datablock = "glassA";
       elevatorBrick = %this;
       indestructable = true;
   };

--- End quote ---

That  datablock was part of the bedroom.

IkeTheGeneric:


--- Quote from: StarHawk on August 22, 2012, 06:37:31 AM ---I see this as taking the easy way out. Eventing an elevator platform to legitimately work is three times the eventing work but is three times as impressive. I prefer the actual process of stepping onto a platform and getting taken upwards rather than just appearing at the various levels.

--- End quote ---

I find eventing elevators to be quite simple. I'll make an easy demonstration.

The save requires JVS for the elevator door, and the setplayertransform event.

Gen. Hothauser:


--- Quote from: IkeTheGeneric on August 22, 2012, 07:45:52 AM ---I find eventing elevators to be quite simple. I'll make an easy demonstration.

The save requires JVS for the elevator door, and the setplayertransform event.

--- End quote ---

And then any added sounds, light effects, number displays, and ontalk variable input.

jes00:


--- Quote from: Darkmaster20 on August 22, 2012, 07:35:29 AM ---That  datablock was part of the bedroom.

--- End quote ---
But my point is that it's not an interior.

Headcrab Zombie:


--- Quote from: Darkmaster20 on August 22, 2012, 07:35:29 AM ---That  datablock was part of the bedroom.

--- End quote ---
So then all that has to be done is update the elevators with a definition for the datablock, and the glass model and texture packaged with the add-on.
Or even better make a better model

Pages: << < (5/12) > >>

Go to full version