Stanley Sathler Posted May 14, 2012 Share Posted May 14, 2012 Guys, let's suppose: I'm creating a RPG. In my RPG I'll create many objects like food tents (hot-dogs, ice-cream), chairs and tables, trees, etc. Just to "complete" the map, creating squares, gardens, etc. Maybe I also wanna create some markers, for example, to create a car shop (everybody will can see and enter in marker). What is most recommended: create using client-sided or server-sided? Link to comment
Kenix Posted May 15, 2012 Share Posted May 15, 2012 If you create object on server side - synced for all players. If you create on client side - synced only for local player. Link to comment
mjr Posted May 15, 2012 Share Posted May 15, 2012 for example, to create a car shop (everybody will can see and enter in marker). you have already answered your question. don't worry, server won't be overloaded Link to comment
Stanley Sathler Posted May 15, 2012 Author Share Posted May 15, 2012 But I can create a client-side object to all players. If I do it, I'll being idiot? (Obs: in this case, creating objects that will be visible to all players) don't worry, server won't be overloaded Nice to know it. It was my preoccupation. Link to comment
mjr Posted May 15, 2012 Share Posted May 15, 2012 of course, you can create objects on the client-side, but then all will depends on client sync, for example, one player will destroy chair and will be able to walk on the surface where chair stayed. in that case other players will watch as this guy walks through their chairs. offtop: what time objects need to be respawned if they are set in the map editor? Link to comment
Moderators IIYAMA Posted May 15, 2012 Moderators Share Posted May 15, 2012 When you have very much objects, is it not posible for creating an object with a client script, at all posisions eagle? (not vehicle's/peds) The server is streaming objects form .map to our pc's, why can't we use objects on client side? Client side scripts can be stolen, but it will reduce lagg. Or does it not? About destroy able objects, you also have that problem on server side Link to comment
mjr Posted May 15, 2012 Share Posted May 15, 2012 Client side scripts can be stolen, but it will reduce lagg. Or does it not? not so much as you think and what do you mean by saying "stolen"? who needs your scripts? Link to comment
Moderators IIYAMA Posted May 15, 2012 Moderators Share Posted May 15, 2012 It is not funny to laugh about my scripts. and whe are talking about scripting maps on client side. Not about just scripts. Who need my scripts? Well stealth gta.ru should need my scripts, but they don't get them. 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