[JS] Teleport Player
[JS] Teleport Player
Hello,
Is it possible to teleport player with Javascript function like it's possible on timetrial ?
For example :
- Player write a specific command on the chat
- Javascript function read this command and run function to teleport player on other coordinates.
Like that, if we want to build huge compound with different areas.We could use javascript to move player to specific zone.
Is it possible to teleport player with Javascript function like it's possible on timetrial ?
For example :
- Player write a specific command on the chat
- Javascript function read this command and run function to teleport player on other coordinates.
Like that, if we want to build huge compound with different areas.We could use javascript to move player to specific zone.
Re: [JS] Teleport Player
Wouldn't be hard to do but it'd be something you'd have to be very careful with to not cause problems.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: [JS] Teleport Player
Good news
What kind of problems we could have with this feature ?
What kind of problems we could have with this feature ?
Re: [JS] Teleport Player
First that comes to mind is cheating, or hidden "features".
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: [JS] Teleport Player
What you could do (this is what I do and it's a lot easier than what you're trying to do) is just build the compound in time trial mode, and move the timing gate before the finish timing gate to where you wanna go in the editor.
Re: [JS] Teleport Player
I already know that, my suggestion is for Multiplayer.
For example, with this feature we could create the same multiplayer mode than the new Royal mode on Trackmania. New SkyMadness map without come back way,... I think it will be open a lot of new options for funnier server.
It's also allow Time trial in multiplayer,...
Re: [JS] Teleport Player
I'm listening.
*also all skymadness tracks comes with a version without the ramps*
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: [JS] Teleport Player
I know for version without ramps. But just, imagine one second if teleportation are available. We can just go back on the last gate with command even if we play in multiplayer on it. It will be open a lot of new game modes.
Please JLV, do it, like you said : "Wouldn't be hard to do".
Re: [JS] Teleport Player
"but it'd be something you'd have to be very careful with to not cause problems."
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: [JS] Teleport Player
There would be some decisions to make about what to do for teleports that move the playing inside of another player or something it would collide with. But I'm more concerned about giving a useful tool to people reverse engineering the game.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 187
- Joined: Sun Mar 20, 2016 3:29 am
Re: [JS] Teleport Player
could you do waypoints for single player?
Re: [JS] Teleport Player
For the collide, you just have to edit the X value of target position if it's inside object or player until the target position is clear. No very hard to do I think.
I'm not sur that to be concerne about hack on small game are very important. It's more important to help people who create content for your game (track, bike, skin, ...). Hacker will be fastly ban on server if the hack during races.