Reading BTL. file

Campaign Series: Vietnam is a new turn-based, tactical/operational war game that focuses on the Indochina War, Vietnam Civil War and the first years of US involvement in Vietnam with over 100 historical scenarios.

Moderator: Jason Petho

Post Reply
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Reading BTL. file

Post 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?
User avatar
Jason Petho
Posts: 17650
Joined: Tue Jun 22, 2004 10:31 am
Location: Terrace, BC, Canada
Contact:

Re: Reading BTL. file

Post 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.
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Reading BTL. file

Post 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.)
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Reading BTL. file

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

Return to “Campaign Series: Vietnam”