I would like to add the nice "Randomly Spawned AI Bandit Camps" feature CCG has to my server, do any of you have a working code that you would like to share?
The code pieces/examples I am after are:
1) The SQF file which places a basic AI bandit camp in the map -- nothing major just a tent and a few barrels, table/chairs etc. [see screenshot in reference #2 below]
2) A method of placing those camps randomly on the map because from what I see SQF has exact coordinates.
3) A method of Sarge customization/files to attach static AIs to (dynamic) random spawn points. Not sure how this will work but there must be a way?
The script I would like to obtain/program will place "AI Bandit Camp" buildings on the map using the SQF, in a configurable number of spots. I'm thinking about 3 to 5 - to be performance tested.
Once the 'building's are placed on the map, next it should spawn a random number of AI Bandit units (I'm using Sarge AI) to guard it.
Once these are done, it should add a custom marker/warning script on the map. When a player gets say about 1000 metres close to one of the random spawn AI bandit camps, they should get a warning that it exists nearby so that even if the player don't have visual on the camp, they will be aware and might look for it & loot AI bodies.
References:
In post there's a reference that it can be done using Sarge AI.
Question
mgm
Hey Guys,
I would like to add the nice "Randomly Spawned AI Bandit Camps" feature CCG has to my server, do any of you have a working code that you would like to share?
The code pieces/examples I am after are:
1) The SQF file which places a basic AI bandit camp in the map -- nothing major just a tent and a few barrels, table/chairs etc. [see screenshot in reference #2 below]
2) A method of placing those camps randomly on the map because from what I see SQF has exact coordinates.
3) A method of Sarge customization/files to attach static AIs to (dynamic) random spawn points. Not sure how this will work but there must be a way?
The script I would like to obtain/program will place "AI Bandit Camp" buildings on the map using the SQF, in a configurable number of spots. I'm thinking about 3 to 5 - to be performance tested.
Once the 'building's are placed on the map, next it should spawn a random number of AI Bandit units (I'm using Sarge AI) to guard it.
Once these are done, it should add a custom marker/warning script on the map. When a player gets say about 1000 metres close to one of the random spawn AI bandit camps, they should get a warning that it exists nearby so that even if the player don't have visual on the camp, they will be aware and might look for it & loot AI bodies.
References:
Thanks in advance!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now