Hi community,
This is a simple plugin that allows you to place (still very basic, but working) elevators in your world. Easily rename the 'test-welt.elevs' file to 'your-worldname.elevs' and put the type and coordinates inside the file.
In the .elevs file you have to put the elevators properties like '--property:value'. After that write '#elevtype'. You successfully added an elevator:)
Possible properties for an elevator in the .elevs file:
| px | numeric | position x | 
| py | numeric | position y | 
| pz | numeric | position z | 
| r | numeric | rotation | 
| floors | int | number of floors | 
| floorheight | numeric | height of 1 floor | 
Example:
You can also add custom elevator models. Feel free to send them to me and I will attach them to this post.
To add an own elevator you have to create a file called 'your-elevators-name.elev' in the assets directory and put the properties of your new elevator inside it. Here's a list of all possible properties:
| cabinmodel | text | Path to the cabin-model | 
| cabintexture | text | Path to the cabin-texture | 
| door1model | text | Path to the first door-model | 
| door1texture | text | Path to the first door-texture | 
| door2model | text | Path to the second door-model | 
| door2texture | text | Path to the second door-texture | 
| panelmodel | text | Path to the panel-model | 
| spaneltexture | text | Path to the panel-texture | 
| buttonmodel | text | Path to the button-model | 
| buttontexture | text | Path to the button-texture | 
| buttonx | numeric | correct button position x (needed if ray-casting isn't working(then the button isn't interactable)) | 
| buttony | numeric | correct button position y (needed if ray-casting isn't working(then the button isn't interactable)) | 
| buttonz | numeric | correct button position z (needed if ray-casting isn't working(then the button isn't interactable)) | 
| panelx | numeric | correct panel position x (needed if ray-casting isn't working(then the panel isn't interactable)) | 
| panely | numeric | correct panel position y (needed if ray-casting isn't working(then the panel isn't interactable)) | 
| panelz | numeric | correct panel position z (needed if ray-casting isn't working(then the panel isn't interactable)) | 
| scale | numeric | scale all models | 
| door1route | numeric | distance the door 1 has to move to open/close | 
| door2route | numeric | distance the door 2 has to move to open/close; usually it is door1route*(-1) | 
| doorspeed | numeric | speed of the door while opening | 
| dooropentime | numeric | how long the door stays opened before it closes again | 
| drivespeed | numeric | speed of the elevator while driving | 
| arrivewait | numeric | time the elevator waits after arriving the target floor before opening the door | 
I will add a few more elevator-models (probably in the next days). Currently, if you call an elevator and it is allready driving anywhere, it does nothein. In the future I will add a queue so it will drive from floor to floor.
 
		 
		
		
	 
			
									
		

 
  denke ich
  denke ich auch
 auch  