AI part 4
Updated: Nov 29, 2022
Welcome to the fourth AI devlog.
Today we take a look at the basic structure of AI at a glance.

Who decides?
First up is the AIInit.lua. All functions of the AI are initialized here.
The additional modules such as "Player Notification", "Missions" or "Cross AI" are still in the planning stage and will later control AI functions for the player and missions.
The executive area is divided into 3 main functions.
The decision-making for the AI strategies is located in the AI strategy manager.
This is where all the AI's functions are called based on the current situation on the battlefield.
In addition, the "Cross AI" support functions for the player and scripts for later single or multiplayer missions are executed here.
In the Location Creator, bases are built at neuralgic points on the map.
This means that the AI at position x,y can give orders to all units within a radius of 200 meters.
Number of bases or the position is not limited and can be used anywhere on the map.
Normally the AI is able to work with a balanced economy.
But in emergencies such as the destruction of economy buildings, it may be necessary to redistribute resources to ensure trouble-free reconstruction.
This is what the Ecomanager is designed for.
From here, units can be paused or, in an emergency, withdrawn from the construction site.

Who plans?
Once the decisions have been made about which strategies to pursue, they must now be executed.
For this purpose, there is a location manager and executor for each base or base extension.
The manager uses the selected strategy to search for all platoon formers.
It checks if the build conditions are correct (eg low power, base under fire), and compiles a list of platoon formers to execute.
This list is processed by the executor.
Each platoon former has a platoon function assigned to it, which is called by the executor and supplied with the platoon former's data.

Who works?
The individual platoon functions are the actual workhorses of the AI.
After the location executor has started a platoon function, the first thing to do is to search for units that are necessary for the platoon.
A platoon that has a construction order for a building will first look for all available technicians.
If technicians are available, a building site for the new building is sought.
If we have a building site, we look for the technician who can reach the site the fastest.
This technician (or several) is added to the platoon and then gets the construction order.
After the building has been completed, all units are removed from the platoon and are available for new tasks.
Other platoons are responsible for upgrading buildings, for example.
These platoons also first look for units that can be used.
A platoon with an upgrade order will of course look for buildings that can be upgraded.
Here it is ensured that buildings closest to the center of the base are upgraded first.
Other platoons control groups of units to attack, repair buildings or operate nuclear missiles.
And already we have an AI that can build a base, takes care of the building of tanks and sends them diligently towards the enemy.

Thank you for your attention, I hope you enjoyed it.
Regards, Uveso.




https://sc88bn.com/ có cách chia nội dung khá hợp với kiểu hay lướt nhanh của mình. Mình thường chỉ muốn biết phần cần xem nằm đâu, chứ gặp một trang dồn đủ thứ vào nhau là hơi ngại đọc tiếp. Các nhóm ở đây được tách riêng nên nhìn vào dễ định hướng hơn, không phải rà từng đoạn dài để tìm đúng chỗ. Một điểm nữa mình thấy tiện là thông tin tài khoản và hỗ trợ có khu vực riêng. Mấy phần này bình thường ít để ý, nhưng lúc cần mà phải tìm lẫn trong nội dung khác thì cũng mất công. Không cần bố trí cầu kỳ, cứ rõ ràng vậy là mình thấy dễ xem rồi.…
https://qq8876.net/ mình mới mở ra ngó một lúc, chủ yếu xem trang sắp xếp thế nào chứ chưa đọc sâu từng mục. Ấn tượng ban đầu là nhìn khá thoáng, các khối nội dung có khoảng cách nên không bị cảm giác mọi thứ chen vào nhau. Mình thường chỉ lướt nhanh trước, gặp trang nào trình bày quá sát là dễ bỏ sót chỗ đang muốn xem, nên kiểu chia riêng từng phần như này khá hợp mắt. Có lẽ phải xem thêm mới nói được gì về nội dung, giờ mình chỉ nhận xét chút về phần nhìn thôi. Menu cũng dễ thấy, không cần đảo mắt nhiều để tìm chỗ chuyển mục. Trên trang, phần menu và…
ty le keo nhìn khá gọn dù có nhiều thông tin, kiểu mở lên không thấy bị ngợp ngay bởi toàn số là số. Mình thường chỉ muốn tìm một trận đang để ý thôi, chứ không có thói quen ngồi xem hết cả bảng, nên thấy các trận được gom thành từng nhóm như vậy cũng tiện. Chưa quen trang thì cứ nhìn chậm một chút là biết chỗ nào cần xem, không phải mò quá lâu. Một điểm mình thích nữa là lịch đấu với tỷ lệ nằm cùng chỗ, đang xem giờ đá thì liếc sang đối chiếu luôn được. Với mình vậy là vừa đủ, đỡ cảnh mở qua mở lại rồi quên mất lúc nãy…
jw88.bid dạo này mình thấy có người nhắc tới khi nói về các nền tảng giải trí trực tuyến nên cũng thử mở vào xem cách họ bố trí giao diện ra sao. Mình không đi sâu vào nội dung hay từng trò cụ thể, mà chủ yếu quan sát cách các chuyên mục được phân chia trên trang và cách thông tin hiển thị cho người dùng. Nhìn tổng thể thì các khu như thể thao, casino, game bài hay slot thường được sắp xếp theo từng nhóm khá rõ, hiển thị dạng khối và danh sách nên lướt qua cũng dễ theo dõi. Các bảng dữ liệu được trình bày dạng cột khá gọn, giúp quan sát nhanh…
rophim mình mới ghé thử vì thấy bạn bè nhắc hoài, kiểu vào xem có dễ dùng không thôi. Không ngờ giao diện nhìn khá gọn, lướt một vòng là thấy ngay chỗ phim mới với mấy mục phim HD Vietsub đặt khá nổi, khỏi phải mò lâu. Mình thích cái cách họ để poster theo từng khối nên kéo xuống rất nhanh, gặp phim hợp gu thì bấm phát xem luôn, không bị rối mắt. Chất lượng thì mình chưa xem hết, nhưng thấy có ghi HD 4K nên cũng yên tâm phần hình ảnh. Nói chung lần đầu vào mà không bị “lạc” là điểm cộng, nhất là phần phân nhóm phim HD Vietsub nằm rõ trên trang.