Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Omaha Beach .bsf file

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Close Combat – The Bloody First >> Omaha Beach .bsf file Page: [1]
Login
Message << Older Topic   Newer Topic >>
Omaha Beach .bsf file - 2/1/2020 1:36:37 PM   
ineffable


Posts: 408
Joined: 12/13/2019
From: Fishers Ferry
Status: offline
On Omaha Beach, per the .bsf file (Battle Script File?), the two command teams both get deployed near-by each other in the trenches around the forward left bunkers. Also, the AT gun in the forward right AT bunker doesnt have much LOS to outside the bunker. The attached OmahaLanding.bsf file moves the second command team over to the right front, and it deploys the forward right AT gun 2 meters closer to the bunker embrasure so it starts the battle with better LOS to the beach.

FYI - TBF uses a location grid coordinate system much like the military. eg. 47500,34800 is 475 meters to the right of, and 348 meters up from, the lower left map corner. Unfortunately, the grid numbering on the overview maps starts in the top left so you've got to do a bit of subtraction for y values. And technically, TBF map coords are capable of locations to the exact centimeter.

Unit facing is specified by the digit following the map coord,. 0=N, 1=NE, 2=E, 3=SE, 4=S, 5=SW, 6=W, 7=NW

Left to its own devices the TBF AI uses little variation when it deploys friendly and enemy units. With a few tweaks this .bsf file could be adapted to specify user-selected deployments, facings and unit orders for initial battles in all scenarios. And sets of .bsf files could be swapped in to vary user-selected deployments to prevent the AI from using and re-using the same deployment in the first battle on every map.

Sample unit deploy code in a .bsf file:

{
// place command team 2 behind right AT bunker
PlaceUnit(id,47500,34800,0);
}

Attachment (1)

< Message edited by ineffable -- 2/1/2020 1:37:18 PM >


_____________________________

Quid si
Post #: 1
RE: Omaha Beach .bsf file - 2/1/2020 6:25:37 PM   
ineffable


Posts: 408
Joined: 12/13/2019
From: Fishers Ferry
Status: offline
Another tantalizing code snippet from the Omaha Beach .bsf:

quote:

// set AI posture range to defend - delay withdraw
SetAIStanceLimit(1, 3, 5);


Makes one wonder what other 'AI stance' is available - probe, all-out attack, world domination?

_____________________________

Quid si

(in reply to ineffable)
Post #: 2
RE: Omaha Beach .bsf file??? - 2/1/2020 11:56:44 PM   
ineffable


Posts: 408
Joined: 12/13/2019
From: Fishers Ferry
Status: offline
In the Omahalanding.bsf, the infgun unit type quantity is set to 0 at the beginning of the file but nothing is ever specified about testing for and placing inf guns. Consequently there is always a GE inf gun that deploys on the left exit road from the beach, facing south!?

What is the test for tankQ similar to the test for ATgun: if (((t == 13) || (t == 14) || (t == 15) || (t == 16) || (t == 17) || (t == 18)) && ((t2 == 7) || (t2 == 9)) && (t3 == 1))

What is the third variable in the IssueUnitOrder(id,5,?,15400,17000,0) function?

_____________________________

Quid si

(in reply to ineffable)
Post #: 3
RE: Omaha Beach .bsf file??? - 2/3/2020 12:17:09 PM   
ineffable


Posts: 408
Joined: 12/13/2019
From: Fishers Ferry
Status: offline
quote:

ORIGINAL: ineffable
What is the third variable in the IssueUnitOrder(id,5,?,15400,17000,0) function?

The third variable is an enemy unit index #: 0=enemy command unit, 1=enemy unit#1, 2=enemy unit#2 etc.

A sneaky way of finding out enemy unit locations in the Deploy phase. Select a unit with an IssueUnitOrder(id,1,0,000,000,5) function scripted for it and the Move Fast movement line will lead to the enemy command unit. Wonder if this is dynamic so that in H2H play, if the opposing player repositioned his cmd unit in Deploy, any IssueUnitOrder movement line would update to the new cmd unit location. Quantum entanglement at CC scale :)

_____________________________

Quid si

(in reply to ineffable)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat – The Bloody First >> Omaha Beach .bsf file Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.230