Object Placer - Bridge placement

F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related

Moderators: Snake Man, Lone Wolf

Snake Man
Commander-In-Chief
Posts: 9957
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Object Placer - Bridge placement

Post by Snake Man »

Object Placer, bridge placement Object-BridgeScript.dat file.

Here is my object placer config files which are big mess, but these were the ones I used to place ODS and Vietnam bridges.

first I think is the ODS script:
code:

Code: Select all


; OPERATION DESERT STORM BRIDGE SCRIPT!
;
; jun 30th, 2002. ODS 128. 6385 first bridge, 5916 bridges placed  :)

;====================================================================================
;====================================================================================
;
;  This is the Bridge placement script file for the Object Placer program.
;
;============================================================  
;============================================================  
; Format:
;============================================================  
;  Bridge Tile ID and Orientation Info (Data Type = 1/0):
;============================================================  
;  Data    Tile    Random   Tiles  Road Enters   Exit1   Exit2   Exit3
;  Type     ID#     List   Spanned    From       Toward   ---     --- 
;  (1/0)  (Offset)    #               S,W        N,E,S,W  ---     ---
;
; - Tile ID# is the assigned tile offset number.
; - Random List# is the ID# (assigned in Data Type 2) this Tile will use to choose a
;    Bridge from.
; - Tiles Spanned is the number of Tile the Bridge spans (1 or 2).
; - Road Enters From S,W is as it says, from which direction does the road enter the Tile?  
; - Road Exits toward N,E,S,W is as it says, to which direction does the road exit the Tile?
;    For Tiles which have multiple roads leaving, use the Exit2 and Exit3 positions to show
;    these directions.  If only 1 or 2 roads exit, place a "-" in the unused column.
;    (The multiple exits are used by the road & river scanner).
; - NOTE: There is a Data Type 1 entry for each Bridge Tile.
; - NOTE: There is a Data Type 4 entry for each opposing Bridge Tile.
;
;============================================================  
;  Bridge OCD ID# and Placement Info:
;============================================================  
;   Data   OCD ID#    Random   Tiles    Position  Position  
;   Type               List   Spanned    Offset    Offset   
;   (2)	               ID#                 X         Y       
;
; = Tacedit's OCD ID# for this Bridge object. 
; - Random List ID# is the number of the Random Selection list this Bridge is a 
;    member of.  Use the number in the Data Type #1 to assign one of the Random
;    List's Bridge OCD ID# to that Tile.
; - Tiles Spanned is the number of tiles this Bridge spans (1 or 2).
; - Position Offset X is the Tile to place the Bridge on, relative the current
;    Tile positon (-1, 0 1). 
; - Position Offset Y is the Tile to place the Bridge on, relative the current
;    Tile positon (-1, 0 1).
; - NOTE:  There is a Data Type 2 entry for each Bridge OCD ID#.
;
;============================================================  
;  Non-Road Bridge Tiles Rejection Criteria (Data Type = 3):  
;============================================================  
;  Data    Number   Inclusive  Inclusive  Set 1   Set 1  ...    Set N   Set N
;  Type      of        Min        Max      Min     Max	  ...	   Min     Max
;  (3)      Sets
;
; - In order to decrease the computing time it takes to process 1+ million tiles, many
;    ID#'s of the tiles can be rejected by their Tile ID# not being in the range of 
;    Bridge Tile ID#'s. The more Data Type ranges you provide, the quicker the 
;    Bridge placement processing.
; - Number of Set is the number Exclusion Sets, NOT including the "Inclusive" set.
; - Inclusive Min & Max are the bounding values which will reject all Tile ID#'s not
;    within these values.  To determine the Tile ID# values to use, sort you list of 
;    Bridge Tile ID's, then take the smallest and largest numbers an put them in the
;    Inclusive Min and Inclusive Max position.
; - The Set# Min/Max values represent a continuous range of Tile ID#'s.  The number of
;    sets need is equal to the number of sets of Bridge Tile ID# that form a continue
;    set of numbers.  If a Tile ID# is isolated, theat will require a Min/Max set with
;    the same Tile ID# value (e.g., Min = 1329, Max = 1329).  If you find a few non-bridge
;    tiles within a range, leave them in, since they will drop out the bottom when the
;    is compared to the bridge tile ID#'s (in Data Type 1). 
;		
; - NOTE:  End the script with ***END***
; - NOTE:  All numbers are separated by commas.
; - NOTE:  Put a semi-colon in column 1 on Comments lines.
;====================================================================================
;====================================================================================
;  Last Modified: MAR 15, 2001
;
;============================================================  
;  Bridge Tile ID and Orientation Info (Data Type = 1):
;============================================================  
;  Data    Tile    Random   Tiles  Road Enters   Exit1   Exit2   Exit3
;  Type     ID#     List   Spanned    From       Toward   ---     --- 
;  (1/0)	 (Offset)    #                 S,W       N,E,S,W  ---     ---
;============================================================  

