Quote:
Originally Posted by David Hayward
They are clearly not done with CoD. I'm sure they will continue to work on making it look better. But it's pretty clear that they have an excellent base to start with.
The problem is that they still have to calculate all these things for every tree on the map. When you say "within a certain limited distance", they currently still have to calculate what the distance is for every tree and every aircraft. That is a lot of calculations even if you're only checking for aircraft which are close enough to trees that you should be checking for collisions.
I would fix it by breaking up the map into boxes. I would constantly keep track of which box the aircraft is in and only check it's distance from trees in that box. However, I have no idea if that is even possible with their engine. It might not be. But eventually I am sure they will find a fix.
If you can refrain from calling me a moron, I can try to treat you with respect. But you have to give the devs a break. What they are trying to do is not nearly as easy as you seem to think it is. I have more than 20 years of programming experience with hospital software. When I make a mistake it could cause one of our users to kill a patient, and they don't get as upset when they have a problem with our software as many in here have got about this game. It's a game. No one is going to die. Lighten up a little.
|
Programming for a game vs hospital software are too entirely different beasts, even if you program for a UI etc - the crossover is very minimal.
As for the calculations - reread the post, they dont need to calculate anything until the aircraft gets to a certain altitude, then the hitboxes would be generated, no calculations need to be made unless an impact occurs. Each tree would have a hitbox which is generated around it when an aircraft gets close, since the game irrespective of trees has to track the aircraft anyway,you can impement a "if" and "then" scenario. This is likely what they they already tried (luthier mentioned that they tried hitboxes when I suggested it, but also said they have to do it for every tree in the game and every plane *facepalm*). Its not an excellent base if it doesnt work, its not that the game has problems, its that the problems it has should not be an issue/should not even be there for a modern game. Over that unfortunetly they developed it in a way that is limiting them from offloading work to additional cores/threads. For god sake a ipad 2 has 2 cores, why do people still use 1 core machines?...