windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 07:42 PM |
Hello other experienced developers. I would like to know if there is a way to detect if a player is within a certain terrain region. If an official way has not yet been implemented it would be great for us to come up with ways to do so.
What do I mean? Let's say you have a desert/field/cave terrain combination. If you walked into the field region you should be able to detect that and put a message like, "X has entered the field region." This should work for all 3 axis. If you went from the field to the cave region the same results should be produced.
My proposed methods: --- The best way I can think of is using ROBLOX's Universe capabilities. I am leaning towards remaking my whole game and inserting it into this model. The problem is, it's more of a solo game, less people to interact with unless your in the same universe. This could be problematic but for my game (Survival theme) it could be okay.
Another way could be to create multiple terrains and teleport, the problem is, that's not possible unless you use blocks. Maybe in the future.
If you wanted to keep all of it in one terrain setting, you could develop a complicated path-finding type algorithm to detect terrain biome boundaries. ---
What do you think, have any ideas or already working methods? What do you think the best solutions mentioned above would be? |
|
|
| Report Abuse |
|
|
unroot
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 1114 |
|
|
| 11 Apr 2016 07:45 PM |
I would help you, but the way you opened that thread up is just so pretentious and cringey.
#code print("yolo" .. string.rep("o", math.huge)) |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 07:53 PM |
| Terrain is already in world space and you don't even need to convert it, and you still don't know how to check if someone is between two points? |
|
|
| Report Abuse |
|
|
Kloiz
|
  |
| Joined: 29 Jan 2010 |
| Total Posts: 378 |
|
|
| 11 Apr 2016 07:53 PM |
>calls self experienced and advanced >doesn't know about region3
#code print("yolo" .. string.rep("o", math.huge)) |
|
|
| Report Abuse |
|
|
Kloiz
|
  |
| Joined: 29 Jan 2010 |
| Total Posts: 378 |
|
|
| 11 Apr 2016 07:54 PM |
unroot i'm going to take your signature thanks
#code print("yolo" .. string.rep("o", math.huge)) |
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 08:03 PM |
Unfortunately a single person can't know everything, Thank you for the pointer of Region3. The think about terrain is, the biomes aren't square. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 08:04 PM |
This post was a joke right?
|
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 08:10 PM |
@arshiaslaya Actually it's a serious question.
Attention before posting: If you are not going to produce helpful information to move this post forward, please do not post on this thread at all. Thank you! |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 08:11 PM |
| Just make multiple region3's throughout the biome. |
|
|
| Report Abuse |
|
|
unroot
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 1114 |
|
|
| 11 Apr 2016 08:11 PM |
@arshiaslaya
I really hope this was a joke.
#code print("yolo" .. string.rep("o", math.huge)) |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 08:48 PM |
a simple way would be to make a part covering the regions and detect if the player has touched them
hio. |
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 09:04 PM |
@Weirdraidercs35 This seems like the most simple solution so far. You can use groups of parts to create finer details (Not so many that it would cause significant lag). Thanks for mentioning this. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 09:07 PM |
@windows[Insertnumbers]
You do notice, almost none of the posts, on this thread are going to be useful? Why you may ask? because, this post should be taken as a joke, which it was by most people. Stop taking yourself serious, and stop making such posts if you don't like the responses,the title of the post, was enough to make me want to not take you seriously.
|
|
|
| Report Abuse |
|
|
| |
|
Entelicon
|
  |
| Joined: 06 Nov 2012 |
| Total Posts: 1002 |
|
|
| 11 Apr 2016 09:17 PM |
You guys are hitting him too hard over this. If you are not going to help then leave. Stop acting like he committed a crime for asking the best way to do something ._.
|
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 09:19 PM |
@arshiaslaya Whew! I hope you blew off some steam! Everyone has their own way of getting rid of stress. I would appreciate it if you would redirect your negative energy to another, less focused person. Thank you :)
Responses are still welcome, I would appreciate the more mature types though. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 09:19 PM |
@entelicon That's not the point, I was joking around and he ended up being angry for no reason. Don't expect a good reply to such post, when you try and act like you are an elite scripter, and ask "game developers", for something like this.
|
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 11 Apr 2016 09:20 PM |
| Create a giant part covering the region. Detect if they are in it with GetTouchingParts(). |
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 09:21 PM |
@Entelicon Thank you for realizing that humans aren't perfect. You just gained a ton of respect.
My goal was to induce a serious conversation over a topic that could improve RPG game-play tremendously. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2016 09:23 PM |
@other experienced developers
Funny, when you don't have a serious post, nor a serious response to anything.Also the only negative energy is the existence of this hilarious yet garbage post.
Responses are still welcome, I would appreciate the more mature types though.
|
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 11 Apr 2016 09:25 PM |
| @arsh, please get out. You are just making these forums go wild. If you aren't going to contribute to anything you might and as well stop posting. It's pretty obvious the only reason you are posting is to gain post count. |
|
|
| Report Abuse |
|
|
Entelicon
|
  |
| Joined: 06 Nov 2012 |
| Total Posts: 1002 |
|
| |
|
|
| 11 Apr 2016 09:27 PM |
The last thing I care about is my post count, there is no reason I would, nor is there any reasonable benefits to having a higher post count overall.
|
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 11 Apr 2016 09:29 PM |
| So this just proves there is no reason to post non sense things. Again, leave. |
|
|
| Report Abuse |
|
|
windows65
|
  |
| Joined: 22 Jun 2009 |
| Total Posts: 86 |
|
|
| 11 Apr 2016 09:29 PM |
@arshiaslaya I'm sorry you think I have done something wrong. I am actually not mad, I am just focused on developing my game. If you can not provide significant value to this topic, I do not see a reason to keep responding. I would love to have you help the community discuss this topic. Off topic posts are not welcome though. Thank you :)
PS. This is a type of harassment. Please don't be that guy... Be the productive guy that everyone loves!
@Others Thanks to all of the serious posts! I appreciate the respect you have shown. Apparently inserting a large block in large terrain generates a crazy amount of lag. I'm probably just going to detect if someone is within a rough set of coordinates unless anyone else has a better idea? |
|
|
| Report Abuse |
|
|