; these are the ODS settings, for ODS texture.bin
; desert plain
1,   224,  1, 1, S, N, -, -
1,   225,  2, 1, W, E, -, -
; mountain light brown
1,   372,  1, 1, S, N, -, -
1,   373,  2, 1, W, E, -, -
; mountain dark brown
1,   272,  1, 1, W, E, -, -
1,   273,  2, 1, S, N, -, -

;=====> DataType=0 used to check for tile on other side of bridge
0,   21, 1, 2, E, W, -, -
0,   22, 1, 2, N, S, -, -
;
;============================================================  
;  Bridge OCD ID# and Placement Info:
;============================================================  
; Data   OCD ID#    Random   Tiles    Position  Position  
; Type               List   Spanned    Offset    Offset   
; (2)                ID#                 X         Y       
;============================================================  
2, 1074,  1, 1, 0, 0
2, 2001,  1, 1, 0, 0
2, 2002,  1, 1, 0, 0
2, 2003,  1, 1, 0, 0
2, 1075,  2, 1, 0, 0
2, 2004,  2, 1, 0, 0
2, 2005,  2, 1, 0, 0
2, 2006,  2, 1, 0, 0
2, 1983,  3, 1, 0, 0
2, 1985,  3, 1, 0, 0
2, 1977,  4, 1, 0, 0
2, 1986,  4, 1, 0, 0
2, 1987,  4, 1, 0, 0
2, 1988,  4, 1, 0, 0 
2, 1071,  5, 1, 0, 0
2, 1989,  5, 1, 0, 0
2, 1990,  5, 1, 0, 0
2, 1991,  5, 1, 0, 0
2, 1073,  6, 1, 0, 0
2, 1992,  6, 1, 0, 0
2, 1993,  6, 1, 0, 0
2, 1994,  6, 1, 0, 0
2, 2008,  7, 1, 0, 0
2, 2007,  8, 1, 0, 0
2, 1054,  9, 1, 0, 0
2, 1996,  9, 1, 0, 0
2, 1997,  9, 1, 0, 0
2, 1055, 10, 1, 0, 0
2, 1998, 10, 1, 0, 0
2, 1999, 10, 1, 0, 0
2, 2000, 10, 1, 0, 0
2, 1136, 11, 2, 0, 0
2, 1145, 11, 2, 0, 0
2, 1146, 11, 2, 0, 0
2,  223, 11, 2, 0, 0
2, 1009, 11, 2, 0, 0
2,  229, 11, 2, 0, 0
2, 1008, 11, 2, 0, 0
2, 1139, 11, 2, 0, 1
2, 1197, 11, 2, 0, 1
2, 1198, 11, 2, 0, 1
2, 1214, 11, 2, 0, 1
2, 1215, 11, 2, 0, 1
2, 1216, 11, 2, 0, 1
2, 1137, 12, 2, 1, 0
2, 1121, 12, 2, 1, 0
2, 1127, 12, 2, 1, 0
2, 1128, 12, 2, 1, 0
2, 1129, 12, 2, 1, 0
2,  862, 12, 2, 1, 0
2, 1205, 12, 2, 1, 0
2, 1138, 12, 2, 0, 0
2, 1247, 12, 2, 0, 0
2, 1192, 12, 2, 0, 0
2, 1195, 12, 2, 0, 0
2, 1194, 12, 2, 0, 0
2, 1244, 13, 2, 0, 0
2, 1217, 13, 2, 0, 0
2, 1218, 13, 2, 0, 0
2, 1219, 13, 2, 0, 0
2, 1220, 13, 2, 0, 0
2, 1222, 13, 2, 0, 0
2, 1186, 13, 2, 0, 1
2, 1223, 13, 2, 0, 1
2, 1224, 13, 2, 0, 1
2, 1225, 13, 2, 0, 1
2, 1226, 13, 2, 0, 1
2, 1228, 13, 2, 0, 1
2, 1185, 14, 2, 0, 0 
2, 1248, 14, 2, 0, 0 
2, 1250, 14, 2, 0, 0 
2, 1249, 14, 2, 0, 0 
2, 1251, 14, 2, 0, 0 
2, 1252, 14, 2, 0, 0 
2, 1253, 14, 2, 0, 0 
2, 1245, 14, 2, 1, 0 
2, 1229, 14, 2, 1, 0 
2, 1230, 14, 2, 1, 0 
2, 1231, 14, 2, 1, 0 
2, 1232, 14, 2, 1, 0 
2, 1233, 14, 2, 1, 0
2, 1234, 14, 2, 1, 0
2, 1060, 15, 2, 0, 0 
2, 1278, 15, 2, 0, 0 
2, 1279, 15, 2, 0, 0 
2, 1280, 15, 2, 0, 0 
2, 1281, 15, 2, 0, 0 
2, 1173, 15, 2, 0, 1 
2, 1292, 15, 2, 0, 1 
2, 1293, 15, 2, 0, 1 
2, 1294, 15, 2, 0, 1 
2, 1295, 15, 2, 0, 1 
2, 1172, 16, 2, 0, 0  
2, 1287, 16, 2, 0, 0  
2, 1288, 16, 2, 0, 0 
2, 1289, 16, 2, 0, 0 
2, 1290, 16, 2, 0, 0 
2, 1291, 16, 2, 0, 0 
2, 1171, 16, 2, 1, 0 
2, 1282, 16, 2, 1, 0 
2, 1283, 16, 2, 1, 0 
2, 1284, 16, 2, 1, 0 
2, 1285, 16, 2, 1, 0 
2, 1978, 17, 2, 0, 0 
2, 1979, 18, 2, 0, 0
;
; 
;============================================================  
;  Non-Road Bridge Tiles Rejection Criteria (Data Type = 3):  
;============================================================  
;  Data   Number  Inclusive  Inclusive  Set 1  Set 1  ...  Set N	 Set N
;  Type     of        Min        Max     Min    Max	 ...   Min    Max
;  (3)     Sets
;============================================================  
;3, 5, 20, 1729, 192, 194, 864, 865, 1212, 1217, 1098, 1099, 1728, 1729
3, 1, 16, 435, 16, 435
;
;
***END***
Then is the Vietnam script, it makes me confused little boy as the header is exactly same as in ODS one, but this should be the one which I used to create Vietnan 128 theater bridge objectives:
code:

