Search found 131 matches

by raycast
08 Dec 2012, 20:41
Forum: Scripting
Topic: If Andre Breton wrote Javascript...
Replies: 3
Views: 2392

If Jacques Philippe Marie Binet wrote C...

If Jacques Philippe Marie Binet wrote <strike>JavaScript</strike> C:

Code: Select all

int fib = (int) round(pow((1.+sqrt(5.))/2., n)/sqrt(5.));
... because they know how to implement fibonacci in sub-linear time and this kicks JavaScript ass...
by raycast
04 Dec 2012, 01:04
Forum: Game related Discussions
Topic: Is researching Research too easy?
Replies: 20
Views: 12222

Re: Is researching Research too easy?

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...
by raycast
03 Dec 2012, 22:36
Forum: Mapping / Modding tools & discussions
Topic: Map generation
Replies: 32
Views: 14257

Re: Map generation

Removed.
by raycast
09 Nov 2012, 23:33
Forum: Scripting
Topic: What is the correct term for a "script processing slot"?
Replies: 10
Views: 3943

Re: What is the correct term for a "script processing slot"?

@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...
by raycast
09 Nov 2012, 23:31
Forum: Balance
Topic: Assault cannons - anybody uses them?
Replies: 7
Views: 6005

Re: Assault cannons - anybody uses them?

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.
by raycast
09 Nov 2012, 21:02
Forum: Scripting
Topic: What is the correct term for a "script processing slot"?
Replies: 10
Views: 3943

Re: What is the correct term for a "script processing slot"?

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 is allowed (and som...
by raycast
09 Nov 2012, 09:11
Forum: Balance
Topic: Assault cannons - anybody uses them?
Replies: 7
Views: 6005

Assault cannons - anybody uses them?

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...
by raycast
09 Nov 2012, 08:55
Forum: Scripting
Topic: Gauss Cannon research tree weirdness
Replies: 19
Views: 15645

Re: Gauss Cannon research tree weirdness

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...
by raycast
05 Nov 2012, 20:50
Forum: Scripting
Topic: 3.2 JS API Wishlist :)
Replies: 217
Views: 81631

Re: 3.2 JS API Wishlist :)

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...
by raycast
04 Nov 2012, 00:46
Forum: Mapping / Modding tools & discussions
Topic: Map generation
Replies: 32
Views: 14257

Re: Map generation

Removed.
by raycast
03 Nov 2012, 21:03
Forum: Campaign
Topic: MP Stuff In SP
Replies: 11
Views: 4661

Re: MP Stuff In SP

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...
by raycast
02 Nov 2012, 20:08
Forum: Addon discussions
Topic: Cartoon tileset experiment
Replies: 123
Views: 66149

Re: Cartoon tileset experiment

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?
by raycast
02 Nov 2012, 19:34
Forum: Scripting
Topic: How do you develop scripts?
Replies: 5
Views: 2107

Re: How do you develop scripts?

@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...
by raycast
02 Nov 2012, 14:52
Forum: Scripting
Topic: How do you develop scripts?
Replies: 5
Views: 2107

Re: How do you develop scripts?

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...
by raycast
02 Nov 2012, 14:48
Forum: Scripting
Topic: CoffeeScript for warzone scripting.
Replies: 18
Views: 7805

Re: CoffeeScript for warzone scripting.

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'...