Scripting...

Scripting...

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Orakio
Posts: 119
Joined: 25 Aug 2006, 16:41

Scripting...

Post 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?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post 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.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

GPL'd? whats that?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I +1 everything that means more mods will include their BOS files for easier inspection.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post 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
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post 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.
Post Reply

Return to “Game Development”