Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssteleporteditor

Category:script
Author(s):Wojak
Downloads:9812
Rate:You need to be logged in to vote
Rating:3.7 (27 Votes)
Description:
This resource allows you to create teleports in MTA map editor, it also handles them in game based on the map file.

Tutorial Video
http://www.youtube.com/watch?v=IM84_k03OyY

Poradnik w wersji polskiej (Polish video)
http://www.youtube.com/watch?feature=iv&src_vid=IM84_k..-kS_gnO34I

Polski opis (Polish description):
http://forum.mtasa.com/viewtopic.php?f=124&t=32751

You can link between places, interiors and dimensions, you have full control on element position, rotation and speed after the teleportation, you can even create speed boost pickups and cannons if you want.


How to load the definitions:
“Click the Definitions button in the main menu and double click the resource in the left list. Then close the window and roll the mousewheel in the element panel until the resource comes up. At that point you can create and manipulate custom elements of that resource like any other element.”
After you complete the map add this line to map meta.xml:
<include resource="teleporteditor" />

THERE IS NO SCRIPT FILE CREATED, THIS RESOURCE IS HANDLING THE TELEPORTS, SO IT NEED TO BE RUNING WITH THE MAP

There are two kinds of elements that you must add in the map editor:
Teleport_p – it is represented by a marker with arrow inside and attached 3D text in map editor, it will be a marker with text in game. Ring marker can be rotated (only ring rotation will be set in game)
This element has the fallowing properties:
- position: x,y,z 3d coordinates
- rotation: is important only for ring marker
- type: marker type
- size: marker size
- color: marker color
- description: this text will be attached to the marker
- desccolor: color of the text attached to the marker
- destynation_id: id of a place you want this marker to teleport to, click on browse, and select element from the list, if the list is empty create a destination first. If this property is invalid, teleport will not be created.
- restriction: if false, everything can enter, if playerOnly than only player with no vehicle can enter, if inVehicleOnly than only player in vehicle can enter.
- dimension_: dimension in witch the teleport will be created and accessible
- interior_: interior in witch the teleport will be created and accessible

destination_p it is represented by a RC bandit with arrow, it will be invisible in game, the way that RC bandit is facing is very important, this in not only the rotation that element will have after the teleportation, bus also the direction the element will be going.
This element has the fallowing properties:
- position: x,y,z 3d coordinates
- relative: if set to false, the element will be moved tt the coordinates above; if set to coord, coordinates above will be added to element hit coordinates (position =0,0,20 and relative= coord will increase the z hit coordinates by 20 units); if set to coordNrot, x,y,z axis will be adjusted to element rotation after the teleportation (x = left, right; y = front,back; z= up,down)( position =0,20,0 and relative= coordNrot will move the element forward by 20 units)
- rotation: element rotation and direction after the teleportation
- use_dest_rot: if true the rotation above will be used, if false the rotation above will be ignored, and hit rotation will be used.
- fixed_speed: the speed in km/h that the element will have after the teleportation, if set to more than 0, the hit speed and speed_multiplayer will be ignored
- speed_multiplayer: if between 0 and 1 it will decrease the hit speed (0.5 will decrease the speed by half) if more then 1 it will increase element hit speed (2 will increase two times)
- t_dimension: the dimension that will be set after the teleportation
- t_interior: the interior that will be set after the teleportation

when you connect the teleport with destination, selecting one of this elements will draw a icon on both- icon is visible from any distance, interior and dimension, so you can keep track on witch places ate connected

New in 0.1.2:
- new icons made by Moo-Mapper;
- increased icon size on selected elements;
- new additional way of assigning destinations for teleports. If you select a teleport with no destination assigned, or create a new one, than select a destination element, or create a new one, resource will ask you, if you want to connect this elements – see screenshot 4 (gui window will popup with a little delay – the delay is intended)
- camera forced behind the vehicles after teleportation. I’ve tried to do it also with the peds, but it don’t work for some reason…

forum topic:
http://forum.mtasa.com/viewtopic.php?f=108&t=32529

exemplar map:
http://community.multitheftauto.com/index.php?p=resources&..mp;id=1961
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
0.1.3 2011-10-30 09:39:51 updated to 1.1.+ using /upgrade command :P Download
0.1.2 2011-04-09 22:54:29 New icons made by Moo-Mapper;
increased icon size on selected elements;
new additional way of assigning destinations for teleports;
camera forced behind the vehicles after teleportation.
Download
0.1.1 2011-03-28 15:33:56 community concreted the resource name to lower case, so I had to fix some case sensitive stuff… Download
0.1.0 2011-03-28 14:35:46 First public release Download