Jump to content

ai driving boats


Tornts Hg

Recommended Posts

usea arma2oa editor. go into the game to main menu press ALT+E (this open editor 3d)

1-Create Center West.(blufor)

2-Create Group for center west

3-create a unit for center west.

----------Above you are creating your player to test------

------Bellowl you create the AI boats----

1--Create center East (opfor). Set it as unfriedly for blufor and civilian faction

2-Create group for center east

3-create units for center east.

4-Use "Vehicles" options to create the boats.

5-onces you have it... use waypoints. for example you will need a waypoint "GET IN NEAREST" for say AI get in the boats.

6-you will need other waypoint "MOVE" to say where they move.

7-for finish add a "CYCLE" waypoint to say ai start again all waypoints

this is the more easy way. also u can do it by script but you will need others things

Link to comment
Share on other sites

I did this with Wicked AI in the custom vehicle patrol like so

in this section -

Custom Vehicle patrol spawns Eg. (Watch out they are stupid)

  [[563.343,588.667,13.1238],[191.676,94.0312,30.996],500,5,"Rhib","hard","Random","Bandit"] spawn vehicle_patrol;

Turned out sort of ok, sometimes they were just floating along, not sure if they ran out of fuel or they were just being stupid.

With DZAI it might be as simple as creating custom vehicle spawns?

Create marker-

    _this = createMarker ["weedveh1", [9420.84,11479.1,0.00144958]];
    _this setMarkerShape "ELLIPSE";
    _this setMarkerType "Empty";
    _this setMarkerBrush "Solid";
    _this setMarkerSize [100, 100];
    _this setMarkerAlpha 0;
    _weedveh1 = _this;

Create vehicle type-

["weedveh1","GAZ_Vodnik_DZE",[3,1],2,false,1800] call DZAI_spawn_vehicle;

Obviously this way with DZAI the vehicle will only spawn once the marker area has been entered by a player.

Hope that is some help.

 

 

 

 

Edited by scet27
added more info
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...