Author: BlacKnightBK
Author Website:

Requirements: No addons required

Version: 0.2

Short description: The Functions available in Custom AI’s Creator enable you to spawn a single AI with your own choice of gear, a whole squad, and even vehicles full with AIs.

Date: 2017-04-01 09:44


Comments: (0)
Rating:



 

Custom AI’s Creator

by
BlacKnightBK


Description:
The sqf file linked to this document below is a group of functions that would help you create AI’s with your own custom gear, this document is the instructions manual for those functions.

The Functions available in that file enable you to spawn a single AI with your own choice of gear, a whole squad, and even vehicles full with AIs. The best thing is when you decide to call one of those functions you can do it in one line, some functions all you need to do is give it the location and it will do the rest.

PS. You will need to spend some time setting the gear for each soldier type but don’t worry, there are detailed instructions.

I have made this file for my community's use but thought I should share it with all of you and please keep in mind, these are my first functions ever so i hope I get a lot of constructive feedback that would help me get better :D


Installation / Usage:
For usage instructions and information of how to use the Custom AI’s Creator please refer to this document: https://docs.google.com/document/d/1L39OTyL8CVKBv9YEPQUb8grh9gzTLCDR6Y-axfbIlnU/edit


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.

Serena
Midnighters
Larrow
Grumpy Old Man
Tpw
Killzone_kid
Greenfist

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. I would like to keep tabs on file so when I feel it needs updating I can easily do it.


Changelog:
v0.2
Changed the switch in "YI_fnc_setAiLoadout" to if-else statements for faster code execution (Document updated as well).
Edited the "YI_fnc_squadCreator" to take allow you to choose a faction, default faction is still east though you can change the default easily from the function parameters yourself.
Edited the "SER_fnc_spawnVehicleSquads" to allow you to choose a faction, default faction is still east though you can change the default from the function's parameters yourself.
Edited the "SER_fnc_spawnVehicleSquads" to allow you whether or not you would like a spawned helicopter to spawn on ground or in air. (Default: Heli will spawn in air unless you specify otherwise)
Added the "forceAddUnifrom" command to the document this way all clothes can be worn by all factions.
Removed all private variables declaration due to them being useless lines of code

v0.1
First Release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!