bos2cob

bos2cob

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
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

bos2cob

Post by hokomoko »

in python https://github.com/ashdnazg/bos2cob

It works for TA scripts and not TAK scripts for now.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: bos2cob

Post by Jools »

Thanks!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: bos2cob

Post by Forboding Angel »

I like! This is awesome cause I love being able to use notepad++ for bos but it's a giant pain in the ass when you have to keep porting it back to scriptor, so being able to just call it like this is a godsend.

Also: "kilometrage"?
Do you mean it just has a lot less usage than scriptor so wrt results YMMV?
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: bos2cob

Post by hokomoko »

I refuse to use mileage as no one should use miles.
You can use elmoage if you want.

it's not YMMV since results should be consistent on different machines.
It just means that it had significantly less usage than scriptor and unknown bugs may still be present.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: bos2cob

Post by Super Mario »

hokomoko wrote:I refuse to use mileage as no one should use miles.
You can use elmoage if you want.

it's not YMMV since results should be consistent on different machines.
It just means that it had significantly less usage than scriptor and unknown bugs may still be present.
What....
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: bos2cob

Post by Jools »

Except nautical miles make a hell lot of sense, because one nm equals one minute on the N/S circumference of earth.
User avatar
nixtux
TechA Developer
Posts: 100
Joined: 01 Mar 2009, 15:36

Re: bos2cob

Post by nixtux »

Thanks, This will be very handy no more VM for scriptor :evil:
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: bos2cob

Post by hokomoko »

nixtux wrote:Thanks, This will be very handy no more VM for scriptor :evil:
btw, there's a bug in your current abroadside cob.
the bos contains

Code: Select all

while( get 17 > 0 ) {...}
which scriptor accidentally parses as:

Code: Select all

while( get (17 > 0) ) {...}
so either put some parentheses or use my compiler to create a correct version.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: bos2cob

Post by Beherith »

Very nice work, the only thing I was able to get it to choke on was a badly written float value (0.5.000 instead of 0.5000)

Excellent, may I include it in the BAR repo?
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: bos2cob

Post by hokomoko »

feel free, just note that it's GPL (not really necessary to attach the license file as it's mentioned in the files too)
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: bos2cob

Post by hokomoko »

Updated to fix a bug with hex integer values.
Post Reply

Return to “Game Development”