Page 1 of 1

Scripting...

Posted: 26 Aug 2006, 11:39
by Orakio
I'm pretty good at programming so I don't need too much help, but I'm wonderring is there a reference for .bos with TA anywhere? Not a guide but a REFERENCE such as list of functions, events, options, parameters, etc. I know there are some examples, lots of mods leave them in, but I would find it useful to see the bos scripts for AA or XTA which are not left in. Is it possible to get any of these?

Posted: 26 Aug 2006, 12:08
by KDR_11k
The TA Design Guide you can download from a Wiki link is the closest thing I've found. It lists some superfluous functions that are really just user defined but you'll be able to figuere out which ones those are.

Posted: 26 Aug 2006, 12:15
by Argh
In addition, I'm about to release a bunch of heavily-commented sourcecode that's well-optimized for use with Spring, and new Includes that are GPL'd, with the next release of NanoBlobs.

Posted: 29 Aug 2006, 03:44
by bobthedinosaur
GPL'd? whats that?

Posted: 29 Aug 2006, 03:51
by Argh
Gnu Public License. IOW, it will be free for anybody anywhere to use, for any purpose, so long as they include the original source code in their mod.

Posted: 29 Aug 2006, 11:26
by KDR_11k
I +1 everything that means more mods will include their BOS files for easier inspection.

Posted: 29 Aug 2006, 13:46
by Guessmyname
I would probably be a good idea to release source stuff like that seperately though, or the filesizes will start going through roofs

Posted: 29 Aug 2006, 14:29
by KDR_11k
BOS files are tiny, they don't add much to the filesize. They compress roughly 3:1 in an sdz and even the longest ones aren't more than a few kB unpacked.

Posted: 30 Aug 2006, 00:32
by Argh
^^ What he said. And, of course, most mods will not go to the trouble of releasing under GPL rules.

I am making an exception with NanoBlobs- normally, I protect my copyrights, and I would not normally provide uncompiled BOS files to people.

However, NanoBlobs has always been an experimental design intended to be, in part, a teaching tool, and I am not only including the BOS files, but they'll be heavily commented for easy use, unlike previous versions. I think that Spring really needs something like this, so that everybody can learn in a way that isn't quite as haphazard as previous materials. I did the same thing with Freelancer modding, but that was a very complex project that, quite honestly, became too unwieldy for me to maintain properly. This has been kept very small, so that I can keep it clean. I will be adding more example code, though- things like a unit with multiple guns with restricted arcs, multi-barrel weapons examples, etc. I just haven't gotten to the point where it's time to add the units in.