ANTI DELETE

 Vrykul


Posted 1 August 2011 - 12:23 am
Hello, I am trying to make the triggers to detect if someone deletes a gate etc like in CBA.
How is this done?
It is hard to copy most cba triggers are hidden and take ages to unhide them
Can someone please explain the sequence of triggers to do this? because the last suggestion i tried simply boots the player for getting legit raze.
Example
New Trigger=?
New condition=?
New Effect =?
Please answer in step by step thanks :)
Link | Reply | Quote
 BF_Basse


Posted 1 August 2011 - 12:36 am
You'll need some kind of raze-counter first:

Trigger: Raze-counter
Starts: ON
Looping: YES
Condition: Accumulate Attribute: 1 Razing
Effect: Tribute: 1 Razing from Player to GAIA
Effect: Activate Trigger: Building Razed

Then a trigger to deactivate the Building Deleted trigger if it was razed:

Trigger: Building Razed
Starts: OFF
Looping: NO
Condition: Timer: 2
Effect: Deactivate Trigger: Building Deleted

This trigger activates the delete-detection trigger:

Trigger: Building Lost
Starts: ON
Looping: NO
Condition: Destroy Object: Desired Object
Effect: Activate Trigger: Building Deleted

If the building was deleted, this trigger will fire:

Trigger: Building Deleted
Starts: OFF
Looping: NO
Condition: Timer: 4
Effect: Punishment for Deleting building

Instead of "Destroy Object" you can use "Own Fewer Objects". This means you can have a "looping" delete-detection when. For example:

Trigger: Building Lost
Starts: OFF
Looping: NO
Condition: Own Fewer Objects: 0 The Accursed Tower (Let's say you start with only 1 tower)
Effect: Activate Trigger: Building Deleted
Effect: Activate Trigger: Re-activate Building Lost

Trigger: Re-activate Building Lost
Starts: ON
Looping: OFF
Condition: Own Objects: 1 The Accursed Tower
Effect: Activate Trigger: Building Lost

I hope this works. It's been a while since I used it last, so there might be something wrong, not sure :)
Link | Reply | Quote
 Vrykul


Posted 1 August 2011 - 1:28 am
HI thanks for reply, i am a bit confused about the trigger raze counter?
i dont see how to tribute 1 razing from player to gaia all i see it tribute resources?
i tried the own fewer objects way, punishment for deleting gate is a boot. so if a enemy destroys my gate i get booted still even tho i didnt delete it, how to make it so that enemy can destroy gate and gain razing , but i am not booted unless i delete it?
Link | Reply | Quote
 Vrykul


Posted 1 August 2011 - 1:38 am
I will tell you about this scenario so you can see what i need to do.
it is a 8 player map, there is rewards for razings for each player,
example. each razing a player gets will research a new tech, up to 11 razings
i have made triggers such as accumulate razing player 1 ,ammount-.= 01 research tech balistics.
then accumalte raziings 2 , research tech heated shot etc etc .
trouble is some people delete the gate and dont get the razing.
i need the player who deletes his gate to be booted, but not booted if the gate was destroyed by a player.
Link | Reply | Quote
 Malroth


Posted 1 August 2011 - 10:55 am
Download trigger studio. Try not and depend on the aoc triggers since it is really buggy. With trigger studio you will find making triggers will not take so lonnnnnnnnng

Link | Reply | Quote
 BF_Basse


Posted 1 August 2011 - 11:56 am
Malroth wrote:
Download trigger studio. Try not and depend on the aoc triggers since it is really buggy. With trigger studio you will find making triggers will not take so lonnnnnnnnng

Yes, download Trigger Studio. It will make you able to tribute Razings, Kills and lots of other cool stuffs. I use Trigger Studio 1.0.0 because it's not as bugged as 1.0.1, so I mainly use only Trigger Studio when making my maps. It's also less laggy when you come over 3-4k triggers. For example my Kings Blood map has about 5800 triggers. It's nearly impossible to work with those triggers in the game editor, but works perfectly with Trigger Studio :p

Another nice feature with Trigger Studio is that you can Copy/Paste triggers and Duplicate triggers to all players (making 8 identical triggers for all 8 players from 1 trigger)
Link | Reply | Quote
 Nassem


Posted 2 May 2015 - 3:07 pm
How to copy trigger studio!
Link | Reply | Quote
 __Yama


Posted 2 May 2015 - 4:11 pm
Nassem wrote:
How to copy trigger studio!

Asking a question (if it can be considered one) in a thread 4 years old. Good luck with that.
Link | Reply | Quote
 BF_Basse


Posted 28 May 2015 - 7:07 pm
__Yama wrote:
Asking a question (if it can be considered one) in a thread 4 years old. Good luck with that.

Meh, I still hang around!

Select the trigger, press ctrl + c to copy it, and ctrl + v to paste it
Link | Reply | Quote
 [MM]Gallas


Posted 28 May 2015 - 7:31 pm
BF_Basse wrote:
Meh, I still hang around!
Hang with mods ;stick


and hi
Link | Reply | Quote
 +[MM]jason


Posted 1 June 2015 - 3:25 pm
Gallas should make a no delete mod removing the delete button.?
Link | Reply | Quote
 [MM]Gallas


Edited 1 June 2015 - 4:02 pm by [MM]Gallas
+[MM]jason wrote:
Gallas should make a no delete mod removing the delete button.?

This thing is on table for a long time. If you wish for more information about how it can be possible or not (because a game or visual mod not enough here), speak with JustTesting1234.


Link | Reply | Quote
[1]
Displaying 1 - 12 out of 12 posts
Forum Jump:
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests

현재 가장 인기있는 포스트들:
AoKTS updates (82 유저)
Word Association (76 유저)
New CS EVENT (26 유저)
TIW 2020 Map votes (24 유저)
이번주 가장 활발한 글: