I'm against having research upgrades depend on random technologies . This makes it much harder for novice players to find their way around the tech tree. I find it much more acceptable to just raise the prices for the advanced research centers. I believe there was a time were heavy cannon or somethi...
@bendib: Javascript isn't really about threading. That can screw up things badly. In particular, it will then need much more synchronization, and can cause various errors. Like you retreive an object, but by the time you want to query some property of it, it already no longer is on the map and was i...
I just used them in a game, and they were doing okay.
Except that my python-HCs were really slow, but they barely got scratched until the enemy had scourges.
Still I feel them a bit undervalued, in particular as no later tech depends on them.
The following code might be a solution for "CPU hungry" AIs: You schedule a callback to be invoked for each object. The main game engine does the object loop, and invokes a callback function for each object once. Then, at the very end, a "completed" callback. The main game engine...
I have the impression that assault cannons are barely used. They come a bit late in the tech tree, while having AFAICT little benefits over alternate technologies. Their damage dealing capability is just slightly more than medium cannon and HVC, and the latter has better range and supports against V...
I would keep redundant prerequisites in some situations. It's not about having a minimal graph, but one should also think of the users. As such, I would actually keep the redundant link to the previous major technology. So Gauss depending on Rail gun is okay for me, because if a user manually (witho...
Is there an actual use case for the skybox function? I can imagine a single player map having nuke explosion(s). That might even temporarily white-out your screen, EMP all units, and then set the sky box to have a nuke mushroom somewhere and enable snow? Although for maximal coolness, one would pro...
Instead of reworking the campaign to use all of the MP tech tree and use the MP balance -- which probably still won't be comparable, because in campaign you will likely have hero units at the end; in MP I barely get half advanced units -- I'd suggest that a number of motivated people get together an...
As there aren't that many command centers around on a map (and on the screen at the same time) that should not make a huge difference. Does the new model work with the old texture, too?
@aubergine: well, that applies to both compile time and run time errors. Just that with compile time, the roundtrip is much faster to revisiting your code and finding the error...
Try parsing the javascript with some JS interpreter/runtime/optimizer/whatever before even starting warzone. To catch any syntax errors. Actually this is one of the reasons why I'm not convinced of using scripting languages for any larger development project. A C or Java compiler is really good at c...
On a side note: a benefit of CoffeScript may be that it will already catch a number of errors when compiling into JavaScript. While when you write JavaScript directly, most errors will only pop up once the script (or even: part of the script!) is actually used. But I havn't used CoffeeScript, I don'...