Forum Jump :

Author Message


Posts: 31
Rank:


Level: Member

Country: it
Location:
Occupation:
Age: 51
In-game name: Grenadier

 
#1 Posted at 2018-03-05 17:53        
     
Small script similar to the randomSpawnTown. This creates small patrol units in non-strategic areas.

Features


- Works in singleplayer and multiplayer.
- Decide the number of activation cycles
- decide if it is necessary to generate units even in buildings
- decide whether to generate only units or even vehicles.
- Activation radius and consequent spawning
- Works both with vanilla patrol and with CBA patrol. The script identifies if the CBA mod is present and uses the relative code.

For the vehicle;

- Choose vehicles to randomly spawn with radius [minimum, medium, maximum]
- make them static or patrol (always random)
- choose the patrol radius [minimum, medium, maximum]
- when the vehicle is spawned, the patrol radius is automatically modified

for walking units;

- choose random spawning units with radius [minimum, medium, maximum]
- make them static, dynamic (patrolling) or in buildings
- choose the patrol [minimum, medium, maximum]
- decide which configuration the units should have

video tutorial: Tutorial

procedures:

put script into the mission folder
put a logical unit on the map
put in the logical unit the code; null=[this,1,false,true,[75,100,150],500] execVM "RandomSpawnAIx.sqf";

Meaning [this, cycle, unit_building, vehicle, Radius_Patrol, Radius_activation] execVM "RandomSpawnTown.sqf";

cycle = ciclo di attivazione script - cycle optimization script
unit_building = activates and deactivates (true / false) the positioning of units in buildings
vehicle = true spawn vehicle
Radius_Patrol = Min-med-max random patrol radius
Radius_activation = Minimum distance at which the spawning is activated

Download script Script

Member ITF Clan
www.italiantaskforce.it

Author Message


Posts: 20403
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 42
In-game name: Foxhound

 
#2 Posted at 2018-03-06 11:02        
     
Thanks for posting your release here on the forums!
You can find the Armaholic mirror here:



Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 31
Rank:


Level: Member

Country: it
Location:
Occupation:
Age: 51
In-game name: Grenadier

 
#3 Posted at 2018-04-05 08:44        
     
small update but fundamental.

Bug fix

RSAIx v1.2.1

Member ITF Clan
www.italiantaskforce.it

Author Message


Posts: 20403
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 42
In-game name: Foxhound

 
#4 Posted at 2018-04-05 09:29        
     
Thanks for the update!
You can find the updated Armaholic mirror here:



Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 1
Rank:


Level: Member

Country: de
Location: NRW
Occupation: Musician, Developer
Age: 33
In-game name:

 
#5 Posted at 2018-04-05 10:57        
     
Hi,

I am aware that this is my first post and probably a dumb question.
Really sorry if that is the case, feel free to delete my post then.

So, does this script also work with Arma 2 OA, or does it include specific lines which have been introduced only since Arma 3?
I am new to coding and really interested - Yes, I own both games, but I prefer to study with the A2OA engine.

Regards

@= partygurke @=

Author Message


Posts: 31
Rank:


Level: Member

Country: it
Location:
Occupation:
Age: 51
In-game name: Grenadier

 
#6 Posted at 2018-04-24 09:53        
     
# partygurke : Hi,

I am aware that this is my first post and probably a dumb question.
Really sorry if that is the case, feel free to delete my post then.

So, does this script also work with Arma 2 OA, or does it include specific lines which have been introduced only since Arma 3?
I am new to coding and really interested - Yes, I own both games, but I prefer to study with the A2OA engine.

Regards

Hello. every question has its own why. I created this script with arma3 so I do not know if backwards compatible. Since you have arma2 you should try it directly.

Member ITF Clan
www.italiantaskforce.it