Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How would I go through with this(Universes/Parties for it)?

Asked by
lomo0987 250 Moderation Voter
9 years ago

I've been currently making an RPG, I have a system in place where people can do parties/quests together. What my next goal to do is to set up some sort of Raids that can happen.

What the raids are going to be, X people are going to be selected out of those who are wanting to do the raid (Party function/Randoms?).

What the problem is that I don't know how to teleport a group of people into a single server that's not been created yet. I know you can teleport others to a server based on who is already in the server, but I don't know if I can create a server then put said people into it.

How I would like to go about this is to set up a Gui, you can Que to go into X raid. Once the server or the game (Depending on how it works) sees enough people wanting to do the raid, it will teleport everyone into a new server and it will start. Is that a reasonable thing to do or should it be set up differently?

2 answers

Log in to vote
0
Answered by 9 years ago

You can't create a server, and teleport people to it, but you can have remade servers done and teleport them to those servers. Those servers would need to be setup as child servers so they can access the same datastore, where you would need to save the settings of the server they're entering. Such settings could be a map that gets loaded, based on the type of raid that will occur.

You would also need to have a tracking mechanism to make sure you send people to servers not currently in use.

For the amount of trouble this might be, you may be better off creating a place that has all the separate maps in one place and teleport them to each area and build mountains and barriers to keep them from overlapping. You will still have some logistical issues with this solution, but I think it may be less hassle than tracking servers to teleport people to. I know how I would do it - use HTTPService to have an outside server maintain the server teleport sanity checks, but I still wouldn't do this solution unless each place was going to be HUGE - then I guess it makes sense.

As for setting up the GUI, I think it would be like any normal quest game, except you're grouping with players to choose the map, so you'll need a way to create groups and have players see a list of groups and join or create them (Like in Apocalypse Rising perhaps), and then as a group pick the map quest you'll be heading to, while staying in a lobby or safe zone. Let your scripting logic handle the rest of the work from there - maybe you can even have the maps voted on, and the group leader can get final say on which map everyone does.

All I can do is suggest my ideas as this sounds like a HUGE project and quite a bit of work - I don't think anyone is going to have a short script to provide you with a complete solution on this.

-Jason

0
Actually the quests are a different part of the game. the raids are going to have the own 'game' as their own, it's just going to be in a universe. (I've thought about it a bit before hand about how i might be able to get this set up, but it's going to be a pretty decent project.) lomo0987 250 — 9y
0
Yeah the main reason you would need places setup in advance is you need placeID's for the teleport command. Sounds like a great project. JasonTheOwner 391 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

You can create a new place (using the AssetService, specifically CreatePlaceAsync) and then teleport the group to the newly created place.

Answer this question