Deltanic Posted July 19, 2010 Share Posted July 19, 2010 Question which the devs surely know, but maybe someone else too. I want to know how much a ped from a server requires. I know it's possible to create a lot, but is it possible to create thousands of peds on serverside, all walking around everywhere in San Andreas (That means, you will probably have not more than 10 peds streamed in at a client, because the peds are everywhere)? And if it depends on my CPU and RAM, how much can I have with a 2.33 GHz dualcore along with 2 GB DDR2 of RAM Memory? Link to comment
AeroXbird Posted July 19, 2010 Share Posted July 19, 2010 Well, it will probably lag quite a bit, because the peds have to be created all at once (will trigger a huge lagspike) and then be animated and controlled at the same time, wich will result into a total death massacre lag. i suggest you make the peds only where people are walking at that moment, it might take a little cpu power, but it will save you a lot of resources. altough making the peds where a player is might result into the same thing when there are over 10 players online especially on a core2duo, you will need a good server if you want to process such things. Link to comment
Headshot4Fun Posted July 19, 2010 Share Posted July 19, 2010 The peds and cars in gta offline are created only where you can see. If you can't see they, they are destroyed and created again where you look at they. But thousands of peds will lag the server alot. (i sux speaking english) Link to comment
eAi Posted July 19, 2010 Share Posted July 19, 2010 If you wanted to do that, you wouldn't simulate every ped in the world, just those near players. Link to comment
Deltanic Posted July 19, 2010 Author Share Posted July 19, 2010 Okay, it's obvious I will need to make a streamer for it. Imagine I have a full 32 player server. If every player has 10 peds streamed in, there will be still 320 peds made. I think this can cause lagg, can't it? Or I'll create the peds clientside, so the will be processed at the client. Only one big downside, the peds won't be synched at other clients, so I still prefer the server, and I hope it IS possible for 32 players. Link to comment
dzek (varez) Posted July 20, 2010 Share Posted July 20, 2010 250 scripted peds crashed 500Mhz/128MB ram server.. so i think your server with 320 peds will be fine Link to comment
eAi Posted July 20, 2010 Share Posted July 20, 2010 The server only needs to sync peds that more than one player can see. So 32 players that are all some distance away from each other should have no synced peds. Link to comment
Deltanic Posted July 20, 2010 Author Share Posted July 20, 2010 Aha, tnx varez & eAi. That's some good stuff to know. Looks like I'm able to do what I want. You'll see it when the project is done Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now