Page 1 of 1

Reading BTL. file

Posted: Mon Jan 16, 2023 7:01 pm
by carll11
J&B;

Q- in the 'old' days re; EF etc., you could go into the btl. file and find your releases, change the turn to move them up or make them wait outside what you originally set the release turn at when designing the scn., it was one way I used to introduce AI play balance.
I dont see any 'markers' here in this Vietnam btl's, I am pretty good at sussing out what code does what, can you direct me to the 'new paradigm';) IOW how is it coded now?

Re: Reading BTL. file

Posted: Mon Jan 16, 2023 7:19 pm
by Jason Petho
I think the releases are now taken care of in the lua file, no longer in the BTE file, but Berto will have to confirm.

Re: Reading BTL. file

Posted: Mon Jan 16, 2023 7:34 pm
by berto
The game still supports old-style, straightforward releases. Releases work and are coded in the .btl file as they have always been, no change AFAIK. Any Lua file involvement is an add-on option. (We have scenarios, both in CSVN and especially in CSME, which are not scripted, but for sure they still have releases.)

Re: Reading BTL. file

Posted: Mon Jan 16, 2023 10:48 pm
by carll11
I tested 2 btls, 1 with the release in place of a regt. of approx 44 units and 1 with no release

The release btl. had this code;

12 2 102 100 964 placed just before the aircraft data list and at the end of the unit/position data.

The no release did not have this string.

I know that the first number position, the '12' speaks to a category/status of action/position etc etc.

Example; 0 is 'unit' , 2 is hex status, 9 is smoke, 10 is airstrike, 21 flare etc.

Do either one of you gentleman know what '12' signifies?

The numbers there after 2 102 100 964, I haven't a clue but knowing what the '12' denotes might help.......


Additionally, I did same with the scn file, I created 2, no release and release, there was exactly 1726 lines all identical in both files, I find that counter intuitive, where else would the btl. get the release information if not from the Scn file?