Forum

Please or Register to create posts and topics.

Baldo's compass heading to .cin and .end heading conversion chart

YEARS! For years I have been wondering about what to do about .cin and .end file heading problems. Tonight, I was inspired and a solution occurred to me. I'll skip the details and explain this much:

Take a directional compass. Hold it at the 45° - 225° axis. Flip it over. That is the compass that DFBHD(TS) applies to camera heading entries in .cin and .end files.

I tried drawing this on scrap paper. I tried to work out a simple math formula. I tried to work out a complex math formula. I considered drawing a wheel with 360 compass heading points and the .cin/.end equivalents. Then I realized it doesn't have to be a circle. It can be a list!

From my notes:

22:24 23.07.2022
----------------
Compass heading to .cin/.end heading conversion chart!

000 = 090      060 = 030      120 = 330      180 = 270      240 = 210      300 = 150
001 = 089      061 = 029      121 = 329      181 = 269      241 = 209      301 = 149
002 = 088      062 = 028      122 = 328      182 = 268      242 = 208      302 = 148
003 = 087      063 = 027      123 = 327      183 = 267      243 = 207      303 = 147
004 = 086      064 = 026      124 = 326      184 = 266      244 = 206      304 = 146
005 = 085      065 = 025      125 = 325      185 = 265      245 = 205      305 = 145
006 = 084      066 = 024      126 = 324      186 = 264      246 = 204      306 = 144
007 = 083      067 = 023      127 = 323      187 = 263      247 = 203      307 = 143
008 = 082      068 = 022      128 = 322      188 = 262      248 = 202      308 = 142
009 = 081      069 = 021      129 = 321      189 = 261      249 = 201      309 = 141
010 = 080      070 = 020      130 = 320      190 = 260      250 = 200      310 = 140
011 = 079      071 = 019      131 = 319      191 = 259      251 = 199      311 = 139
012 = 078      072 = 018      132 = 318      192 = 258      252 = 198      312 = 138
013 = 077      073 = 017      133 = 317      193 = 257      253 = 197      313 = 137
014 = 076      074 = 016      134 = 316      194 = 256      254 = 196      314 = 136
015 = 075      075 = 015      135 = 315      195 = 255      255 = 195      315 = 135
016 = 074      076 = 014      136 = 314      196 = 254      256 = 194      316 = 134
017 = 073      077 = 013      137 = 313      197 = 253      257 = 193      317 = 133
018 = 072      078 = 012      138 = 312      198 = 252      258 = 192      318 = 132
019 = 071      079 = 011      139 = 311      199 = 251      259 = 191      319 = 131
020 = 070      080 = 010      140 = 310      200 = 250      260 = 190      320 = 130
021 = 069      081 = 009      141 = 309      201 = 249      261 = 189      321 = 129
022 = 068      082 = 008      142 = 308      202 = 248      262 = 188      322 = 128
023 = 067      083 = 007      143 = 307      203 = 247      263 = 187      323 = 127
024 = 066      084 = 006      144 = 306      204 = 246      264 = 186      324 = 126
025 = 065      085 = 005      145 = 305      205 = 245      265 = 185      325 = 125
026 = 064      086 = 004      146 = 304      206 = 244      266 = 184      326 = 124
027 = 063      087 = 003      147 = 303      207 = 243      267 = 183      327 = 123
028 = 062      088 = 002      148 = 302      208 = 242      268 = 182      328 = 122
029 = 061      089 = 001      149 = 301      209 = 241      269 = 181      329 = 121
030 = 060      090 = 000      150 = 300      210 = 240      270 = 180      330 = 120
031 = 059      091 = 359      151 = 299      211 = 239      271 = 179      331 = 119
032 = 058      092 = 358      152 = 298      212 = 238      272 = 178      332 = 118
033 = 057      093 = 357      153 = 297      213 = 237      273 = 177      333 = 117
034 = 056      094 = 356      154 = 296      214 = 236      274 = 176      334 = 116
035 = 055      095 = 355      155 = 295      215 = 235      275 = 175      335 = 115
036 = 054      096 = 354      156 = 294      216 = 234      276 = 174      336 = 114
037 = 053      097 = 353      157 = 293      217 = 233      277 = 173      337 = 113
038 = 052      098 = 352      158 = 292      218 = 232      278 = 172      338 = 112
039 = 051      099 = 351      159 = 291      219 = 231      279 = 171      339 = 111
040 = 050      100 = 350      160 = 290      220 = 230      280 = 170      340 = 110
041 = 049      101 = 349      161 = 289      221 = 229      281 = 169      341 = 109
042 = 048      102 = 348      162 = 288      222 = 228      282 = 168      342 = 108
043 = 047      103 = 347      163 = 287      223 = 227      283 = 167      343 = 107
044 = 046      104 = 346      164 = 286      224 = 226      284 = 166      344 = 106
045 = 045      105 = 345      165 = 285      225 = 225      285 = 165      345 = 105
046 = 044      106 = 344      166 = 284      226 = 224      286 = 164      346 = 104
047 = 043      107 = 343      167 = 283      227 = 223      287 = 163      347 = 103
048 = 042      108 = 342      168 = 282      228 = 222      288 = 162      348 = 102
049 = 041      109 = 341      169 = 281      229 = 221      289 = 161      349 = 101
050 = 040      110 = 340      170 = 280      230 = 220      290 = 160      350 = 100
051 = 039      111 = 339      171 = 279      231 = 229      291 = 159      351 = 099
052 = 038      112 = 338      172 = 278      232 = 218      292 = 158      352 = 098
053 = 037      113 = 337      173 = 277      233 = 217      293 = 157      353 = 097
054 = 036      114 = 336      174 = 276      234 = 216      294 = 156      354 = 096
055 = 035      115 = 335      175 = 275      235 = 215      295 = 155      355 = 095
056 = 034      116 = 334      176 = 274      236 = 214      296 = 154      356 = 094
057 = 033      117 = 333      177 = 273      237 = 213      297 = 153      357 = 093
058 = 032      118 = 332      178 = 272      238 = 212      298 = 152      358 = 092
059 = 031      119 = 331      179 = 271      239 = 211      299 = 151      359 = 091

There!

I've proofread the list several times, but if you find a mistake, tell me and I'll edit this post.

 

Edit: Alternatively, take the MEd heading you want the camera pointed to, then subtract 450. If the answer is not between 0 and -359, add 360. That'll be your .cin/.end camera heading with a minus sign in front of it.

I can't believe it took me this long and Devilsclaw's help to figure this out.

Quos deus vult perdere prius dementat

It has been a long time since I played with .cin and .end files. I still have a Team Sabre Single Player Map with Cinematic Start and End. 

ILLEGAL OPERATIONS – First Strike

 

I think to most people your are writing in a Northcalathumpian dialect.

Very impressive and a little bit scary how deep your dive into this stuff. Like your work Baldo.