GOD2U
|
  |
| Joined: 02 Aug 2008 |
| Total Posts: 787 |
|
|
| 05 Oct 2012 06:16 PM |
Just wondering, what would be the implications of running an open world RBX game with a relatively large world, with zombies spawning X minutes after death, and lootable items that respawn as well?
The game would have a max of 6 players per server, and would save both your position & items.
I'm thinking of creating something like this, but what would do you think would be the average experience (lagwise) for the user? |
|
|
| Report Abuse |
|
|
|
| 05 Oct 2012 06:25 PM |
Depends on how many NPCs you have.
-= I'm not paranoid. Why? Who's asking!? =- |
|
|
| Report Abuse |
|
|
GOD2U
|
  |
| Joined: 02 Aug 2008 |
| Total Posts: 787 |
|
|
| 05 Oct 2012 09:15 PM |
| Zombies? I assume I'd 50-100 at any given time. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 05 Oct 2012 09:18 PM |
| You could always go to the apoclypse rising place to see how well 60-70 zombies perform. Uses the free model zombie code. |
|
|
| Report Abuse |
|
|
Droban
|
  |
| Joined: 12 Aug 2012 |
| Total Posts: 157 |
|
|
| 05 Oct 2012 09:23 PM |
Depends on how well you make it...
Big world can work a bit like MC or Anaminus's Terrain place, using a chunk manager or something to only show parts of the world in need of showing. In addition to that, you could do some cool local stuff on both the client and server. Make the clients only show the bricks they need, and the server place the bricks for every player in its camera, which'll reduce client-side lag while keeping physics working. The unanchored parts would be like any other part, with the server simulating the physics with parts in the camera + parts in workspace, and the clients simulating it with their local parts when they get near. If done right, this should create a near lagless experience fopr the users, but may in some way slow down the server. Also, with the zombies, you could do some stuffz with those. Instead of making them always exist, represent them with values in a table, and have them shown as zombies only when in range of a player. Their pathfinding and attacking will all be done by a single script server-side.
Would be perfect, but hard to make. Best way to do it, I think. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 06 Oct 2012 02:19 AM |
There are several other people working on dayz clones already that have much more experience than you
so... |
|
|
| Report Abuse |
|
|
GOD2U
|
  |
| Joined: 02 Aug 2008 |
| Total Posts: 787 |
|
|
| 06 Oct 2012 09:14 AM |
@Ben
Typical C&Ger, quick to assume without any facts, quick to mock other people while not being able to do anything himself or herself(in your case). |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:21 AM |
Zombies are surprisingly laggy.
Each has 6 parts if done properly + decals
so for 100 zombs thats 600 moving parts. Its not that much if you have a few 100 part cars or something, but now you have only 6 parts/ body, that is 100 bodies each moving separately, and 4 of the 6 parts in the bodies are animated!
So you need to do something about that.
Suggestions: -When zombie is close, have it normal with full anim etc. -When its a bit farther, have not so smooth animation, possibly remove decals -When its even father, combine the legs and the torso and head into a single part and make the arms another part (with decals so the block is transparent in the middle)? -When its way too far just make it a single block that updates like every 4 seconds or something.
That is the distance from the player... Do the same with the chasing script so if its close it updates the direction every 0.2 or so seconds, if its like 20 studs away you could use 1 sec etc. (and they wont chase you if you go farther anyways)
Also possibly anchor them if theyre not moving when theyre far.
You dont need a humanoid but it might be useful to show the name and help with proper animation (to get the events like falling), but when its far and it has no moving parts you can use bodyvelocity or something. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
| |
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 06 Oct 2012 11:26 AM |
"Zombies are surprisingly laggy."
It's actually the movement (animation) of their parts that make the most impact. I made an animated horse (http://www.roblox.com/Item.aspx?id=90820819) which uses a VehicleSeat and most parts sway idly. Custom animations and all. If you have six of them in a small radius, the game begins to slow (not choppy-lag, but slow down). |
|
|
| Report Abuse |
|
|
GOD2U
|
  |
| Joined: 02 Aug 2008 |
| Total Posts: 787 |
|
|
| 06 Oct 2012 03:39 PM |
Hmm... good ideas.
I'm going to start working on the scripts and base game functionality.
Thanks for your suggestions. |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 03:41 PM |
| Ben, all you seem to do is mock and belittle other members. Have you ever though of, you know, talking about scripting? |
|
|
| Report Abuse |
|
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 06 Oct 2012 04:07 PM |
Remove one leg on every zombie, ta-da 100 less legs to worry about.
Did anyone suggest this already?
Make some "Master Script" that functions for all the zombies, harder to make, more quality game time, less time waiting for the screen to show something different. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 06 Oct 2012 05:42 PM |
@triston220
see the thing is, the stupid ones always fall for it
the smart ones ignore it
you know your place |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 07:34 PM |
You should be careful how far you go with an open world game. Don't forget this is a kids site. :P
|
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
|
| 06 Oct 2012 08:49 PM |
trying my own one atm Chernarus: http://www.roblox.com/DMap2-place?id=90132484 |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 06 Oct 2012 09:21 PM |
| I can't even have a flat circular island using one part that has correct physics. We've got a while for this... |
|
|
| Report Abuse |
|
|
GOD2U
|
  |
| Joined: 02 Aug 2008 |
| Total Posts: 787 |
|
|
| 06 Oct 2012 09:42 PM |
@Hat
That's really interesting. Load time is a while, but I don't have any lag. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2012 12:35 PM |
"@triston220
see the thing is, the stupid ones always fall for it
the smart ones ignore it
you know your place"
I certainly do. It's miles above you. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Oct 2012 12:44 PM |
@triston220
no scale no win |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2012 12:50 PM |
@Ben, you're insecure about yourself you you bully other people. Amirite?
(Obviously you're gonna say no to this question, but I don't really need your confirmation anyway. |
|
|
| Report Abuse |
|
|
| |
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Oct 2012 01:28 PM |
@triston220
why ask then? =)
and no you are wrong, as usual |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2012 01:40 PM |
"as usual".
There we go, the I feel inferior some I'm going to belittle someone approach again. Either that or you're plain nasty. |
|
|
| Report Abuse |
|
|
| |
|