Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Kage

 
#1 Posted at 2013-08-27 22:11        
     
My familiarity with BIS Mission Editors extends to AI wars, flying practice, and messing with someone else's mission to see how it works.
This time I would like to start from scratch and learn to use the Mission Editor in Arma 3 to make a proper co-op defense mission. I know this will be tricky in the next 2 weeks until Arma 3 full launch since scripts and the editor are constantly changing, but I would like to get a head start at making a proper mission for my player group as well as the Arma community.

So here is the idea, a mission for 4-10 players on Altis where the objective is to defend an area from increasingly difficult groups of Opfor AI. The Trigger for each wave should be activated by a player within the squad activating a scroll mouse command on an in game object such as a sign or flagpole. At the moment it is not necessary that something will appear on the HUD alerting players that a new wave is starting, but that can certainly be added later.
I have researched trigger activation and AI reaction to triggers using waypoints and vehicles, but I have yet to see anything within the editor or on a tutorial that comes close to this type of trigger. If it requires an external script to create this type of trigger I would prefer to avoid that, respawn scripts and revive scripts are all that I need right now.

The next step would be the creation of AI once a trigger has been activated, rather than having the AI already waiting on the map. To keep performance of everyone's PC and the Server high it would be better to have the AI spawn whenever a trigger is activated, this will be particularly important when adding larger waves of enemies later on in the mission. I have not yet read up on the creation of AI using triggers, nor have I figured out how to create a new trigger once all of the hostiles have been eliminated from a previous wave.

I have researched Base Building, PBO packing and unpacking, Waypoint use and creation, Ending a mission using the task module, AI movement to a point, AI defense of a Point, and using external scripts such as Respawn management and Revive scripts from other modders, but there is still alot to learn.

So two things first. A trigger that can be activated by a player using the scroll command, and spawning AI once a trigger has been activated. Ideas and suggestions?


Author Message

Zlin  



Posts: 12
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-08-28 09:26        
     
As far as a trigger that activates a scroll mouse command.. that's pretty easy using the addAction command to the trigger. Your trigger would be like, bluFor Present, Repeatidly, condition: this, on Act: (this is where your addAction command would go, or a script that has the addAction functions in it may be better)
As far as waves of AI, you may want to look at the Enemy Occupation Script that is available in the editing/scritps section. EOS has a bastion mode which seems to fit what you are wanting to do.
I'm not a master scripter but have been experimenting for a bit now with pretty good success IMO.
Good luck with your endeavor.
Z


Advertisement


Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Kage

 
#3 Posted at 2013-08-29 01:48        
     
I will look into that and see how much work I can get done. Triggers have been finicky for me so far but I am learning.