HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
The Conquerors has been starting to lag too much. In TC3(The Conquerors 3), I'm planning on scripting a system that will detect when the server starts slowing down, and reduces the quality of some parts of the game to help keep the lag down. For example, if each time has 80% of max units on the field, the game will likely be a little slow, so lasers that are shot will not look as smooth, dead buildings will not sink as smoothly. This will probably help a lot when I release a few updates to help with the realistic part of the game, like adding custom smoke that comes out of damaged buildings and weapons, dirt that is kicked up off wheels in tanks and jeeps, and ships making waves in the water when moving.
Only thing is, and this is untested, I don't know how much of a difference this will make on lag. I know it will help, but if it doesn't, I need ideas on what to do. TC3 cannot take up more resources than TC2 already does. Servers just can't handle any more stuff. I have already removed all unneeded parts in the units, so I can't do that again.
Suggestions? |
|
scrin445Join Date: 2011-05-10 Post Count: 3955 |
1. Instead of smoke when a soldier fires his gun or a tank, use a mesh instead.
2. & 3. Make the waves and dirt as small as possible.
|
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
That's why I said custom smoke.
Making the particles as small as possible won't make much of a difference if at all |
|
scrin445Join Date: 2011-05-10 Post Count: 3955 |
It was a suggestion. I don't really understand how Roblox properly works... |
|
ryjohnJoin Date: 2011-05-30 Post Count: 651 |
I say just remove all special effects after it reaches 50% units. No damaged look on stuff, no furring effects, buildings just vanish, no movement effects. I was happy before those came in, I'd be happy if they stopped to reduce lag. |
|
|
|
Make it a Mega Server.
Mega Server's can handle more parts.
Raycast all the guns.
Set the image quality lower.
Make the bricks as thin as possible.
Get a Script to take away all the snaps.
|
|
AotrouJoin Date: 2008-04-26 Post Count: 11936 |
Hmm... Have you considered removing any amimations or movement of things when players are not close? I do that for my RPG enemies and patrolling, which takes a lot of lag out. |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
"Make it a Mega Server.
Mega Server's can handle more parts.
Raycast all the guns.
Set the image quality lower.
Make the bricks as thin as possible.
Get a Script to take away all the snaps."
Each one of those is useless.
|
|
|
@hat
No, they actually work.
Have you tried them ? |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
Dont need to. |
|
|
@hat
If you havent tried them, then how do you know they wouldnt work ?
I used a script that removed all the snaps from the bricks, and it ended up stopping all the lag in one of my places (this place had 40,000+ bricks btw) |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
Because I know the studio well enough to know they won't work.
Mega server would push the player minimum to 20 or 30. Stupid idea.
Raycasting for what? You dont even know what that is. If you did, you wouldn't have mentioned it.
What images? The vote map images? Why would I spend 30 minutes lowering the quality to make the game .001% faster?
Making bricks thin as possible would not make a difference
What snaps? This isn't a 40k part place.
Just go.
|
|
|
@hat
"You dont even know what that is"
Actually I do, its used in Roblox's FPS Base War game.
Its a different system than using Projectiles.
It doesnt make the Game itself go faster, it is only used to make weapons faster/more accurate.
"stupid idea"
Dont get mad now, its just a SUGGESTION.
"Because I know the studio well enough to know they wont work"
OH, and I dont ?
I made my first account in 2010, and started making games in 2010.
I think I know Studio well enough by now.
"what images"
In Roblox Studio, you can change the quality of your games image.
Surprisingly, it makes a difference.
Also, why do you assume that im an idiot ?
Because I have a 12er account ?
Do you have no concept of alts ? |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
No you dont.
Raycasting tells you what part is blocking the way between two points. I don't use that, because I don't need it. It's just extra math. = lag
You think you know it well enough, but you clearly don't.
My game isn't loaded with images, so it's not going to make a difference.
I assumed you were because you made the dumbest suggestions on here. I didn't even notice your join data. Don't get all paranoid on me. I will not read any further posts by you, to save myself time.
|
|
|
@hat
Why are you assuming I dont know what raycasting is ?
I didnt feel like going technical about it on the forums.
I said it was a different system than the projectile system.
Also, by image quality, I meant image quality of your game, not any gui images IN your game.
"to save myself time"
Then get off the forums and start working on your game. |
|
mfzz99Join Date: 2008-12-17 Post Count: 129 |
Dude just shut it he obviously doesn't care you useless carbon based life form. Now stop posting on this thread until you actually have an idea Hathelper hasn't already thought of |
|
RealistsJoin Date: 2012-02-14 Post Count: 100 |
Mf.
He's only defending himself now.
And he never actually did anything wrong. |
|
|
Make the building animation a bit less laggy, Dont know how though. |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
That's going to be part of my system also. If there are a lot of unanchored bricks in the game, it will skip a few animations and take a little longer in between the remaining ones. |
|
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
I might do a quick test in a server where I push the quality down the minimum, and see how much lag that makes compared to what it is now. |
|
|
You could possibly reduce the detail level on some of your buildings. Run through each of them and see where it is possible to conserve bricks.
However, I understand that these bricks can be very important to the time it takes for a player to "build" a fortification. It's up to you. |
|
HatHelperTop 25 PosterJoin Date: 2009-03-02 Post Count: 46305 |
No it won't make much of a difference. Maybe I can subtract one part on average per building, without changing the look, but that's maybe 70 anchored parts decreased, and it's a lot more work than benefit, if any. |
|
|
Bear with me here. Use terrain for the islands. Terrain will reduce the lag MASSIVELY and allow you to have more parts. Think that is a good idea? |
|