[Tutorial] Objectives

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
Status
Not open for further replies.

Dest

DA Team
Oct 6, 2004
508
0
0
bikini bottom tbh!
Objectives

Defence Alliance 2 contains at this moment three differant objective types, which are: Destroyable, Touchtable and Useable.
This short tutorial only mentions destroyable, the other objectives are pretty much the same.

Destroyable:

destroyable.JPG


This is the 'static mesh' you need to place into your map as destroyable objective. You can change the staticmesh under 'Display>Staticmesh'

When you have done placing the objective in your map, you need to edit some things showing below.

destroyable_da.JPG


[bonusTime] the time added to the game when this objective is completed
[bWinObjective] if this is your last objective you need to set it to 'true', otherwise at 'false' ofcourse.
[MUB+] this is the mission objective showed in the HUD. you can set the image you want to show, the time is message is shown and ofcourse the mission objective text.

destroyable_destroyable.JPG


[alarmRadius] the redius of the alarm that is playing when the objective is under attack (this is set by default)
[AlarmSound] the sound that is played (this is set by default)
[ExplosionType] you can set your emitter explosion effect here (this is set by default)
[Health] here you need to set the health of the objective
 
Last edited:

Dest

DA Team
Oct 6, 2004
508
0
0
bikini bottom tbh!
destroyable_gameobjective.JPG


[DefensePriority] this you have to set from the first objective to the final from 9 to 0. So if you have 2 objectives, then the first objective should have priority 1 and the final objective 0.
[DefenseScriptTags] this is the event of the unrealscriptedsequence, unrealscriptedsequence is mentioned further on in the tutorial.
[ObjectiveName] here you have to set your name of the objective, this is also shown when you aim at the objective ingame.
[Score] the score the player gets when destroyed this objective

This is everything you need to do for the objective, now going furhter with the unrealscriptedsequence:

unrealscriptedsequence.JPG


Place this actor where you want the bots to defend your objective. Also point it at the right direction.

unrealscriptedsequence_events.JPG


As mentioned above here you have to set the event which you have filled in at [Destroyable>GameObjective>DefenseScriptTags]

Everything else is set by default.
 
Last edited:

Dest

DA Team
Oct 6, 2004
508
0
0
bikini bottom tbh!
Now the Buildbeacons where bots build turrets depending which objective is playing in the map at that moment.

buildbeacon_menu.JPG


Place this actor in the map where bots should build a turret or ammobox. Point the actor in the correct direction where the turret is going to point at.

buildbeacon.JPG


[buildclass] The turret or ammobox that the bot should build
[Objective] the object of the current objective, shown below
[suggestbuild] the priority of the build
[Team] 0 for defenders, 1 for attackers

destroyable_object.JPG


This is what you have to type in [Objective] in the buildbeacon actor.
 

Dest

DA Team
Oct 6, 2004
508
0
0
bikini bottom tbh!
If you want to let the player spawn a bit closer to the next objective, you have to place ONLY triggeredplayerstarts in your map

triggeredplayerstart.JPG


[Event.Tag] here you have to name the event of the objective which will be completed when you want to playerstarts to be activated. If the playerstarts are enabled (mentioned below) then you dont have to fill anything here.

[Playerstart.bEnabled] When this is the first spawn point of the game this should be 'enabled', if this playerstart is linked with an further objective which isnt completed yet set is this at 'false' (as mentioned above)
[TeamNumber] 0 for defenders, 1 for attackers
 
Status
Not open for further replies.