From 8d3d79bed80abf41bd4be6a201d71ae80bb69983 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Sun, 29 Apr 2018 11:15:40 +0300 Subject: [PATCH] Added: Sligwolf's mini-train switches Updated: Sligwolf's switch Y mini Updated Sligwolf's reralier mini --- data/peaces_manager/models_ignored.txt | 10 +++++ lua/autorun/trackassembly_init.lua | 56 ++++++++++++++++++++++---- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/data/peaces_manager/models_ignored.txt b/data/peaces_manager/models_ignored.txt index f6c38a7d..50df711c 100644 --- a/data/peaces_manager/models_ignored.txt +++ b/data/peaces_manager/models_ignored.txt @@ -492,6 +492,16 @@ models/minitrains/wagon/md_swwagon025.mdl models/sligwolf/unique_props/minitrain_slider.mdl models/sligwolf/unique_props/sw_cube_1x1x1.mdl models/sligwolf/unique_props/sw_sphere_4x4x4.mdl +models/minitrains/switchbar_1_128_c.mdl +models/minitrains/switchbar_2_128_c.mdl +models/minitrains/switchbar_3_128_c.mdl +models/minitrains/switchbar_4_128_c.mdl +models/minitrains/switchbar_5_128_c.mdl +models/minitrains/switchbar_6_128_c.mdl +models/minitrains/switchbar_w_1_128_c.mdl +models/minitrains/switchbar_w_1_128_s.mdl +models/minitrains/switchbar_yw_128.mdl +models/minitrains/buildings/sw_sign.mdl # Magnum's Rails models/magtrains1ga/autorack1.mdl diff --git a/lua/autorun/trackassembly_init.lua b/lua/autorun/trackassembly_init.lua index bf7f5103..7a399444 100644 --- a/lua/autorun/trackassembly_init.lua +++ b/lua/autorun/trackassembly_init.lua @@ -35,7 +35,7 @@ local asmlib = trackasmlib ------ CONFIGURE ASMLIB ------ asmlib.InitBase("track","assembly") -asmlib.SetOpVar("TOOL_VERSION","5.442") +asmlib.SetOpVar("TOOL_VERSION","5.443") asmlib.SetIndexes("V",1,2,3) asmlib.SetIndexes("A",1,2,3) asmlib.SetIndexes("S",4,5,6,7) @@ -806,16 +806,58 @@ else asmlib.InsertRecord({"models/minitrains/curve_5_s_big.mdl", "#", "#", 2, "", "-516.985, 508.521, 1", "0,180,0"}) asmlib.InsertRecord({"models/minitrains/curve_6_s_big.mdl", "#", "#", 1, "", "-0.007, -8.504, 1", ""}) asmlib.InsertRecord({"models/minitrains/curve_6_s_big.mdl", "#", "#", 2, "", "-576.985, 568.521, 1", "0,180,0"}) - asmlib.InsertRecord({"models/minitrains/rerailer.mdl", "#", "Rerailer Double", 1, "", "190, -0.005, 1.02", ""}) - asmlib.InsertRecord({"models/minitrains/rerailer.mdl", "#", "Rerailer Double", 2, "", "-190, -0.005, 1.02", "0,180,0"}) - asmlib.InsertRecord({"models/minitrains/sw_buffer_stop.mdl", "#", "Buffer Stop", 1, "", "9.43, -8.011, -1.001", "0,-180,0"}) - asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 1, "", "-128, -23.512, 0.998", "0,-180,0","gmod_sw_minitrain_switch"}) - asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 2, "", "0, -8.509, 1", "", "gmod_sw_minitrain_switch"}) - asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 3, "", "-128, 6.493, 0.998", "0,-180,0", "gmod_sw_minitrain_switch"}) + asmlib.InsertRecord({"models/minitrains/rerailer.mdl", "#", "Rerailer Double", 1, "", "190, 0, 1.01758", ""}) + asmlib.InsertRecord({"models/minitrains/rerailer.mdl", "#", "Rerailer Double", 2, "", "-190, 0, 1.01758", "0,180,0"}) + asmlib.InsertRecord({"models/minitrains/sw_buffer_stop.mdl", "#", "Buffer Stop", 1, "", "9.43, -8.011, -1", "0,-180,0"}) + asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 1, "", "0, -8.509, 1", "", "gmod_sw_minitrain_switch"}) + asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 2, "", "-128, 6.493, 1", "0,-180,0", "gmod_sw_minitrain_switch"}) + asmlib.InsertRecord({"models/minitrains/switch.mdl", "#", "Switch Y", 3, "", "-128, -23.512, 1", "0,-180,0","gmod_sw_minitrain_switch"}) asmlib.InsertRecord({"models/minitrains/switch_double.mdl", "#", "#", 1, "", "16, 21.512, 1", "", "gmod_sw_minitrain_doubleswitch"}) asmlib.InsertRecord({"models/minitrains/switch_double.mdl", "#", "#", 2, "", "-144, 21.513, 1", "0,-180,0", "gmod_sw_minitrain_doubleswitch"}) asmlib.InsertRecord({"models/minitrains/switch_double.mdl", "#", "#", 3, "", "16, -8.515, 1", "", "gmod_sw_minitrain_doubleswitch"}) asmlib.InsertRecord({"models/minitrains/switch_double.mdl", "#", "#", 4, "", "-144, -8.514, 1", "0,-180,0", "gmod_sw_minitrain_doubleswitch"}) + asmlib.InsertRecord({"models/minitrains/switch_w_1_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w1"}) + asmlib.InsertRecord({"models/minitrains/switch_w_1_128.mdl", "#", "#", 2, "", "-97.94826,32.05148,1", "0,135,0", "gmod_sw_minitrain_switch_w1"}) + asmlib.InsertRecord({"models/minitrains/switch_w_1_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_w1"}) + asmlib.InsertRecord({"models/minitrains/switch_w_1_128.mdl", "#", "#", 4, "", "-97.94826,-49.05152,1", "0,-135,0", "gmod_sw_minitrain_switch_w1"}) + asmlib.InsertRecord({"models/minitrains/switch_w_2_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w2"}) + asmlib.InsertRecord({"models/minitrains/switch_w_2_128.mdl", "#", "#", 2, "", "-119.15060, 40.84935,1", "0, 135,0", "gmod_sw_minitrain_switch_w2"}) + asmlib.InsertRecord({"models/minitrains/switch_w_2_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,-180,0", "gmod_sw_minitrain_switch_w2"}) + asmlib.InsertRecord({"models/minitrains/switch_w_2_128.mdl", "#", "#", 4, "", "-119.15061,-57.84934,1", "0,-135,0", "gmod_sw_minitrain_switch_w2"}) + asmlib.InsertRecord({"models/minitrains/switch_w_3_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w3"}) + asmlib.InsertRecord({"models/minitrains/switch_w_3_128.mdl", "#", "#", 2, "", "-140.36781,49.63218,1", "0,135,0", "gmod_sw_minitrain_switch_w3"}) + asmlib.InsertRecord({"models/minitrains/switch_w_3_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_w3"}) + asmlib.InsertRecord({"models/minitrains/switch_w_3_128.mdl", "#", "#", 4, "", "-140.36781,-66.63219,1", "0,-135,0", "gmod_sw_minitrain_switch_w3"}) + asmlib.InsertRecord({"models/minitrains/switch_w_4_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w4"}) + asmlib.InsertRecord({"models/minitrains/switch_w_4_128.mdl", "#", "#", 2, "", "-87.45033,8.87626,1", "0,157.5,0", "gmod_sw_minitrain_switch_w4"}) + asmlib.InsertRecord({"models/minitrains/switch_w_4_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_w4"}) + asmlib.InsertRecord({"models/minitrains/switch_w_4_128.mdl", "#", "#", 4, "", "-87.45378,-25.86791,1", "0,-157.5,0", "gmod_sw_minitrain_switch_w4"}) + asmlib.InsertRecord({"models/minitrains/switch_w_5_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w5"}) + asmlib.InsertRecord({"models/minitrains/switch_w_5_128.mdl", "#", "#", 2, "", "-98.92384,11.17581,1", "0,157.5,0", "gmod_sw_minitrain_switch_w5"}) + asmlib.InsertRecord({"models/minitrains/switch_w_5_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_w5"}) + asmlib.InsertRecord({"models/minitrains/switch_w_5_128.mdl", "#", "#", 4, "", "-98.92188,-28.17954,1", "0,-157.5,0", "gmod_sw_minitrain_switch_w5"}) + asmlib.InsertRecord({"models/minitrains/switch_w_6_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_w6"}) + asmlib.InsertRecord({"models/minitrains/switch_w_6_128.mdl", "#", "#", 2, "", "-110.40305,13.45934,1", "0,157.5,0", "gmod_sw_minitrain_switch_w6"}) + asmlib.InsertRecord({"models/minitrains/switch_w_6_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_w6"}) + asmlib.InsertRecord({"models/minitrains/switch_w_6_128.mdl", "#", "#", 4, "", "-110.40065,-30.46272,1", "0,-157.5,0", "gmod_sw_minitrain_switch_w6"}) + asmlib.InsertRecord({"models/minitrains/switch_y_1_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y1"}) + asmlib.InsertRecord({"models/minitrains/switch_y_1_128.mdl", "#", "#", 2, "", "-97.94826,32.05148,1", "0,135,0", "gmod_sw_minitrain_switch_y1"}) + asmlib.InsertRecord({"models/minitrains/switch_y_1_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_y1"}) + asmlib.InsertRecord({"models/minitrains/switch_y_2_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y2"}) + asmlib.InsertRecord({"models/minitrains/switch_y_2_128.mdl", "#", "#", 2, "", "-119.15060, 40.84935,1", "0, 135,0", "gmod_sw_minitrain_switch_y2"}) + asmlib.InsertRecord({"models/minitrains/switch_y_2_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,-180,0", "gmod_sw_minitrain_switch_y2"}) + asmlib.InsertRecord({"models/minitrains/switch_y_3_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y3"}) + asmlib.InsertRecord({"models/minitrains/switch_y_3_128.mdl", "#", "#", 2, "", "-140.36781,49.63218,1", "0,135,0", "gmod_sw_minitrain_switch_y3"}) + asmlib.InsertRecord({"models/minitrains/switch_y_3_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_y3"}) + asmlib.InsertRecord({"models/minitrains/switch_y_4_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y4"}) + asmlib.InsertRecord({"models/minitrains/switch_y_4_128.mdl", "#", "#", 2, "", "-87.45033,8.87626,1", "0,157.5,0", "gmod_sw_minitrain_switch_y4"}) + asmlib.InsertRecord({"models/minitrains/switch_y_4_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_y4"}) + asmlib.InsertRecord({"models/minitrains/switch_y_5_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y5"}) + asmlib.InsertRecord({"models/minitrains/switch_y_5_128.mdl", "#", "#", 2, "", "-98.92384,11.17581,1", "0,157.5,0", "gmod_sw_minitrain_switch_y5"}) + asmlib.InsertRecord({"models/minitrains/switch_y_5_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_y5"}) + asmlib.InsertRecord({"models/minitrains/switch_y_6_128.mdl", "#", "#", 1, "", "0,-8.5,1", "", "gmod_sw_minitrain_switch_y6"}) + asmlib.InsertRecord({"models/minitrains/switch_y_6_128.mdl", "#", "#", 2, "", "-110.40305,13.45934,1", "0,157.5,0", "gmod_sw_minitrain_switch_y6"}) + asmlib.InsertRecord({"models/minitrains/switch_y_6_128.mdl", "#", "#", 3, "", "-128,-8.5,1", "0,180,0", "gmod_sw_minitrain_switch_y6"}) asmlib.DefaultType("PHX Monorail") asmlib.InsertRecord({"models/props_phx/trains/monorail1.mdl", "#", "Straight Short", 1, "", "229.885559,0.23999,13.87915", ""}) asmlib.InsertRecord({"models/props_phx/trains/monorail1.mdl", "#", "Straight Short", 2, "", "-228.885254,0.239726,13.87915", "0,-180,0"})