aboutsummaryrefslogtreecommitdiff
path: root/assets/oldmodels/trackvertical1.b3d
blob: 5620f6057328dbdd4c78a36cda37f8f9bf5640ce (plain)
ofshex dumpascii
0000 42 42 33 44 6d 02 00 00 01 00 00 00 4e 4f 44 45 61 02 00 00 43 75 62 65 00 00 00 00 00 00 00 00 BB3Dm.......NODEa...Cube........
0020 00 00 00 00 00 00 00 80 3f 00 00 80 3f 00 00 80 3f d3 bb 4b b5 00 00 00 00 00 00 80 3f 00 00 00 ........?...?...?..K........?...
0040 00 4d 45 53 48 2c 02 00 00 ff ff ff ff 56 52 54 53 cc 01 00 00 01 00 00 00 01 00 00 00 02 00 00 .MESH,.......VRTS...............
0060 00 57 7e 3c 3f 00 00 00 bf 5c 73 00 3f 92 05 49 3f 7c 01 be 3e fc c1 fd 3e 1f e6 62 3f a1 af 5d .W~<?....\s.?..I?|..>...>..b?..]
0080 3f 71 7e 3c bf 00 00 00 bf 15 73 00 3f 92 05 49 bf 7c 01 be 3e fc c1 fd 3e 20 e6 62 3f 7c 41 09 ?q~<......s.?..I.|..>...>..b?|A.
00a0 3e 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 >.........s.?......I?.9.>.G#?...
00c0 3e e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f >...>....Qs.?...>..I?.9.>.G#?..?
00e0 3f b7 ff ff be 00 00 00 bf c4 19 ff be f3 81 79 be bc 11 5e 3f bc 11 de be 03 2f a8 3d 00 c3 80 ?..............y...^?...../.=...
0100 3e 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 >.........s.?......I?.9.>.G#?...
0120 3e 71 7e 3c bf 00 00 00 bf 15 73 00 3f 92 05 49 bf 7c 01 be 3e fc c1 fd 3e 0f d4 06 3f 00 20 bc >q~<......s.?..I.|..>...>...?...
0140 38 e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f 8...>....Qs.?...>..I?.9.>.G#?..?
0160 3f 23 00 00 3f 00 00 00 bf 62 19 ff be f3 81 79 3e bc 11 5e 3f bc 11 de be 0a 2f a8 3d 85 9e 3f ?#..?....b.....y>..^?...../.=..?
0180 3f 57 7e 3c 3f 00 00 00 bf 5c 73 00 3f 92 05 49 3f 7c 01 be 3e fc c1 fd 3e 14 d4 06 3f 20 fa 7f ?W~<?....\s.?..I?|..>...>...?...
01a0 3f 23 00 00 3f 00 00 00 bf 62 19 ff be f3 81 79 3e bc 11 5e 3f bc 11 de be 0a 2f a8 3d 85 9e 3f ?#..?....b.....y>..^?...../.=..?
01c0 3f e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f ?...>....Qs.?...>..I?.9.>.G#?..?
01e0 3f 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 ?.........s.?......I?.9.>.G#?...
0200 3e b7 ff ff be 00 00 00 bf c4 19 ff be f3 81 79 be bc 11 5e 3f bc 11 de be 03 2f a8 3d 00 c3 80 >..............y...^?...../.=...
0220 3e 54 52 49 53 4c 00 00 00 ff ff ff ff 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 02 00 00 >TRISL..........................
0240 00 00 00 00 00 06 00 00 00 05 00 00 00 04 00 00 00 09 00 00 00 08 00 00 00 07 00 00 00 0c 00 00 ................................
0260 00 0b 00 00 00 0a 00 00 00 0d 00 00 00 0c 00 00 00 0a 00 00 00 .....................
='#n154'>154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
--advtrains by orwell96, see readme.txt

--dev-time settings:
--EDIT HERE
--If the old non-model rails on straight tracks should be replaced by the new...
--false: no
--true: yes
advtrains.register_replacement_lbms=false

--[[TracksDefinition
nodename_prefix
texture_prefix
description
common={}
straight={}
straight45={}
curve={}
curve45={}
lswitchst={}
lswitchst45={}
rswitchst={}
rswitchst45={}
lswitchcr={}
lswitchcr45={}
rswitchcr={}
rswitchcr45={}
vert1={
	--you'll probably want to override mesh here
}
vert2={
	--you'll probably want to override mesh here
}
]]--
advtrains.all_tracktypes={}

--definition preparation
local function conns(c1, c2, r1, r2) return {{c=c1, y=r1}, {c=c2, y=r2}} end
local function conns3(c1, c2, c3, r1, r2, r3) return {{c=c1, y=r1}, {c=c2, y=r2}, {c=c3, y=r3}} end

advtrains.ap={}
advtrains.ap.t_30deg_flat={
	regstep=1,
	variant={
		st={
			conns = conns(0,8),
			desc = "straight",
			tpdouble = true,
			tpsingle = true,
			trackworker = "cr",
		},
		cr={
			conns = conns(0,7),
			desc = "curve",
			tpdouble = true,
			trackworker = "swlst",
		},
		swlst={
			conns = conns3(0,8,7),
			desc = "left switch (straight)",
			trackworker = "swrst",
			switchalt = "swlcr",
			switchmc = "on",
			switchst = "st",
		},
		swlcr={
			conns = conns3(0,7,8),
			desc = "left switch (curve)",
			trackworker = "swrcr",
			switchalt = "swlst",
			switchmc = "off",
			switchst = "cr",
		},
		swrst={
			conns = conns3(0,8,9),
			desc = "right switch (straight)",
			trackworker = "st",
			switchalt = "swrcr",
			switchmc = "on",
			switchst = "st",
		},
		swrcr={
			conns = conns3(0,9,8),
			desc = "right switch (curve)",
			trackworker = "st",
			switchalt = "swrst",
			switchmc = "off",
			switchst = "cr",
		},
	},
	regtp=true,
	tpdefault="st",
	trackworker={
		["swrcr"]="st",
		["swrst"]="st",
		["cr"]="swlst",
		["swlcr"]="swrcr",
		["swlst"]="swrst",
	},
	rotation={"", "_30", "_45", "_60"},
}
advtrains.ap.t_30deg_slope={
	regstep=1,
	variant={
		vst1={conns = conns(8,0,0,0.5), rail_y = 0.25, desc = "steep uphill 1/2", slope=true},
		vst2={conns = conns(8,0,0.5,1), rail_y = 0.75, desc = "steep uphill 2/2", slope=true},
		vst31={conns = conns(8,0,0,0.33), rail_y = 0.16, desc = "uphill 1/3", slope=true},
		vst32={conns = conns(8,0,0.33,0.66), rail_y = 0.5, desc = "uphill 2/3", slope=true},
		vst33={conns = conns(8,0,0.66,1), rail_y = 0.83, desc = "uphill 3/3", slope=true},
	},
	regsp=true,
	slopeplacer={
		[2]={"vst1", "vst2"},
		[3]={"vst31", "vst32", "vst33"},
		max=3,--highest entry
	},
	slopeplacer_45={
		[2]={"vst1_45", "vst2_45"},
		max=2,
	},
	rotation={"", "_30", "_45", "_60"},
	trackworker={},
	increativeinv={},
}
advtrains.ap.t_30deg_straightonly={
	regstep=1,
	variant={
		st={
			conns = conns(0,8),
			desc = "straight",
			tpdouble = true,
			tpsingle = true,
			trackworker = "st",
		},
	},
	regtp=true,
	tpdefault="st",
	rotation={"", "_30", "_45", "_60"},
}