91
Suggestions & Requests / minimap bricks
« on: January 16, 2018, 11:09:38 AM »
basically 3 types custom bricks which are 1x1 plates:
start node - the origin of the 'map' boundaries
end node - the end point of the map boundaries
display node 1/16 - the point in which the player positions will be shown as a small minimap
display node 1/32
display node 1/64
place start node at point 0,0 in the world, place end node like 20,60. color them the same color.
place display node somewhere (same color as start and end node) and it will display any players that are within the start and end node boundaries (and their slayer team color) relative to the display node size (1/16 will be 1x1 stud for every 16x16 studs on the map, 1/32 is 1x1 for every 32x32, etc. so the 1/16 display map is larger than the 1/64 map)
this should be easy to code. when a start and end node is planted, just do a variable like $startnode[color] = X SPC Y; $endnode[color] = X2 SPC Y2;
when a display node is planted, run a loop that checks the transform of every player on the server and if they are within the start and end node boundaries, it'll display a little static object of their position but divided. so if the map boundaries are like 256x256 studs in size, and you place a 1/16 display node, the minimap will be 16x16 studs in length. from there you can build a little scale model of the map
this is the most intuitive way i can think of to show player locations (maybe at the spawn or whatevrr)
start node - the origin of the 'map' boundaries
end node - the end point of the map boundaries
display node 1/16 - the point in which the player positions will be shown as a small minimap
display node 1/32
display node 1/64
place start node at point 0,0 in the world, place end node like 20,60. color them the same color.
place display node somewhere (same color as start and end node) and it will display any players that are within the start and end node boundaries (and their slayer team color) relative to the display node size (1/16 will be 1x1 stud for every 16x16 studs on the map, 1/32 is 1x1 for every 32x32, etc. so the 1/16 display map is larger than the 1/64 map)
this should be easy to code. when a start and end node is planted, just do a variable like $startnode[color] = X SPC Y; $endnode[color] = X2 SPC Y2;
when a display node is planted, run a loop that checks the transform of every player on the server and if they are within the start and end node boundaries, it'll display a little static object of their position but divided. so if the map boundaries are like 256x256 studs in size, and you place a 1/16 display node, the minimap will be 16x16 studs in length. from there you can build a little scale model of the map
this is the most intuitive way i can think of to show player locations (maybe at the spawn or whatevrr)












