CoffeeScript for warzone scripting.

For AI and campaign script related discussions and questions
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: CoffeeScript for warzone scripting.

Post by aubergine »

Thought you guys would like this: http://wtfjs.com/

(UI of the site is a bit pats: there is a non-obvious arrow at the bottom of the page to view older posts, of which there are many.)
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: CoffeeScript for warzone scripting.

Post by milo christiansen »

Duha wrote:What is you first favorite?
Go. Go is by far the best programming language I have ever used, too bad its no good for this kind of thing.

For scripting I prefer JavaScript so long as it is not complicated, once you start getting complicated in JavaScript it becomes pretty hard to work with.

For least favorite launguages: (in least favorite first order)
Python
Forth
Most BASICs
lua
Java
C
C++

Most other languages are somewhere after lua/C. As far as embeded scripting launguages go there are not many (if any) good choices, JavaScript is about the best (as long as you dont try to be too OO)
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: CoffeeScript for warzone scripting.

Post by Duha »

aubergine wrote:Duha,

I think it's worth adding tutorial anyway - at the end of the day, if people want to use coffeescript and that results in more AIs or warzone mods, it's good for the community despite the ugly syntax :P
Spoiler:
http://addons.wz2100.net/ developer
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: CoffeeScript for warzone scripting.

Post by aubergine »

ECMAscript to get fat arrows similar to coffeescript? http://javascriptweblog.wordpress.com/2 ... -fat-city/
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
Post Reply