Лучшие шаблоны ucoz бесплатно. Музыка и песни в альбомах. Строительный форум
07:07, 01.12.2024
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
[DA2] Basic Mapping Tutorial
UltraKillДата: Thursday, 04.04.2013, 16:58 | Сообщение # 1
Main Developer.
Группа: ADMINISTRATOR
Сообщений: 59
Репутация: 665
Статус: Offline
In this basic tutorial I will explain step by step how to make your own Defence Alliance 2 map. It is required that you know the basics of level design in order to follow this tutorial.

I've already made a simple level, where I plan to have one destroyable objective. I will also place serveral actors in which I let bots defend and make a turret. And finally I will place a defensive turret in my level.

<Download example map from the attachment>



TeamConfig

We will begin with the TeamConfig actors. These will determine how many turrets and ammoboxes a team can built.
We have to place two TeamConfig actors, for each team. We have to set the team numbers for each actor, by default they are defenders. So in the first actor we have to change the turret limits and bot behaviour to Defend. In the second one we only have to change the team number to 1.

Team 0 = Defenders
Team 1 = Attackers



Objective

Now that we have deterimed what team will attack and defend (ps.teams cannot be switched around), we will add our Objective. As I said in the introduction, I have chosen for a destroyable Objective, but it's also possible to add a switch or an area that needs to be reached by the attackers.



By default the static mesh will be a switch when you first place it, I have changed it into an oil tower. When rebuilding our map, i've received an error that our Objective is not on a valid base. This means that the collision circle isn't in touch with the ground. We have to change the PrePivot in order to fix this issue.



When we rebuild our map now, it doesn't give any errors. We now have to set the health of the Objective, I've changed it to a 1000 health.



Finally we can set this Objective as win. This means that when this Objective has been accomplished, the game will end. In every map it is required that you have atleast one Objective that wins the game. We can also set a value for BonusTime. When this Objective has been accomplished, this time will be added to the clock, and will give the attackers more time to get to the following objectives.

Under MUB, Mission Update B.. (I forgot), we can set a message that will be shown to the defenders and attackers when this objective has been accomplished.

When you have multiple Objectives, you have to change the DefensePriority in +GameObjective. The first objective will start with the lowest priority, for instance we have four objectives, then the first objective has DefensePriority 3, the second: 2, etc and then the final Objective has 0.

In the GameObjective tab, we can also set the score that the attacker will receive when he accomplishes this Objective.
And the name of the Objective, which will be shown in the HUD.

Finally we have to set the DefenseScript here, which we will talk about next. 



We can now also give the Objective an Event. With this event you can trigger a series of other actors, like TriggeredPlayerstarts, so the attackers can spawn at this objective. 
We give this Objective the following event: first_objective.



DefenseScript

We can now place actors which let defenders stand at. These are called UnrealScriptedSequence. They are already setup, so you only have to place them in the map, and change it's Tag. We gave it the same name as the objective: first_objective, this has to be entered at the GameObjective tab in the properties of the Objective, like we just talked about.

You can also change the time the defender has to stand at this actor and a certain other options, which I won't go into detail in this tutorial.



BuildBeacon

To let the defending bots built structures, like turrets or ammoboxes. We have to place a builtBeacon somewhere we thing would fit. We first have to get the object name, that is given to the Objective, we want the defending bots to built their turret at. In our case it's called: "da_objective_destroyable0"



After placing our builtBeacon, we then have to type at Objective: "da_objective_destroyable0", and it will automaticly change to "da_objective_destroyable,mylevel.objectivedestroy able0". We can also choose if we want it to built a random structure there. But in our case we will let it at False, and select a turret from the dropdown list.
You can then also set the suggestbuilt, which determines the priority which turret should be built first (0 has most priority) And finally we have to set the team. (Team 0 = Defenders, Team 1 = Attackers)



by Dest
 
  • Page 1 of 1
  • 1
Search:

image

Ad's

Здесь может быть Ваша реклама.

Buy Place
image

Ad's

Здесь может быть Ваша реклама.

Buy Place

How To Contact?

  • Skype: CHEATER_1992
  • E-mail: CHEATER.Q3@gmail.com

Info About

  • Copying of materials is permitted only with reference to the source.