Crossroads -> Development Thread #07 - Platoon##.OOB files explained (9/29/2015 6:07:52 AM)
|
Development Thread #07 - Platoon##.oob files explained There's already a lot of questions regarding the platoon data, so better get this one started too. As always, any questions just ask! Why is this important? The game ships with a NoEncryption option (-X launch command for me.exe), so it is perfectly possible to modify the values and then enjoy the game play (vs. AI only). Related reading: A Dev Diary written for JTCS2.0 on adding units with -X option is available HERE Note: Unit Viewer reads the unencrypted OOB files from /OOBs folder, and not the encrypted OBX files. It is your best friend when modifying platoon data. Note: Use JSGME! The game is very delicate to erroneous data. You have been warned. So here goes. First, a set of Egyptian units as they appear in the Unit Viewer, with SA-6 SAM selected: [image]http://www.matrixgames.com/forums/upfiles/32195/52940D75892D48189729A8F83F92E47A.jpg[/image] Here's the snippet of Platoon23.oob file as visible in the Unit Viewer listbox, with the SA-6 SAM selected in bold font: P238037 2 4 2 33 0 0 75 22 4 2 3 3 14 18 0 1 11 96 P238036 4 48 0 8195 72 24 48 1 56 12 0 0 0 Truck w/20mm AA Gun , Truck SPAAG Gun , 20mm SPAA Gun P238001 4 4 2 33 0 0 80 45 5 2 3 3 18 19 0 1 284 97 P238001 4 48 0 8195 72 24 52 1 85 12 2 1 1 BTR 40A w/14.5mm AAMG , BTR-40A SPAAMG , 14.5mm SPAAMG P238002 2 4 2 33 0 0 80 45 5 2 3 3 18 19 0 1 284 97 P238001 4 48 0 8195 72 24 52 1 85 12 2 1 1 BTR 40A w/14.5mm AAMG , BTR-40A SPAAMG , 14.5mm SPAAMG P238003 4 4 2 33 0 0 75 22 4 2 3 3 18 18 0 1 11 185 P238003 4 48 0 8195 72 24 61 1 85 12 0 0 0 GAZ-66 w/ZU-23-2 23mm AA Gun , GAZ-66 SPAA Gun , 23mm SPAA Gun P238004 2 4 2 33 0 0 75 22 4 2 3 3 18 18 0 1 11 185 P238003 4 48 0 8195 72 24 61 1 85 12 0 0 0 GAZ-66 w/ZU-23-2 23mm AA Gun , GAZ-66 SPAA Gun , 23mm SPAA Gun P238005 4 3 3 33 0 0 50 30 18 1 4 1 32 20 0 0 13 9 P238005 5 33 0 8195 8 24 71 1 85 12 3 1 1 ZSU-23-4 23mm SPAA Gun , ZSU-23-4 , Shilka P238006 2 3 3 33 0 0 50 30 18 1 4 1 32 20 0 0 13 9 P238005 5 33 0 8195 8 24 71 1 85 12 3 1 1 ZSU-23-4 23mm SPAA Gun , ZSU-23-4 , Shilka P238007 4 3 2 35 0 0 50 30 28 1 4 1 15 20 0 1 13 8 P238007 5 33 0 8195 8 24 61 1 85 12 3 2 2 ZSU-57-2 57mm SPAA Gun , ZSU-57-2 , P238008 5 3 2 35 0 0 50 30 28 1 4 1 15 20 0 1 13 8 P238007 5 33 0 8195 8 24 61 1 85 12 3 2 2 ZSU-57-2 57mm SPAA Gun , ZSU-57-2 , P238009 4 0 3 100 0 0 44 22 14 1 4 1 31 21 0 0 329 36 P238009 4 33 16 8323 0 1048592 71 1 85 12 3 1 1 SA-6 Gainful SAM , SA-6 , P238010 2 0 3 100 0 0 44 22 14 1 4 1 31 21 0 0 329 36 P238009 4 33 16 8323 0 1048592 71 1 85 12 3 1 1 SA-6 Gainful SAM , SA-6 , P236001 3 2 2 40 0 0 80 37 6 3 3 3 29 6 0 0 53 98 P236001 2 40 0 3 88 4194825 48 1 65 12 2 1 1 Marmon-Herrington Mk III Armoured Car , Marmon-Herrington , P236002 3 2 2 40 0 0 73 37 6 3 3 3 29 6 0 0 171 99 P236002 3 40 0 3 88 4194825 48 1 65 12 2 1 1 Marmon-Herrington Mk IV Armoured Car , Marmon-Herrington , P236003 2 3 2 40 0 0 72 24 7 2 3 3 29 6 0 1 171 100 P236003 4 40 0 1 88 2097167 48 1 65 12 2 1 1 Humber IV Armoured Car , Humber IV , P236004 2 3 4 35 0 0 88 56 14 2 4 3 29 6 0 1 278 101 P236004 4 40 0 3 88 4194825 48 1 65 12 5 3 2 Staghound I Armoured Car , Staghound I , P236005 6 2 2 40 0 0 80 50 6 3 3 3 4 6 0 0 335 16 P236005 3 168 0 3 88 4194825 61 1 85 12 3 1 1 BRDM-1 , BRDM-1 , P236006 4 2 2 40 0 0 80 50 6 3 3 3 4 6 0 0 335 16 P236005 3 168 0 3 88 4194825 61 1 85 12 3 1 1 BRDM-1 , BRDM-1 , Parameters Available #1 : platoon id <- Platoon ID: P + Nation ID + four digit identifier #2 : strength <- Strength, typically from 1 to 6, no of vehicles or guns, or for infantry 1 SP = half-a-squad #3 : assault <- Assault factor #4 : defend <- Defence factor #5 : firingcost <- Firing cost in action points, of 100 available in the beginning of turn #6 : loadingcost <- Loading cost in action points #7 : unloadingcost <- Unloading cost in action points #8 : speed <- Road / max. speed #9 : xcspeed <- Cross-country speed #10 : weight <- Weight in tons #11 : pressure <- Ground pressure #12 : concealment <- Concealment factor #13 : movesound <- Pointer to movement OGG file when sounds enabled #14 : firesound <- Pointer to weapon + explosion sounds #15 : countercell2d <- Pointer to 2D counter used for this particular unit #16 : basecell3d <- Pointer to 3D unit base used for this particular unit #17 : animate <- Animation available #18 : type1d <- Pointer to NATO icon (generic sheet for all nations) #19 : type2d <- Pointer to 2D unit icon (nation specific sheet) #20 : bitmap3d <- Pointer to 3D sheet containing the six facings #21 : points <- Victory Points available per each Strength point #22 : moveflags <- Flag indicating movement capabilities of the particular unit type #23 : carryflags <- Flag indicating carrying capabilities #24 : fireflags <- Flag indicating targeting capabilities #25 : otherflags <- Flag (tbc) #26 : moreflags <- Flag (tbc) #27 : startyear <- First year unit available #28 : startmonth <- Month per above #29 : stopyear <- Last year unit available #30 : stopmonth <- Month per above #31 : frontmod <- AFV front armor, when Armored Facing option = ON #32 : sidemod <- AFV side armor #33 : rearmod <- AFV rear armor #34 : name <- Long unit name #35 : short <- Short unit name #36 : nick <- Nick name, often not used
|
|
|
|