Advertisement
Guest User

Untitled

a guest
Feb 9th, 2010
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.40 KB | None | 0 0
  1. // Automatically generated by GRFCODEC. Do not modify!
  2. // (Info version 7)
  3. // Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
  4. -1 * 0 \d117
  5.  
  6. -1 * 0 08 07 FB FB 02 02 "TransRapid Track Set 2 r0 (testing)" 00 "2007-2009 | Drawn and coded by FooBar (Jasper Vries)\nLicense: GNU GPL v2.0\n\nStation floor textures by Zephyris (Richard Wheeler). \"Transrapid\" is a trademark of Transrapid International GmbH & Co. KG." 00
  7.  
  8. //CHECK GAME VERSION
  9.  
  10. //Check for OpenTTD
  11. -1 * 0 09 //action 9
  12. 9D //platform
  13. 01 //read single byte
  14. \7= //condition: equal
  15. 01 //value to test (OpenTTD)
  16. 01 //sprites to skip
  17.  
  18. //Disable if TTDPatch
  19. -1 * 0 0B // action B
  20. 03 // fatal
  21. 7F //language
  22. 02 //message
  23. "OpenTTD" 00 //string
  24.  
  25. //Check OTTD version
  26. -1 * 0 09 //action 9
  27. A1 //OpenTTD version
  28. 04 //read single dword
  29. \7= //condition: equal
  30. FF FF FF FF //value to test (old version of OpenTTD)
  31. 01 //sprites to skip
  32.  
  33. //Check OTTD version
  34. -1 * 0 09 //action 9
  35. A1 //OpenTTD version
  36. 04 //read single dword
  37. \7> //condition: greater than
  38. 74 4A 00 10 //value to test (r19060 = 4A74 => 10 00 4A 74)
  39. 01 //sprites to skip
  40.  
  41. //Disable if old OTTD version
  42. -1 * 0 0B // action B
  43. 03 // fatal
  44. 7F //language
  45. 06 //message
  46. "1.0.0 | nightly r19061" 00 //string
  47.  
  48.  
  49. //TRANSLATION TABLE
  50.  
  51. // assign parameter value for parameter 1 if not set.
  52. -1 * 0 0D 00 80 FF 00 00 00 00 00
  53.  
  54. //Railtype translation table
  55. -1 * 0 00 //action 0
  56. 08 //feature: global variables
  57. 01 // num-props
  58. 04 // num-info
  59. 00 //ID
  60. 12 //property 12
  61. "RAIL" "ELRL" "MONO" "MGLV"
  62.  
  63.  
  64. //TEXTS
  65.  
  66. //Define texts
  67. -1 * 0 04 //action 4
  68. 10 //feature: rail types
  69. FF //language: any
  70. 01 //num-ent
  71. 01 DC //ID
  72. "\94TransRapid Track Construction" 00
  73.  
  74. -1 * 0 04 //action 4
  75. 10 //feature: rail types
  76. FF //language: any
  77. 01 //num-ent
  78. 02 DC //ID
  79. "TransRapid Track construction" 00
  80.  
  81. -1 * 0 04 //action 4
  82. 10 //feature: rail types
  83. FF //language: any
  84. 01 //num-ent
  85. 03 DC //ID
  86. "\94New TransRapid Vehicles" 00
  87.  
  88. -1 * 0 04 //action 4
  89. 10 //feature: rail types
  90. FF //language: any
  91. 01 //num-ent
  92. 04 DC //ID
  93. "TransRapid Vehicles" 00
  94.  
  95. -1 * 0 04 //action 4
  96. 10 //feature: rail types
  97. FF //language: any
  98. 01 //num-ent
  99. 05 DC //ID
  100. "TransRapid" 00
  101.  
  102. //CHANGE TRACK PROPERTIES
  103.  
  104. //Add TRPD Track Type
  105. -1 * 0 00 //action 0
  106. 10 //feature: rail types
  107. \b13 //num-props
  108. 01 //num-info
  109. 03 //ID
  110. 08 "MGLV" //rail type label
  111. 09 01 DC //name of railtype
  112. 0A 02 DC //menu text
  113. 0B 03 DC //build window caption
  114. 0C 04 DC //autoreplace text
  115. 0D 05 DC //new engines
  116. 0E 01 "MGLV" //compatible railtype list (MGLV)
  117. 0F 01 "MGLV" //powered railtype list (MGLV)
  118. 10 00 //rail type flags
  119. //11 XX //curve speed advantage
  120. 12 02 //station graphics (maglev)
  121. 13 \b32 //construction cost (twice electrified rail)
  122. 14 \w600 //speed limit (approx km/h)
  123. 15 02 //acceleration model (maglev)
  124.  
  125. //Change MONO/MGLV to allow trains on TRPD
  126. -1 * 0 0C //action 0
  127. 10 //feature: rail types
  128. \b3 //num-props
  129. 01 //num-info
  130. 02 //ID (monorail)
  131. 08 "MONO" //rail type label
  132. 0E 02 "TRPD" "MGLV" //compatible railtype list (TRPD)
  133. 0F 02 "TRPD" "MGLV" //powered railtype list (TRPD)
  134. -1 * 0 0C //action 0
  135. 10 //feature: rail types
  136. \b3 //num-props
  137. 01 //num-info
  138. 03 //ID (maglev)
  139. 08 "MGLV" //rail type label
  140. 0E 02 "TRPD" "MONO" //compatible railtype list (TRPD)
  141. 0F 02 "TRPD" "MONO" //powered railtype list (TRPD)
  142.  
  143. //Allow default maglev vehicle on TRPD
  144. -1 * 0 0C //action 0
  145. 00 //feature: trains
  146. 01 //num-props
  147. 01 //num-info: change 1 vehicle
  148. 54 //ID (lev1)
  149. 05 04 //track type (TRPD)
  150.  
  151.  
  152. //ADD GRAPHICS
  153.  
  154. //GUI Icons and cursors (in that order)
  155. -1 * 0 01 //action 1
  156. 10 //feature: rail types
  157. 01 //num-sets
  158. \b16 //num-sprites
  159. //track buttons | / - \
  160. -1 sprites/traratrk.pcx 322 509 09 20 20 0 0
  161. -1 sprites/traratrk.pcx 402 509 09 20 20 0 0
  162. -1 sprites/traratrk.pcx 562 509 09 20 20 0 0
  163. -1 sprites/traratrk.pcx 482 509 09 20 20 0 0
  164. //autorail button x
  165. -1 sprites/traratrk.pcx 2 559 09 20 20 0 0
  166. //depot button
  167. -1 sprites/traratrk.pcx 322 559 01 20 20 0 0
  168. //tunnel button
  169. -1 sprites/traratrk.pcx 482 559 09 19 20 0 1
  170. //convert button
  171. -1 sprites/traratrk.pcx 162 559 01 20 20 0 0
  172. //track cursors | / - \
  173. -1 sprites/traratrk.pcx 2 509 03 30 38 -3 -14
  174. -1 sprites/traratrk.pcx 82 509 03 44 72 -16 -8
  175. -1 sprites/traratrk.pcx 162 509 03 34 44 -21 -2
  176. -1 sprites/traratrk.pcx 242 509 03 44 72 -16 -35
  177. //autorail cursor x
  178. -1 sprites/traratrk.pcx 82 559 03 36 56 0 0
  179. //depot cursor
  180. -1 sprites/traratrk.pcx 402 559 01 32 32 0 0
  181. //tunnel cursor
  182. -1 sprites/traratrk.pcx 562 559 03 32 32 0 0
  183. //convert cursor
  184. -1 sprites/traratrk.pcx 242 559 01 32 32 0 0
  185.  
  186. -1 * 0 02 //action 2
  187. 10 //feature: rail types
  188. A0 //set id
  189. 01 //num-ent1
  190. 00 //num-ent2
  191. 00 00 //entry number
  192.  
  193. -1 * 0 03 //action 3
  194. 10 //feature: rail types
  195. 01 //n-id
  196. 03 //ID
  197. 01 //num-cid
  198. 00 //cargo type: Cursors and icons
  199. A0 00 //cid
  200. A0 00 //def-cid
  201.  
  202.  
  203. //Track overlays for junctions and PBS
  204. -1 * 0 01 //action 1
  205. 10 //feature: rail types
  206. 01 //num-sets
  207. \b10 //num-sprites
  208. //flat
  209. -1 sprites/traratrk.pcx 2 10 09 21 40 -19 5
  210. -1 sprites/traratrk.pcx 82 10 09 21 40 -19 5
  211. -1 sprites/traratrk.pcx 162 10 01 7 40 -19 4
  212. -1 sprites/traratrk.pcx 242 10 01 7 40 -19 20
  213. -1 sprites/traratrk.pcx 322 10 01 19 12 11 6
  214. -1 sprites/traratrk.pcx 402 10 01 19 12 -21 6
  215. //slopes
  216. -1 sprites/traratrk.pcx 482 10 09 39 64 -31 -8
  217. -1 sprites/traratrk.pcx 562 10 09 23 64 -31 0
  218. -1 sprites/traratrk.pcx 642 10 09 23 64 -31 0
  219. -1 sprites/traratrk.pcx 722 10 09 39 64 -31 -8
  220.  
  221. -1 * 0 02 //action 2
  222. 10 //feature: rail types
  223. A1 //set id
  224. 01 //num-ent1
  225. 00 //num-ent2
  226. 00 00 //entry number
  227.  
  228. -1 * 0 03 //action 3
  229. 10 //feature: rail types
  230. 01 //n-id
  231. 03 //ID
  232. 01 //num-cid
  233. 01 //cargo type: Track overlays for junctions and PBS
  234. A1 00 //cid
  235. A1 00 //def-cid
  236.  
  237.  
  238. //Underlay
  239. -1 * 0 01 //action 1
  240. 10 //feature: rail types
  241. 01 //num-sets
  242. \b16 //num-sprites
  243. // straight prieces
  244. -1 sprites/traratrk.pcx 2 41 09 31 64 -31 0
  245. -1 sprites/traratrk.pcx 82 41 09 31 64 -31 0
  246. -1 sprites/traratrk.pcx 162 41 09 31 64 -31 0
  247. -1 sprites/traratrk.pcx 242 41 09 31 64 -31 0
  248. -1 sprites/traratrk.pcx 322 41 09 31 64 -31 0
  249. -1 sprites/traratrk.pcx 402 41 09 31 64 -31 0
  250. //slopes
  251. -1 sprites/traratrk.pcx 2 172 09 39 64 -31 -8
  252. -1 sprites/traratrk.pcx 82 172 09 23 64 -31 0
  253. -1 sprites/traratrk.pcx 162 172 09 23 64 -31 0
  254. -1 sprites/traratrk.pcx 242 172 09 39 64 -31 -8
  255. //intersection
  256. -1 sprites/traratrk.pcx 2 82 09 31 64 -31 0
  257. // junctions
  258. -1 sprites/traratrk.pcx 82 82 09 31 64 -31 0
  259. -1 sprites/traratrk.pcx 162 82 09 31 64 -31 0
  260. -1 sprites/traratrk.pcx 242 82 09 31 64 -31 0
  261. -1 sprites/traratrk.pcx 322 82 09 31 64 -31 0
  262. -1 sprites/traratrk.pcx 402 82 09 31 64 -31 0
  263.  
  264. -1 * 0 02 //action 2
  265. 10 //feature: rail types
  266. A2 //set id
  267. 01 //num-ent1
  268. 00 //num-ent2
  269. 00 00 //entry number
  270.  
  271. -1 * 0 03 //action 3
  272. 10 //feature: rail types
  273. 01 //n-id
  274. 03 //ID
  275. 01 //num-cid
  276. 02 //cargo type: Underlay
  277. A2 00 //cid
  278. A2 00 //def-cid
  279.  
  280.  
  281. //Tunnel
  282. -1 * 0 01 //action 1
  283. 10 //feature: rail types
  284. 01 //num-sets
  285. \b4 //num-sprites
  286. //tunnel overlays
  287. -1 sprites/traratrk.pcx 2 261 09 39 64 -31 -8
  288. -1 sprites/traratrk.pcx 162 261 09 23 64 -31 0
  289. -1 sprites/traratrk.pcx 322 261 09 23 64 -31 0
  290. -1 sprites/traratrk.pcx 482 261 09 39 64 -31 -8
  291.  
  292. -1 * 0 02 //action 2
  293. 10 //feature: rail types
  294. A3 //set id
  295. 01 //num-ent1
  296. 00 //num-ent2
  297. 00 00 //entry number
  298.  
  299. -1 * 0 03 //action 3
  300. 10 //feature: rail types
  301. 01 //n-id
  302. 03 //ID
  303. 01 //num-cid
  304. 03 //cargo type: Tunnel
  305. A3 00 //cid
  306. A3 00 //def-cid
  307.  
  308.  
  309. //Bridge surfaces
  310. -1 * 0 01 //action 1
  311. 10 //feature: rail types
  312. 01 //num-sets
  313. \b6 //num-sprites
  314. //straight / \
  315. -1 sprites/traratrk.pcx 2 10 09 21 40 -19 5
  316. -1 sprites/traratrk.pcx 82 10 09 21 40 -19 5
  317. //slopes
  318. -1 sprites/traratrk.pcx 482 10 09 39 64 -31 -8
  319. -1 sprites/traratrk.pcx 562 10 09 23 64 -31 0
  320. -1 sprites/traratrk.pcx 642 10 09 23 64 -31 0
  321. -1 sprites/traratrk.pcx 722 10 09 39 64 -31 -8
  322.  
  323. -1 * 0 02 //action 2
  324. 10 //feature: rail types
  325. A6 //set id
  326. 01 //num-ent1
  327. 00 //num-ent2
  328. 00 00 //entry number
  329.  
  330. -1 * 0 03 //action 3
  331. 10 //feature: rail types
  332. 01 //n-id
  333. 03 //ID
  334. 01 //num-cid
  335. 06 //cargo type: Bridge surfaces
  336. A6 00 //cid
  337. A6 00 //def-cid
  338.  
  339.  
  340. //Level crossing overlay
  341. -1 * 0 01 //action 1
  342. 10 //feature: rail types
  343. 01 //num-sets
  344. \b10 //num-sprites
  345. //straight \ /, slopes
  346. -1 sprites/traratrk.pcx 2 220 09 31 64 -31 0
  347. -1 sprites/traratrk.pcx 82 220 09 31 64 -31 0
  348. -1 sprites/traratrk.pcx 162 220 09 31 64 -31 0
  349. -1 sprites/traratrk.pcx 242 220 09 31 64 -31 0
  350. -1 sprites/traratrk.pcx 162 220 09 31 64 -31 0
  351. -1 sprites/traratrk.pcx 242 220 09 31 64 -31 0
  352. -1 sprites/traratrk.pcx 162 220 09 31 64 -31 0
  353. -1 sprites/traratrk.pcx 242 220 09 31 64 -31 0
  354. -1 sprites/traratrk.pcx 162 220 09 31 64 -31 0
  355. -1 sprites/traratrk.pcx 242 220 09 31 64 -31 0
  356.  
  357. -1 * 0 02 //action 2
  358. 10 //feature: rail types
  359. A7 //set id
  360. 01 //num-ent1
  361. 00 //num-ent2
  362. 00 00 //entry number
  363.  
  364. -1 * 0 03 //action 3
  365. 10 //feature: rail types
  366. 01 //n-id
  367. 03 //ID
  368. 01 //num-cid
  369. 07 //cargo type: Bridge surfaces
  370. A7 00 //cid
  371. A7 00 //def-cid
  372.  
  373.  
  374. //Depots
  375. -1 * 0 01 //action 1
  376. 10 //feature: rail types
  377. 01 //num-sets
  378. \b6 //num-sprites
  379. //depots
  380. -1 sprites/traratrk.pcx 82 314 09 39 32 1 -12
  381. -1 sprites/traratrk.pcx 2 314 09 55 64 -9 -39
  382. -1 sprites/traratrk.pcx 242 314 09 39 32 -31 -12
  383. -1 sprites/traratrk.pcx 162 314 09 55 64 -53 -39
  384. -1 sprites/traratrk.pcx 322 314 09 55 64 -53 -39
  385. -1 sprites/traratrk.pcx 402 314 09 55 64 -9 -39
  386.  
  387. -1 * 0 02 //action 2
  388. 10 //feature: rail types
  389. A8 //set id
  390. 01 //num-ent1
  391. 00 //num-ent2
  392. 00 00 //entry number
  393.  
  394. -1 * 0 03 //action 3
  395. 10 //feature: rail types
  396. 01 //n-id
  397. 03 //ID
  398. 01 //num-cid
  399. 08 //cargo type: Depots
  400. A8 00 //cid
  401. A8 00 //def-cid
  402.  
  403.  
  404. //Fences
  405. -1 * 0 01 //action 1
  406. 10 //feature: rail types
  407. 01 //num-sets
  408. \b8 //num-sprites
  409. //fences
  410. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  411. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  412. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  413. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  414. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  415. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  416. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  417. -1 sprites/traratrk.pcx 2 10 09 1 1 0 0
  418.  
  419. -1 * 0 02 //action 2
  420. 10 //feature: rail types
  421. A9 //set id
  422. 01 //num-ent1
  423. 00 //num-ent2
  424. 00 00 //entry number
  425.  
  426. -1 * 0 03 //action 3
  427. 10 //feature: rail types
  428. 01 //n-id
  429. 03 //ID
  430. 00 //num-cid
  431. 09 //cargo type: Depots
  432. A9 00 //cid
  433. A9 00 //def-cid
  434.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement