I tought more on a system where i can place all the xxx_randomaiassets_xxx in the GPO. For excample, i placed all ammocaches manually. Multiple times i set more than 300.
For better explaination: The xxx_randomaiasset_type1_xxx doesnt exist yet. The xxx_ stands for a name of the asset and get replaced by the original name of the asset.
The nl_bipod_alt would be cloned and renamed to nl_randomaiasset_type1_alt
Now i clone the insrg_bipod and rename it to insrg_randomaiasset_type1
Now i place 99 nl_randomaiasset_type1_alt and only 1 insrg_randomaiasset_type1
When the pythoncode only checks for the middle part of the name, (randomaiasset_type1), i will have mostly of all rounds the nl_bipod_alt on the map spawned but one day ….. the insrg_bipod will spawn. Now, Imaging, if the insrg_bipod would be a tank!
I would mostly have nl_bipods_alt spawned and one day a Tank. That's the reason why i want the script only looking for the part of the name. If it would check for the full name (like ammocache) i wouldn't get this variety. Another reason why the script should look like this is IS because the PR python mostly a created in this criterias.
The reason why i want to place the randomaiassets manually is because i must be sure, that all asset get randomly spawned on the NAVMESH. Some bipods would also be placed on roof where or balconies where no navmesh is but that can be solved with "DONTALLOWEXIT" tweakline to prevent exiting.
Sofar i understand you, if you let spawn assets like you wrote (via rcon invoke), you need a database with coordinates (x-y-z) for a good spawnplacement but what is with rotation?
Also, to get the infos for the database, you have to place bipods on every nice Location on the map. So when all bipods already placed why creating a database when everything is already done?
The advantage of your database system is you can add all time more bipods without modifying the map, so nobody needs to redownload it. That's cool. Same like ESAI. You can modify strategies on a map without touching the map.
Exist there more advantages for your system like better performance or is the main PR python structured like you explained above?