Skip to content

Commit 538b175

Browse files
committed
Added Aim Straight parameter, fixed missing link in zs_villagehouse.
1 parent c845404 commit 538b175

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1:AreaYMax=492,AreaYMin=266,X=257.4,Y=411.6,AreaXMin=164,Z=64,AreaXMax=360;2:Y=496.2,X=246.9,Z=64;3:X=234.6,AreaYMin=500,AreaXMin=156,Y=584.5,AreaYMax=784,Z=64,AreaXMax=366;4:X=99.3,AreaXMin=52,AreaYMin=596,Y=629.5,AreaYMax=790,Z=64,AreaXMax=156;5:AreaYMax=596,AreaXMin=52,X=99.5,Y=552.3,AreaYMin=500,Z=64,AreaXMax=156;6:AreaYMax=500,AreaXMin=52,X=102.4,Y=395.2,AreaYMin=272,Z=64,AreaXMax=156;7:Y=391.7,X=47.9,Z=64;8:Y=265.9,X=104.5,Z=64;9:AreaYMax=492,AreaXMin=-150,X=-50.5,Y=389.3,AreaYMin=266,Z=64,AreaXMax=44;10:X=-52.4,AreaXMin=-150,AreaYMin=604,Y=686.3,AreaYMax=784,Z=64,AreaXMax=44;11:Y=634.2,X=48.3,Z=64;12:X=40,AreaXMin=20.9,AreaYMin=504,Y=549.8,AreaYMax=592,Z=64,AreaXMax=52;13:X=-256.4,AreaYMin=504,AreaYMax=592,Y=548.9,AreaXMin=-272,Z=-176,AreaXMax=-144;14:AreaYMin=500,X=-112.7,AreaXMin=-144,AreaYMax=596,Y=546.2,See=Disabled,Z=64,AreaXMax=-82;15:AreaYMax=504,X=-31.4,AreaYMin=500,AreaXMin=-82,Y=502.2,See=Disabled,Z=64,AreaXMax=-27.1;16:Y=502.3,X=-86,Z=64,See=Disabled;17:Y=594.6,X=-85.2,Z=64,See=Disabled;18:AreaYMin=592,AreaYMax=596,AreaXMin=-82,X=-30.9,Y=594.4,See=Disabled,Z=64,AreaXMax=-25.4;19:X=-39.1,AreaXMin=-98,AreaYMin=504,Y=549.3,AreaYMax=592,Z=-16,AreaXMax=32;20:AreaYMax=592,AreaXMin=-176,X=-120,Y=550.8,AreaYMin=504,Z=-101.3,AreaXMax=-80;21:Y=547,X=-274.9,Z=-176;22:X=-327.1,AreaXMin=-540,AreaYMin=237,Y=546.9,AreaYMax=592,Z=-176,AreaXMax=-280;24:See=Disabled,Z=319.8,AreaXMax=392,X=108.6,Wall=Retarget,AreaYMin=240,Y=574.3,AreaXMin=-176,AreaYMax=816;25:AreaYMax=808,X=-573.7,Y=665.7,AreaYMin=512,AreaXMin=-662.2,See=Disabled,Z=176,AreaXMax=-416;26:X=-686.5,Y=546.8,See=Disabled,Z=174;27:Y=544.5,X=-717.5,Z=128;28:Y=519.2,X=-705.1,Z=64;29:Y=696.7,X=-417.8,Z=64;30:X=-524.5,AreaYMin=514,AreaYMax=806,Y=649.2,AreaXMin=-630,Z=64,AreaXMax=-420;31:See=Disabled,Z=137.1,AreaXMax=529.4,AreaYMax=459.8,Wall=Retarget,AreaYMin=393.6,Y=422.7,AreaXMin=459.7,X=488.9;32:AreaYMax=156,AreaXMin=-288,X=98.4,Y=61,AreaYMin=-372,Z=64,AreaXMax=604;33:AreaYMax=256,X=-212.6,AreaXMin=-288,AreaYMin=156,Y=210.6,See=Disabled,Z=64,AreaXMax=-160;34:X=-48.8,AreaXMin=-160,AreaYMax=256,Y=202.3,AreaYMin=156,Z=64,AreaXMax=80;35:X=110.4,AreaYMin=156,AreaYMax=256,Y=202.9,AreaXMin=80,Z=64,AreaXMax=128;36:X=245.8,AreaXMin=128,AreaYMin=156,Y=202.4,AreaYMax=256,Z=64,AreaXMax=376;37:AreaYMax=260,AreaXMin=-716,X=-611.9,Y=24.1,AreaYMin=-372,Z=64,AreaXMax=-528;38:AreaYMax=256,AreaXMin=376,X=479,Y=201.7,AreaYMin=156,Z=64,AreaXMax=604;39:X=470.5,AreaYMin=256,AreaYMax=800,Y=543,AreaXMin=376,Z=64,AreaXMax=604;40:AreaYMax=952,AreaYMin=800,X=481.8,Y=862.2,AreaXMin=376,Z=64,AreaXMax=604;41:X=102.3,AreaYMin=800,AreaXMin=-160,Y=880.4,AreaYMax=952,Z=64,AreaXMax=376;42:AreaYMax=952,AreaXMin=-416,X=-276.8,Y=875.9,AreaYMin=808,Z=64,AreaXMax=-160;43:X=-514.5,AreaXMin=-632,AreaYMin=808,Y=882.3,AreaYMax=952,Z=64,AreaXMax=-416;44:X=-671.2,AreaYMin=808,AreaXMin=-716,Y=883.8,AreaYMax=952,Z=64,AreaXMax=-632;45:X=-679.1,AreaYMin=512,AreaYMax=808,Y=665.3,AreaXMin=-716,Z=64,AreaXMax=-632;46:AreaYMax=808,AreaXMin=-416,X=-283.1,Y=670.7,AreaYMin=512,Z=64,AreaXMax=-160;47:X=-307.7,AreaYMin=260,AreaYMax=512,Y=401.6,AreaXMin=-416,Z=64,AreaXMax=-288;48:AreaYMax=512,AreaYMin=260,X=-614.6,Y=387.9,AreaXMin=-716,Z=64,AreaXMax=-528;49:X=-483,AreaXMin=-528,AreaYMin=260,Y=386,AreaYMax=512,Z=64,AreaXMax=-416;50:X=-222.7,AreaXMin=-288,AreaYMax=512,Y=396.2,AreaYMin=256,Z=64,AreaXMax=-160;51:Y=169.9,X=-288.6,Z=64,See=Disabled;52:AreaYMax=184,X=-307,AreaYMin=156,AreaXMin=-320,Y=170.1,See=Disabled,Z=64,AreaXMax=-292;53:AreaXMin=-320,X=-305.5,AreaYMin=-384,AreaYMax=156,Y=-98.1,See=Disabled,Z=64,AreaXMax=-292;54:AreaXMin=-524,X=-519.6,AreaYMin=-384,AreaYMax=232,Y=-56.5,See=Disabled,Z=64,AreaXMax=-500;55:AreaXMin=-524,X=-516.4,AreaYMin=232,AreaYMax=256,Y=248.6,See=Disabled,Z=64,AreaXMax=-500;56:AreaYMin=232,X=-401.1,AreaXMin=-500,AreaYMax=256,Y=249.3,See=Disabled,Z=64,AreaXMax=-292;57:Y=245.6,X=-286.9,Z=64,See=Disabled;58:Y=235.6,X=-408.1,Z=64;59:Y=204.5,X=-409.8,Z=-19.7,See=Disabled;60:X=-411.9,AreaYMin=-110.5,AreaYMax=233,Y=187,AreaXMin=-500,Z=-176,AreaXMax=-320;61:X=-750.5,AreaYMin=-384,AreaYMax=960,Y=521.7,AreaXMin=-768,Z=64,AreaXMax=-720;62:AreaYMax=-126.1,AreaXMin=-500,X=-410.4,Y=-280.5,AreaYMin=-384,Z=9.4,AreaXMax=-320;63:X=-410.8,AreaYMin=-286.1,AreaYMax=35.4,Y=-102.2,AreaXMin=-500,Z=-76.9,AreaXMax=-320;64:Y=208,X=-301.7,Z=64,See=Disabled;65:Y=208,X=-301.7,Z=-176;66:Y=-291.5,X=-509.7,Z=64;67:Y=-293,X=-488.6,Z=18.5;68:Y=-282.6,X=-306.7,Z=64;69:Y=-283.6,X=-335,Z=13.9;61-27:;61-48:;4-5:;24-32:;37-48:;55-54:;34-33:;47-46:;22-21:;54-66:;36-35:;55-49:;11-4:;32-35:;16-14:;69-68:;39-31:;10-11:;32-34:;33-32:;38-32:;14-17:;6-8:;18-12:;50-33:;19-12:;3-2:;47-50:;46-50:;40-39:;4-3:;37-55:;49-56:;33-64:;28-27:;65-60:;41-40:;5-12:;26-25:;20-13:;33-51:;48-45:;51-52:;38-36:;56-47:;52-53:;21-13:;12-15:;60-63:;32-36:;68-53:;62-69:;29-30:;7-9:;35-34:;2-1:;61-44:;66-67:;5-6:;17-18:;27-26:;55-48:;6-7:;19-20:;61-45:;42-46:;61-28:;42-41:;61-37:;28-45:;59-58:;67-62:;15-16:;43-42:;5-3:;56-55:;57-33:;49-47:;48-49:;56-57:;39-38:;54-37:;53-32:;64-65:;44-43:;63-62:;45-44:;35-8:;58-56:;48-28:
1+
1:AreaYMax=492,Y=411.6,X=257.4,AreaYMin=266,AreaXMin=164,Z=64,AreaXMax=360;2:Y=496.2,X=246.9,Z=64;3:X=234.6,Y=584.5,AreaXMin=156,AreaYMin=500,AreaYMax=784,Z=64,AreaXMax=366;4:X=99.3,Y=629.5,AreaYMin=596,AreaXMin=52,AreaYMax=790,Z=64,AreaXMax=156;5:AreaYMax=596,Y=552.3,X=99.5,AreaXMin=52,AreaYMin=500,Z=64,AreaXMax=156;6:AreaYMax=500,Y=395.2,X=102.4,AreaXMin=52,AreaYMin=272,Z=64,AreaXMax=156;7:Y=391.7,X=47.9,Z=64;8:Y=265.9,X=104.5,Z=64;9:AreaYMax=492,Y=389.3,X=-50.5,AreaXMin=-150,AreaYMin=266,Z=64,AreaXMax=44;10:X=-52.4,Y=686.3,AreaYMin=604,AreaXMin=-150,AreaYMax=784,Z=64,AreaXMax=44;11:Y=634.2,X=48.3,Z=64;12:X=40,Y=549.8,AreaYMin=504,AreaXMin=20.9,AreaYMax=592,Z=64,AreaXMax=52;13:X=-256.4,Y=548.9,AreaYMax=592,AreaYMin=504,AreaXMin=-272,Z=-176,AreaXMax=-144;14:AreaYMax=596,X=-112.7,AreaXMin=-144,Y=546.2,AreaYMin=500,See=Disabled,Z=64,AreaXMax=-82;15:AreaXMin=-82,X=-31.4,AreaYMax=504,Y=502.2,AreaYMin=500,See=Disabled,Z=64,AreaXMax=-27.1;16:Y=502.3,X=-86,Z=64,See=Disabled;17:Y=594.6,X=-85.2,Z=64,See=Disabled;18:X=-30.9,AreaYMax=596,AreaXMin=-82,Y=594.4,AreaYMin=592,See=Disabled,Z=64,AreaXMax=-25.4;19:X=-39.1,Y=549.3,AreaYMin=504,AreaXMin=-98,AreaYMax=592,Z=-16,AreaXMax=32;20:AreaYMax=592,Y=550.8,X=-120,AreaXMin=-176,AreaYMin=504,Z=-101.3,AreaXMax=-80;21:Y=547,X=-274.9,Z=-176;22:X=-327.1,Y=546.9,AreaYMin=237,AreaXMin=-540,AreaYMax=592,Z=-176,AreaXMax=-280;24:See=Disabled,Z=319.8,AreaXMax=392,X=108.6,Wall=Retarget,AreaXMin=-176,AreaYMax=816,AreaYMin=240,Y=574.3;25:AreaYMin=512,X=-573.7,AreaYMax=808,AreaXMin=-662.2,Y=665.7,See=Disabled,Z=176,AreaXMax=-416;26:Y=546.8,X=-686.5,Z=174,See=Disabled;27:Y=544.5,X=-717.5,Z=128;28:Y=519.2,X=-705.1,Z=64;29:Y=696.7,X=-417.8,Z=64;30:X=-524.5,Y=649.2,AreaYMax=806,AreaYMin=514,AreaXMin=-630,Z=64,AreaXMax=-420;31:See=Disabled,Z=137.1,AreaXMax=529.4,AreaYMax=459.8,Wall=Retarget,AreaXMin=459.7,X=488.9,AreaYMin=393.6,Y=422.7;32:AreaYMax=156,Y=61,X=98.4,AreaXMin=-288,AreaYMin=-372,Z=64,AreaXMax=604;33:AreaYMin=156,X=-212.6,AreaYMax=256,Y=210.6,AreaXMin=-288,See=Disabled,Z=64,AreaXMax=-160;34:X=-48.8,Y=202.3,AreaYMax=256,AreaXMin=-160,AreaYMin=156,Z=64,AreaXMax=80;35:X=110.4,Y=202.9,AreaYMax=256,AreaYMin=156,AreaXMin=80,Z=64,AreaXMax=128;36:X=245.8,Y=202.4,AreaYMin=156,AreaXMin=128,AreaYMax=256,Z=64,AreaXMax=376;37:AreaYMax=260,Y=24.1,X=-611.9,AreaXMin=-716,AreaYMin=-372,Z=64,AreaXMax=-528;38:AreaYMax=256,Y=201.7,X=479,AreaXMin=376,AreaYMin=156,Z=64,AreaXMax=604;39:X=470.5,Y=543,AreaYMax=800,AreaYMin=256,AreaXMin=376,Z=64,AreaXMax=604;40:AreaYMax=952,Y=862.2,X=481.8,AreaYMin=800,AreaXMin=376,Z=64,AreaXMax=604;41:X=102.3,Y=880.4,AreaXMin=-160,AreaYMin=800,AreaYMax=952,Z=64,AreaXMax=376;42:AreaYMax=952,Y=875.9,X=-276.8,AreaXMin=-416,AreaYMin=808,Z=64,AreaXMax=-160;43:X=-514.5,Y=882.3,AreaYMin=808,AreaXMin=-632,AreaYMax=952,Z=64,AreaXMax=-416;44:X=-671.2,Y=883.8,AreaXMin=-716,AreaYMin=808,AreaYMax=952,Z=64,AreaXMax=-632;45:X=-679.1,Y=665.3,AreaYMax=808,AreaYMin=512,AreaXMin=-716,Z=64,AreaXMax=-632;46:AreaYMax=808,Y=670.7,X=-283.1,AreaXMin=-416,AreaYMin=512,Z=64,AreaXMax=-160;47:X=-307.7,Y=401.6,AreaYMax=512,AreaYMin=260,AreaXMin=-416,Z=64,AreaXMax=-288;48:AreaYMax=512,Y=387.9,X=-614.6,AreaYMin=260,AreaXMin=-716,Z=64,AreaXMax=-528;49:X=-483,Y=386,AreaYMin=260,AreaXMin=-528,AreaYMax=512,Z=64,AreaXMax=-416;50:X=-222.7,Y=396.2,AreaYMax=512,AreaXMin=-288,AreaYMin=256,Z=64,AreaXMax=-160;51:Y=169.9,X=-288.6,Z=64,See=Disabled;52:AreaXMin=-320,X=-307,AreaYMax=184,Y=170.1,AreaYMin=156,See=Disabled,Z=64,AreaXMax=-292;53:AreaYMax=156,X=-305.5,AreaYMin=-384,Y=-98.1,AreaXMin=-320,See=Disabled,Z=64,AreaXMax=-292;54:AreaYMax=232,X=-519.6,AreaYMin=-384,Y=-56.5,AreaXMin=-524,See=Disabled,Z=64,AreaXMax=-500;55:AreaYMax=256,X=-516.4,AreaYMin=232,Y=248.6,AreaXMin=-524,See=Disabled,Z=64,AreaXMax=-500;56:AreaYMax=256,X=-401.1,AreaXMin=-500,Y=249.3,AreaYMin=232,See=Disabled,Z=64,AreaXMax=-292;57:Y=245.6,X=-286.9,Z=64,See=Disabled;58:Y=235.6,X=-408.1,Z=64;59:Y=204.5,X=-409.8,Z=-19.7,See=Disabled;60:X=-411.9,Y=187,AreaYMax=233,AreaYMin=-110.5,AreaXMin=-500,Z=-176,AreaXMax=-320;61:X=-750.5,Y=521.7,AreaYMax=960,AreaYMin=-384,AreaXMin=-768,Z=64,AreaXMax=-720;62:AreaYMax=-126.1,Y=-280.5,X=-410.4,AreaXMin=-500,AreaYMin=-384,Z=9.4,AreaXMax=-320;63:X=-410.8,Y=-102.2,AreaYMax=35.4,AreaYMin=-286.1,AreaXMin=-500,Z=-76.9,AreaXMax=-320;64:Y=208,X=-301.7,Z=64,See=Disabled;65:Y=208,X=-301.7,Z=-176;66:Y=-291.5,X=-509.7,Z=64;67:Y=-293,X=-488.6,Z=18.5;68:Y=-282.6,X=-306.7,Z=64;69:Y=-283.6,X=-335,Z=13.9;61-27:;61-48:;4-5:;24-32:;37-48:;55-54:;34-33:;47-46:;22-21:;54-66:;36-35:;55-49:;11-4:;32-35:;55-48:;69-68:;39-31:;10-11:;32-34:;33-32:;38-32:;14-17:;6-8:;18-12:;66-67:;19-12:;3-2:;47-50:;46-50:;40-39:;4-3:;37-55:;27-26:;33-64:;28-27:;65-60:;17-18:;5-12:;26-25:;20-13:;33-51:;5-6:;51-52:;38-36:;56-47:;52-53:;29-46:;48-28:;12-15:;60-63:;32-36:;68-53:;35-8:;62-69:;7-9:;35-34:;2-1:;61-44:;63-62:;21-13:;64-65:;53-32:;54-37:;6-7:;19-20:;61-45:;61-37:;48-49:;42-41:;49-47:;42-46:;57-33:;56-55:;5-3:;43-42:;15-16:;67-62:;59-58:;28-45:;61-28:;56-57:;39-38:;49-56:;41-40:;48-45:;44-43:;50-33:;45-44:;29-30:;58-56:;16-14:

lua/azbot/2_bot_sv.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ return function(lib)
251251

252252
function lib.UpdateBotAngsOffshoot(bot)
253253
local mem = memByBot[bot]
254+
local nodeOrNil = mem.NodeOrNil
255+
if nodeOrNil and nodeOrNil.Params.Aim == "Straight" then
256+
mem.AngsOffshoot = Angle()
257+
return
258+
end
254259
local angOffshoot = mem.AngOffshoot
255260
mem.AngsOffshoot = Angle(math.random(-angOffshoot, angOffshoot), math.random(-angOffshoot, angOffshoot), 0)
256261
end

0 commit comments

Comments
 (0)