Author: BlacKnightBK
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This is a remake of my previous ones 0.1 and 0.2 in which this time the functions are gets saved in the CFG Functions instead of being read from the mission file.

Date: 2017-04-11 14:22


Comments: (0)
Rating:



 

Custom AI Creator

by
BlacKnightBK


Description:
Welcome everyone to Custom AI Creator v 1.0. This is a remake of my previous ones 0.1 and 0.2 in which this time the functions are gets saved in the CFG Functions instead of being read from the mission file. To know more about the benefits of the CFG Functions, click here.
Other updates of this file are now I have re-written the function setAiLoadout to a more efficient version and added a new function parseLoadout. These two together replace the old and awful version of setAiLoadout.
This version of the CAC only spawns the AIs and sets their gear, future updates will be creating functions that task those AIs. Already started on those.

I have documented all the functions in google docs. The functions that need you to set them up I have written detailed instructions on how you can set them up.

If you find any difficulty in understanding a function please let me know. I am always on TS: 5.189.191.211:9988 and on the forums here


Installation / Usage:
For usage instructions and information of how to use the Custom AI Creator please refer to the included documentation and/or example mission.
Online documentation can be found here: Custom AI Creator doc.

Take the description.ext or if you already have one merge it with yours.
Simply copy the function's file "Custom_Ai_Creator" into your mission folder and set up the functions that need setting up. Those are:
fn_setAiLoadout
fn_spawnAiUnit
fn_spawnInfantry
fn_spawnVehicle
That's it, you are set to create your AIs in your mission file as you wish :)
Now go over and make your mission then share em with me


Credits & Thanks:
The credits go to all the people who were a reason for this file to exist whether they directly contributed in its making or were a motivation.

B. Hendricks AKA merm8 - For everyone who supported me one way or another, merm8 is the reason I decided to learn in the first place, I owe him the biggest gratitude of all. If it wasn’t for him I would be grinding money on RP servers or losing it, every line of code i write, every texture i make and the reason i actually love programming like I never did is thanks to him :)

My wonderful Teachers - Who said teachers are just in classrooms?? For every single year i spent in school and college I have never enjoyed learning like I did from these people. All the people I am about to mention below have taught me everything I know about scripting for arma, in some cases they have gone as far as writing down the functions i need asking for nothing in return. Big shoutout to all of them :D They have not just taught me a big chunk of what i need to dive into the arma 3 scripting world, they opened for me a new world. Now I see gaming from a whole different perspective.

HOVERGUY
Serena
Midnighters
Larrow
Grumpy Old Man
Tpw
Killzone_kid
Greenfist
Apprentice: M.Miller (he asked for it)

Almost forgot myself lol! Well in Arma I am know as Y. Ibrahim, on forums I am known as BlacKnight BK, pop in and say Hi.
I am usually available in my community’s TS: 5.189.191.211:9988


License / Disclaimer:
You are free to use the file as you wish as long as you keep the credits. You can edit the functions too as you wish however would appreciate letting me know if the changes you make would be useful to the rest of the community.
Re-uploading the file is not allowed without permission (unless on ArmaHolic). I would like to keep tabs on file so when I feel it needs updating I can easily do it.
You can re-share this file with others as you wish as long as you do not re-upload it to the public.


Changelog:
v1.0
- first release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!