From c0dd1951f3fb71cad0ae215a3d819661a952b89f Mon Sep 17 00:00:00 2001 From: webdesigner97 <Christian_D_97@gmx.de> Date: Wed, 23 Apr 2014 18:06:13 +0200 Subject: [PATCH] tweak nodebox again... --- streetsmod/nodeboxes/trafficlight.nbe | 10 ++++----- streetsmod/textures/streets_tl_off.png | Bin 3267 -> 312 bytes .../streets_trafficlight_template - Kopie.png | Bin 0 -> 312 bytes trafficlight/init.lua | 19 +++++++++--------- 4 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 streetsmod/textures/streets_trafficlight_template - Kopie.png diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe index 1025942..54f1c65 100644 --- a/streetsmod/nodeboxes/trafficlight.nbe +++ b/streetsmod/nodeboxes/trafficlight.nbe @@ -5,13 +5,13 @@ NAME test NODE node1 POSITION 0 0 0 NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75 -NODEBOX nodebox2 -0.03125 0.375 0.3125 0.03125 0.4375 0.5 -NODEBOX nodebox3 -0.03125 0.0625 0.3125 0.03125 0.125 0.5 -NODEBOX nodebox4 -0.03125 -0.25 0.3125 0.03125 -0.1875 0.5 +NODEBOX nodebox2 -0.0625 0.375 0.3125 0.0625 0.4375 0.5 +NODEBOX nodebox3 -0.0625 0.0625 0.3125 0.0625 0.125 0.5 +NODEBOX nodebox4 -0.0625 -0.25 0.3125 0.0625 -0.1875 0.5 NODEBOX nodebox5 0.03125 0.3125 0.3125 0.09375 0.38 0.5 NODEBOX nodebox6 -0.09375 0.3125 0.3125 -0.03125 0.375 0.5 -NODEBOX nodebox7 0.03125 0.00 0.3125 0.09375 0.0625 0.5 -NODEBOX nodebox8 -0.09375 0.00 0.3125 -0.03125 0.0625 0.5 +NODEBOX nodebox7 0.03125 0 0.3125 0.09375 0.0625 0.5 +NODEBOX nodebox8 -0.09375 0 0.3125 -0.03125 0.0625 0.5 NODEBOX nodebox9 0.03125 -0.3125 0.3125 0.09375 -0.25 0.5 NODEBOX nodebox10 -0.09375 -0.3125 0.3125 -0.03125 -0.25 0.5 END NODE \ No newline at end of file diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png index 16621e75273eb2995fc9b51089150e91b9d5cd80..719fe8505ef75f874ea81ae659d17cd8e22b24a9 100644 GIT binary patch delta 200 zcmX>sxr1p!AlE$>F%dTYoi|P#pBSxO&oIZ+#WAGf*4rD7d<_abEDl+J{!jn-hLhj* z$hmpEYQnc(xSjUTFBYEJF1xmZA%xu`eD99$zgKl|m@_am@RlFA94Tizy|ho7f#JZe z_gVj$+!)}%VXj?5S^onz28IuBWfusWFfnZF^Si(SmuI-ZzQ<T<?gBxE5B*r>SIp!t Wy=T~Y|5I5yNRy|lpUXO@geCyUl|?rI delta 3178 zcmV-w43+b^0>c@QQ3~A%4G%3gM54Y1ky|T&3@1rMK~#9!y<6Fmqc|2lT95!^J6&1J zc)BBI>Y@MtpJpneyKBo#Z!8jG9za+Kfyt#tPnkB0?tbpkHCb;qO}1LWU0Q2!&f%}R zuE7`^e8w5W*Kc3(?%h2Ape##BDFFbCG1PU9h(%Df>hB?hplKQ`U6c@*iR+bCh<Jp5 zC=yVr8s94fOf~-e<NJ^J`u!`&e!p+dmkU;DdUGR<F#sVTgrKS_L?QwK!AsVkfBxD3 zz2EOg-xp<x*i$3`NGb8{>o;t+o8WV&j5oE&e!mZ@Hi{xBr67fbRuyX30)zlF79@l~ zN{ON<CWW3_RvBrM;*wv6)>ajwNX*`UFQq_PUM=n_FX&zFKU*ghlxkhJtjeMAz^w4? z*UgKBcdxtT7f?byqX=BO=Q75jwMJbVCmcBlX^=bb4hf&eDUPQj(sVUcz|;9Wxv_tI z`Ue2ubUb0T%6d!BEo02Hg!h#|BOcg%+zHmYI%9O;wMC(jbk|(HLJt1F6c?<2vo$W4 zb2tQUxeWlwNTO6_@Vlz2AcT04@S$)3fYa%WEL$Oo6XZqSTAa6DaBCStKqtJGj<Tv! zH-*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ECJ)>RZw{S=X)O)}n*?zQAyjRi5qGUd{^t^Z8^-xA!=X`(K@gLgIWrbvesF z7wBTy_WDtO6!k8(^e3`5eBAQ&vSI1wW<xdygxp~+I|S+{^8Ro%^=9u~)@2IKF-8$Z z{+Jw}%oR(O;9jS-nj|=tQiFYNyI+cJ@9zh{3Tx|qew!6GhJsQvO|W;_{jEye94lNK zGdp?S<|+!~%_UV;1+5g))oQZ*8DmgY8ba{S1G>0XpwyeK?SvPOz)2j>wxp-yX|V!6 zeteJpevkcrkI(=5?2#^XAXLlcT>(*=q$A;@D1s287d|xUZo^Xu-sgb-0c=iOQGMap Q?EnA(07*qoM6N<$f>)L()&Kwi diff --git a/streetsmod/textures/streets_trafficlight_template - Kopie.png b/streetsmod/textures/streets_trafficlight_template - Kopie.png new file mode 100644 index 0000000000000000000000000000000000000000..719fe8505ef75f874ea81ae659d17cd8e22b24a9 GIT binary patch literal 312 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPqi<k%-|IQmHjst~cGeaUuobz*YQ}arITm}Z`qSVBa z)D(sC%#sWRcTeAd6une-p!gh57srr_TW@bT@--;%usCG>`9J;R8%}=LBj@JvstMnE z;da_TzgT!?yX@Kuh7fj(@Vz^}|6bL>Va~wNz*~Oca-^K?^wK_Q28IK>-e>)1asyii zCLHG4C6x6)0D9-cTiFG|CQJ<5`ur|%AQW6+-y=15fgr<&eyq|fW^$L_Gwi(osVp6& N$J5o%Wt~$(695d-U0DDC literal 0 HcmV?d00001 diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 2f1b343..3bdc95b 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -11,16 +11,17 @@ minetest.register_node(":streets:trafficlight_top_off",{ node_box = { type = "fixed", fixed = { + --[[ Thank you, rubenwardy, for your awesome NodeboxEditor! Not perfect, but still great! ]] {-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --nodebox1 - {-0.03125,0.375,0.3125,0.03125,0.4375,0.5}, --nodebox2 - {-0.03125,0.0625,0.3125,0.03125,0.125,0.5}, --nodebox3 - {-0.03125,-0.25,0.3125,0.03125,-0.1875,0.5}, --nodebox4 - {0.03125,0.3125,0.3125,0.09375,0.38,0.5}, --nodebox5 - {-0.09375,0.3125,0.3125,-0.03125,0.375,0.5}, --nodebox6 - {0.03125,0.00,0.3125,0.09375,0.0625,0.5}, --nodebox7 - {-0.09375,0.00,0.3125,-0.03125,0.0625,0.5}, --nodebox8 - {0.03125,-0.3125,0.3125,0.09375,-0.25,0.5}, --nodebox9 - {-0.09375,-0.3125,0.3125,-0.03125,-0.25,0.5}, --nodebox10 + {-0.0625,0.375,0.3125,0.0625,0.4375,0.5}, --nodebox2 + {-0.0625,0.0625,0.3125,0.0625,0.125,0.5}, --nodebox3 + {-0.0625,-0.25,0.3125,0.0625,-0.1875,0.5}, --nodebox4 + {0.0625,0.3125,0.3125,0.125,0.375,0.5}, --nodebox5 + {-0.125,0.3125,0.3125,-0.0625,0.375,0.5}, --nodebox6 + {0.0625,0,0.3125,0.125,0.0625,0.5}, --nodebox7 + {-0.125,0,0.3125,-0.0625,0.0625,0.5}, --nodebox8 + {0.0625,-0.3125,0.3125,0.125,-0.25,0.5}, --nodebox9 + {-0.125,-0.3125,0.3125,-0.0625,-0.25,0.5}, --nodebox10 } }, tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_trafficlight_template.png"},