LV Addon

LV Addon

« posted: Sep 05, 2015, 04:43 PM »
I was wondering if anyone had a little more experience than I do when it comes to this addon.

I'm trying to configure some of the options, like the AmbientCombat and HeliParadrop.

Though I'm a bit confused as to the setup of this. I was looking at just having it be triggered by a player gets near or crosses said point X and it triggers the event.

Any ideas?

Re: LV Addon

« Reply #1 posted: Sep 05, 2015, 07:35 PM »
There a AISSP inside the zip. Found that?

Open it and u will see sth like this:



U can setup every single script, from ambient combat to heli paradrop.
In shown case, let me explains just few things:

AI skill should be customized. Even 0.5 is very hard.
AI communication is more fun, cause the enemy AI call each other - and it works.
Patrol type: MANY options! We decided search & destroy.
If u only want BLUEFOR units, set the others at Ratio to zero
Last but not least: multiplayer

Every change above changes the output, u see at bottom. If ready, open ur init.sqf and add at the end sth like this:


Code: [Select]
[all other scripts]
[] execVM "addons\scripts\intro.sqf"; // Welcome intro
[] execVM "VCOMAI\init.sqf";
[] execVM "addons\statusBar\fn_statusBar.sqf";
[] execVM "addons\fpsFix\vehicleManager.sqf";


//AI Spawn Script Pack


nul = [600,1100,30,200,5,[1,1,1],player,[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],1,2500,nil,["COMBAT","SAD"],true] execVM "LV\ambientCombat.sqf";
nul = [player,3,true,2,[5,5],1,0.2,nil,nil,nil] execVM "LV\fillHouse.sqf";
nul = [player,0,800,[true,false],[true,false,true],false,[5,3],[1,1],0.2,nil,nil,nil] execVM "LV\militarize.sqf";
nul = [player,false,1,2,false,true,player,"random",1000,true,false,6,0.2,[true,true,false,false],nil,nil,nil,true] execVM "LV\reinforcementChopper.sqf";
nul = [player,3,true,false,1500,"random",false,500,300,8,0.5,200,true,false,false,true,player,false,0.2,nil,nil,nil,true] execVM "LV\heliParadrop.sqf";
nul = [[1],[player],500,true,true] execVM "LV\LV_functions\LV_fnc_simpleCache.sqf";
};

Don't forget the last }; behind all the LV scripts.

Hope, this helps a bit ..

Re: LV Addon

« Reply #2 posted: Sep 06, 2015, 08:21 PM »
@GriffinZS Thank you!

I saw that HTML file but didn't click it silly me. I also didn't have the nul in front of the start of the line.

We are testing it now, to see if it works.

I did get an error right off the start with the start

14:20:35   Error Missing {
14:20:35 File mpmissions\__CUR_MP.altis\init.sqf, line 97
14:20:35 Error in expression <nil] execVM "addons\LV\militarize.sqf";
};
>
14:20:35   Error position: <};

I have the }; at the end of the string of code for the LV AI scripts, though I would think I need them at each end of the code? or just one at the start of the block of code and then the one at the end of the block?


** update ** I didn't need the }; at the end of block of scripts for the LV AI, I took that out and they are working. I just got shot in the head by tank.

Again thanks for your help!

Re: LV Addon

« Reply #3 posted: Sep 06, 2015, 08:58 PM »
Edit: perfect!  ;)

For better ai, look at his one: http://www.armaholic.com/page.php?id=27834

Re: LV Addon

« Reply #4 posted: Sep 06, 2015, 09:53 PM »
** update ** I didn't need the }; at the end of block of scripts for the LV AI, I took that out and they are working. I just got shot in the head by tank.

Again thanks for your help!

Re: LV Addon

« Reply #5 posted: May 08, 2018, 05:08 PM »
Had to change one line of code to get this to work correctly.
It is great
First line in the init.sqf file has variables missing.

Here is my init.sqf addon for multiplayer works great:

//AI Spawn Script Pack
nul = [450,900,15,40,6,[1,1,0.3],player,30,20,true,[0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3],true,2500,nil,["COMBAT","SAD"],true,true,["ALL"]] execVM "LV\ambientCombat.sqf";
nul = [player,3,200,[true,true],[false,false,false],false,[5,5],[1,2],0.5,nil,nil,nil,true,false,["ALL"]] execVM "LV\militarize.sqf";
nul = [player,false,2,2,true,true,player,"random",2000,true,false,8,0.3,[true,true,true,true],nil,nil,nil,true,false,["ALL"]] execVM "LV\reinforcementChopper.sqf";
nul = [player,1,true,true,2000,"random",true,200,150,8,0.5,80,true,true,true,true,player,false,[0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3],nil,nil,nil,true,false,["ALL"]] execVM "LV\heliParadrop.sqf";
nul = [[1],[player],500,true,true] execVM "LV\LV_functions\LV_fnc_simpleCache.sqf";