Any future planns?

For AI and campaign script related discussions and questions
Post Reply
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Any future planns?

Post by Duha »

I don`t find any topik related to future plans about scripting api?

Are you planning to add interactive console? This will speedup ai debugging greatly.

Are you planning to fix crash on loading save with objects with functions as attributes?:
var broken = {foo:function(){}}; // this will break
This is prevent to make class based api.

Can it be marked to be not saved. Or just remove all function from inside. Or just get presave event to do it via js.
http://addons.wz2100.net/ developer
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Any future planns?

Post by aubergine »

I'd recommend reading through this thread: viewtopic.php?f=35&t=8756
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: Any future planns?

Post by Duha »

aubergine wrote:I'd recommend reading through this thread: viewtopic.php?f=35&t=8756

It about 200messages. Can you point more exactly?
http://addons.wz2100.net/ developer
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Any future planns?

Post by aubergine »

Not really - that thread has evolved since the JS API docs started and has often been the place where discussions about future direction have taken place.

I've mentioned in my JS API docs (see links in my sig) what version of the game features are available in (with 3.2+ being MASTER branch) but not compiled a table showing what will be in 3.2 unfortunately.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: Any future planns?

Post by Duha »

I've mentioned in my JS API docs (see links in my sig) what version of the game features are available in (with 3.2+ being MASTER branch) but not compiled a table showing what will be in 3.2 unfortunately.
Your docs is good. But there is on bad thing. There is no mention about them in first post about js api.

Getting diff in functions in not hard. Just parse two files and get difference. If you need that script I can help.

IMHO Best forum docs is in FAQ format.

I`m programmer and I have seen a lot of differene API`s and I`dont like this. This api should be object based.

Code: Select all

distBetweenTwoPoints(sructure.1, structure.y, droid.x, droid.y);
//vs
structure.getDistance(droid);
Only two things prevents me to write it: restriction to storefunctions in objects.
The other thing is absence of interative console. It greatly speedup deelopment
http://addons.wz2100.net/ developer
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Any future planns?

Post by NoQ »

Duha wrote: There is no mention about them in first post about js api.
The 4th link in the sticky
Post Reply