Deployment location, facing and Defend/Ambush stance can be customized for the AI and/or player using .bsf files. Initial movement and fire orders can also be issued. 

Attached are two template .bsf files, Allied and Axis, which can be used to set custom deployments for command, infantry, mg, AT infantry and AT guns. Inf guns, HTs, and AFVs arent yet included because code samples for these werent on the Omahalanding.bsf I used as a reference.

After creating a custom scenario
Deployment locations can be determined using the \Close Combat - The Bloody First\Campaigns\MAIN\DATA\BATTLES\[i]mapname.bmp[/i] preview images which have measurement guides along the left and top edges. The .bsf coordinate system starts at lower left corner of the map not the upper left. A unit that is dead center on a 256x512 map has the coordinates: (12800,25600).

The .bsf templates have blank x,y grid coordinate locations (000,000). Plug in the location coordinates as determined using the preview map, for each unit here.  

The digit following the coordinates is facing: 0=N, 1=NE, 2=E, 3=SE, 4=S, 5=SW, 6=W, 7=NW.

The IssueUnitOrder is: (id,order#,-1,x,y,order#); order#: 0=Move, 1=Move Fast, 2=Sneak/Hunt, 3=Fire, 4=Smoke, 5=Defend, 6=Ambush. 

eg. if a unit was coded to sneak to the center of a 256x512 map and assume a Defend stance it would look like:
IssueUnitOrder (id,2,-1,12800,25600,5);

To use a .bsf with a custom scenario file, add three lines after the Can Dig In line. The first two lines will contain 0. The third line points the scenario to the name given your new .bsf: SCRIPT [i].bsfname[/i]. NOTE: dont use the .bsf file extension here.
eg.
0
0
SCRIPT [i].bsfname[/i]

In the case of stock scenarios only the SCRIPT [i].bsfname[/i] line will need to be added. 

Play the scenario you are creating a .bsf file for and note on the Selection screen how many units of each type need to be specified. Delete any unused unit slots on the template being careful to maintain the bracket structure. When in doubt, use the Omahalanding.bsf as a reference. 

The .bsf file is placed in the \Close Combat - The Bloody First\Campaigns\MAIN\DATA\BATTLES\ folder. It doesnt have to have the same name as the battle(s) that point to it.

Custom deployments by .bsf dont prevent a player fro repositioning or giving different orders to units. .bsf 