Code: Select all


; OPERATION DESERT STORM BRIDGE SCRIPT!
;
; jun 30th, 2002. ODS 128. 6385 first bridge, 5916 bridges placed  :)

;============================================================  
;  Bridge Tile ID and Orientation Info (Data Type = 1):
;============================================================  
;  Data    Tile    Random   Tiles  Road Enters   Exit1   Exit2   Exit3
;  Type     ID#     List   Spanned    From       Toward   ---     --- 
;  (1/0)	 (Offset)    #                 S,W       N,E,S,W  ---     ---
;============================================================  

; these are the ODS settings, for ODS texture.bin
; desert plain
1,   256,  1, 1, S, N, -, -
1,   257,  2, 1, W, E, -, -
; mountain light brown
1,   208,  1, 1, S, N, -, -
1,   209,  2, 1, W, E, -, -

;=====> DataType=0 used to check for tile on other side of bridge
0,   21, 1, 2, E, W, -, -
0,   22, 1, 2, N, S, -, -
;
;============================================================  
;  Bridge OCD ID# and Placement Info:
;============================================================  
; Data   OCD ID#    Random   Tiles    Position  Position  
; Type               List   Spanned    Offset    Offset   
; (2)                ID#                 X         Y       
;============================================================  
2, 1074,  1, 1, 0, 0
2, 2001,  1, 1, 0, 0
2, 2002,  1, 1, 0, 0
2, 2003,  1, 1, 0, 0
2, 1075,  2, 1, 0, 0
2, 2004,  2, 1, 0, 0
2, 2005,  2, 1, 0, 0
2, 2006,  2, 1, 0, 0
2, 1983,  3, 1, 0, 0
2, 1985,  3, 1, 0, 0
2, 1977,  4, 1, 0, 0
2, 1986,  4, 1, 0, 0
2, 1987,  4, 1, 0, 0
2, 1988,  4, 1, 0, 0 
2, 1071,  5, 1, 0, 0
2, 1989,  5, 1, 0, 0
2, 1990,  5, 1, 0, 0
2, 1991,  5, 1, 0, 0
2, 1073,  6, 1, 0, 0
2, 1992,  6, 1, 0, 0
2, 1993,  6, 1, 0, 0
2, 1994,  6, 1, 0, 0
2, 2008,  7, 1, 0, 0
2, 2007,  8, 1, 0, 0
2, 1054,  9, 1, 0, 0
2, 1996,  9, 1, 0, 0
2, 1997,  9, 1, 0, 0
2, 1055, 10, 1, 0, 0
2, 1998, 10, 1, 0, 0
2, 1999, 10, 1, 0, 0
2, 2000, 10, 1, 0, 0
2, 1136, 11, 2, 0, 0
2, 1145, 11, 2, 0, 0
2, 1146, 11, 2, 0, 0
2,  223, 11, 2, 0, 0
2, 1009, 11, 2, 0, 0
2,  229, 11, 2, 0, 0
2, 1008, 11, 2, 0, 0
2, 1139, 11, 2, 0, 1
2, 1197, 11, 2, 0, 1
2, 1198, 11, 2, 0, 1
2, 1214, 11, 2, 0, 1
2, 1215, 11, 2, 0, 1
2, 1216, 11, 2, 0, 1
2, 1137, 12, 2, 1, 0
2, 1121, 12, 2, 1, 0
2, 1127, 12, 2, 1, 0
2, 1128, 12, 2, 1, 0
2, 1129, 12, 2, 1, 0
2,  862, 12, 2, 1, 0
2, 1205, 12, 2, 1, 0
2, 1138, 12, 2, 0, 0
2, 1247, 12, 2, 0, 0
2, 1192, 12, 2, 0, 0
2, 1195, 12, 2, 0, 0
2, 1194, 12, 2, 0, 0
2, 1244, 13, 2, 0, 0
2, 1217, 13, 2, 0, 0
2, 1218, 13, 2, 0, 0
2, 1219, 13, 2, 0, 0
2, 1220, 13, 2, 0, 0
2, 1222, 13, 2, 0, 0
2, 1186, 13, 2, 0, 1
2, 1223, 13, 2, 0, 1
2, 1224, 13, 2, 0, 1
2, 1225, 13, 2, 0, 1
2, 1226, 13, 2, 0, 1
2, 1228, 13, 2, 0, 1
2, 1185, 14, 2, 0, 0 
2, 1248, 14, 2, 0, 0 
2, 1250, 14, 2, 0, 0 
2, 1249, 14, 2, 0, 0 
2, 1251, 14, 2, 0, 0 
2, 1252, 14, 2, 0, 0 
2, 1253, 14, 2, 0, 0 
2, 1245, 14, 2, 1, 0 
2, 1229, 14, 2, 1, 0 
2, 1230, 14, 2, 1, 0 
2, 1231, 14, 2, 1, 0 
2, 1232, 14, 2, 1, 0 
2, 1233, 14, 2, 1, 0
2, 1234, 14, 2, 1, 0
2, 1060, 15, 2, 0, 0 
2, 1278, 15, 2, 0, 0 
2, 1279, 15, 2, 0, 0 
2, 1280, 15, 2, 0, 0 
2, 1281, 15, 2, 0, 0 
2, 1173, 15, 2, 0, 1 
2, 1292, 15, 2, 0, 1 
2, 1293, 15, 2, 0, 1 
2, 1294, 15, 2, 0, 1 
2, 1295, 15, 2, 0, 1 
2, 1172, 16, 2, 0, 0  
2, 1287, 16, 2, 0, 0  
2, 1288, 16, 2, 0, 0 
2, 1289, 16, 2, 0, 0 
2, 1290, 16, 2, 0, 0 
2, 1291, 16, 2, 0, 0 
2, 1171, 16, 2, 1, 0 
2, 1282, 16, 2, 1, 0 
2, 1283, 16, 2, 1, 0 
2, 1284, 16, 2, 1, 0 
2, 1285, 16, 2, 1, 0 
2, 1978, 17, 2, 0, 0 
2, 1979, 18, 2, 0, 0
;
; 
;============================================================  
;  Non-Road Bridge Tiles Rejection Criteria (Data Type = 3):  
;============================================================  
;  Data   Number  Inclusive  Inclusive  Set 1  Set 1  ...  Set N	 Set N
;  Type     of        Min        Max     Min    Max	 ...   Min    Max
;  (3)     Sets
;============================================================  
;3, 5, 20, 1729, 192, 194, 864, 865, 1212, 1217, 1098, 1099, 1728, 1729
3, 1, 207, 300, 207, 300
;
;
***END***
There. I must admit that for first time configurer guy these scripts tend to be bit difficult to understand. Hope this helps.

PMC TFW
Snake Man

Return to “Theater Tools”