Community Forums > Voobly Community > Age of Empires II: The Conquerors > Custom Scenario > Scenario Design > Scenario Design Questions > Change in status of a unit by specific condition.
[1]
Displaying 1 - 9 out of 9 posts
2 User(s) are reading this topic (in the past 30 minutes)
0 members, 2 guests
0 members, 2 guests
Dân số hiện tại:
Word Association (74 Người chơi)
1.6 reward campaing (60 Người chơi)
CBA PathBlood 1.8.0 (54 Người chơi)
AoKTS updates (41 Người chơi)
Photos of Voobly Players (22 Người chơi)
New CBA Hero now supports HD / D... (19 Người chơi)
Setting up port forwarding in ro... (15 Người chơi)
Chủ đề tích cực nhất tuần qua:
1.6 not working with me anymore... (9 Bài viết)
Setting up port forwarding in ro... (9 Bài viết)
Error al lanzar la partida (5 Bài viết)
i can't play in new player (3 Bài viết)
1.6 EASY SYNC ERROR (3 Bài viết)
Idle TC and quick classical vs E... (3 Bài viết)
Why will this error occur after ... (2 Bài viết)
I would like to know how to make a unit's attack/hp increase with a kill or razings. Like 1 attack increase on every 5th kill or razing. Answers will be appreciated. Thanks in advance.
In AOKTS, Tribute 1 Kill to GAIA along with the Condition of Kills(assuming you have only 1 Unit whcih is Killing) and then use this as Condition in the Next Trigger to Check if the Players has Tribute 5 Kills to GAIA then Increase the HP/AP of that Specific Unit.
Download Link: [You must login to view link]
Trigger 1(on)
Condition 1: get 5 kills
Effect 1: Enable Trigger 2
Effect 2: Disable Trigger 1
Trigger 2(off)
Effect 1: Add +1 AP to unit
Effect 2: Enable trigger 1
Effect 2: Disable trigger 2
Or it's too recursive and crashy?
I knew a way to make it work with In-game editor(I tried it as well) but I don't remember it now because I have not used it for a long time. I am just looking for that method if anyone remember it. I just remember that it was some kind of trick like on every kill, one unit was created and killed at same time on a specific location of map but this method somehow balanced the loop and increased AP on assigned kills only with loop.
Trigger 1(on)
Condition 1: get 5 kills
Effect 1: Enable Trigger 2
Effect 2: Disable Trigger 1
Trigger 2(off)
Effect 1: Add +1 AP to unit
Effect 2: Enable trigger 1
Effect 2: Disable trigger 2
Or it's too recursive and crashy?
I also tried this method and it should work but for some unknown reasons, it is not working as it should and after assigned kills, loop starts increasing AP.
Trigger 1:
Starting scale: On
Trigger Loop: On
Condition 1: Accumulate Attribute
Attributes List: Kill Ratio
Source Player: Player 1
Quantity: 1
Effect 1: Create Object
Object List type: Unit
Object List: Any unit(e.g Archer)
Source Player: Player 1
Set Area anywhere.
Effect 2: Kill Object
Object List type: Units
Object List: <None>
Source Player: Player 1
Set area same as of Effect 1.
Effect 3: Change Object Attack/HP
Just Select the unit with Source player set to Player 1 and a suitable quantity like 5.
I tried this out and it is working
I would like to know how to make a unit's attack/hp increase with a kill or razings. Like 1 attack increase on every 5th kill or razing. Answers will be appreciated. Thanks in advance.
Here other way:
Trigger: starting YES looping YES
Condition 1: Accumulate Attribute (player1): 5 kill/razes (as you want)
Effect 1: Send Tribute (player 1 to gaia): 5 kill (you need [You must login to view link] for this function)
Effect 2: Change object hp/attack (whatever you want)
Pros:
- 1 trigger / 1 player
- repeatable with other stuffs
- easy to make/edit
Cons:
- You cannot get more than 5 kills/razes
- For extra bonuses you need more complicated mechanisms
Trigger: starting YES looping YES
Condition 1: Accumulate Attribute (player1): 5 kill/razes (as you want)
Effect 1: Send Tribute (player 1 to gaia): 5 kill (you need [You must login to view link] for this function)
Effect 2: Change object hp/attack (whatever you want)
Pros:
- 1 trigger / 1 player
- repeatable with other stuffs
- easy to make/edit
Cons:
- You cannot get more than 5 kills/razes
- For extra bonuses you need more complicated mechanisms
Thanks mate
I was looking for a method to do it without using external tools. Thank you for your answer.
I may give it a try