You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Have a Trigger Request? Post it here!
« Previous Page  1 ··· 10 ··· 19 20 21 22 23 ··· 30 ··· 40 ··· 50 ··· 60 ··· 70 ··· 80 ··· 90 ··· 100 ··· 101  Next Page »
posted 01 February 2009 11:53 AM EDT (US)   
So you have a question trigger request?

You can post it here!



Hello and welcome to the Trigger Request Thread (TRT). This thread's purpose is only to place trigger requests and discuss them. If you have unrelated questions or need help with triggers, please use Azur's thread!



Before posting your request, it's always good to read the so-called FAQ.

  1. What is a FAQ?
    The term "FAQ" (when pronounced, it rhymes with "back") is an acronym for Frequently Asked Questions.

  2. How do I install a trigger?
    When we have finished making your trigger, we'll post the required code here. To install this code you will first of all need to find your way to the AoM installation folder. C:\Program Files\Microsoft Games\Age of Mythology by default). Now open the trigger folder if you intend to use the trigger in vanilla, or open the trigger2 folder if you use The Titans expansion. Next, open the file called typetest.xml. The only thing left to do is copy the code at the right position and save. If you requested a condition, then place the line above < /Conditions>, if you requested an effect paste it right above < /Effects>. Note the "s" at the end of both tags.

    Notes:

    1. When copying the trigger from someone please click first and only then copy the required code.
    2. If you're still uncomfortable with installing triggers please backup the original typetest file, i.e. copy the original to another folder.


  3. How do I uninstall a trigger?
    If a trigger happens to be faulty or if it generates errors you better remove it. Just do as if you were installing a new trigger, but instead of copy-pasting new code, remove the code corresponding with the chosen trigger. Make sure to remove it completely, including the starting < effect > or < condition > tag and the corresponding < /effect > or < /condition > closing tag. Failure to do so properly will cause XML errors in the file making ALL triggers in that file inaccessbile for AoM.

  4. So... How exactly are new triggers made?
    AoM has a built-in engine that can parse XS code. Triggers are programmed and interpreted using this language through a series of existing functions. Since there are over 600 functions, and only a few are used by the default triggers, this leaves plenty of room for a whole new set of advanced, useful triggers.

  5. Can I request anything?
    Although we can do a lot with today's knowledge, there are still limitation we won't ever get around. So if you think of a cool new trigger, make sure to post a request but don't forget you might get a negative reply. Commonly requested triggers that are not possible include (but are not limited to):

    • Modify Unit: change the stats of 1 particular unit.
    • Change Playername
    • Change Major God
    • Transform ALL units on map for player
    • I'll add more when I think of them.


  6. I want to learn trigger scripting, how do I do that?
    It takes quite some time, but if you really want to learn trigger coding, we recommend fully understanding XS language before you start making triggers. Therefore, go here: Master XS (WIP). If you want to skip all that, and you want to be able to create only simple triggers, read this guide.

  7. Help! My triggers have stopped working!
    Triggers Stop Working Guide. Also linking camera tracks, using Run Immediately, sound timers and decimals in conditions like Timer and Distance to Unit effect, might cause this. Moreover, typing an invalid name on the Victory Conditions will cause a trigger block. But post these sort of questions in the Great Question thread.



Resources

Recommended Downloads:
  1. Trigger Loader 2 + Quest Vars (AoM && TT) by invent00r and Mythic_Freak
  2. SomeNewXTriggers 3 (TT) & SomeNewTriggers 4 (AoM) by Reyk
  3. Proactive Triggers (TT & AoM) by invent00r
  4. Advanced Triggers Set (TT) by pftq
  5. New Custom Triggers (TT) by Baseballkid14
  6. Nottud's Latest Triggers by nottud
  7. Conditonal Effects (TT & AoM) by nottud
  8. Angry Levels (TT & AoM) by angryzor
  9. SIMSTools (TT) by angryzor
  10. Target Protounit Query by HailToTheOboe

Miscellaneous:
  1. First TRT by invent00r
  2. Trigger Templates by Mephiles
  3. A list of all guides sorted by Paperfriend




Posting a Request

So you have read the FAQ and want to post a request? OK, go for it, just be sure to use the following format:

Name - This should be as straightforward as possible. Try to comply with today's standards.
Description - Always describe the actions that you want the trigger to perform.
Example - Optional. An example can be a great help when requesting complex triggers.

[b]Name[/b] -
[b]Description[/b] -
[b]Example[/b] -

We might even ignore posts in other formats if we're in a bad mood
Remember that not all triggers are possible but we will try our best.




Unfinished Requests

  • Unit Patrol by Bingo Little
  • Army Wander by Endarron
  • QV Damage Units in QV area by name by mrjonathan0
  • Unit Heading Towards Unit by dwieeb
  • Damage units in Area by % (has been done before?) by Steak And Khan
  • Most Units In Area by Sir_Hans
  • QV Modify x by satansfall
  • Move from area to random area by Mister SCP
  • Set Unit Formation by aZeusDude2
  • Army Deploy Random Myth Unit by bgan
  • QV Randomize Series by Alexgd92
  • Convert all except protounit (or unit) by Joshonator
  • SET Ambient Colour/Sun Colour/Sun Specular/Terrain Ambient Fade Version by andrewv42
  • Damage units near army by AJER
  • QV count units in area with state by AuroraP
  • QV Grant random resources per stat by AuroraP
  • Condition: Random Timer by SwordOfValor
  • Army deploy in line by SwordOfValor
  • Condition: unit (type/in area) worked on other unit. by WinstonShnozwick
  • Gruoup selected by Guard of Olympus
  • Pick Unit by XxXItachiXxX
  • Modify Protounit All Percent by AuroraP
  • Random Forest by Bubble

  • Finished Requests

  • Damage Units near protounit for sneaky_squirrel & mrjonathan0
  • Move units from area to unit for Azur
  • Clear Chat History of Player & Chat Contains Anything for Lewonas
  • QV Change unit type by ID for Yeebaagooon
  • Move to QV Unit for Yeebaagoon
  • QV Modify Protounit for Xzyiothe
  • Player Kill GP Slot for Titanic Kraken
  • Move all player units for Anstar
  • Protounit Change Name for Dimir_Guildmage
  • Shop start/end with max for Mephiles
  • Diplomacy trigger for Yeebaagooon
  • Diplomacy both ways trigger for Yeebaagooon
  • Modify protounit trigger for Yeebaagooon
  • Convert trigger for Yeebaagooon
  • Make all units have no bonuses for Brighty
  • Conditional Army Units in Area for Sneaky_Squirrel
  • GROUP Select 2 for AuroraP
  • Send QV Color Chat for Alexgd92
  • Quest Var xModify for Alexgd92
  • QV Randomize 4 amounts for Alexgd92
  • QV Set Population Count for Beelzebub
  • Units in area of army for SwordOfValor
  • Damage units in area of army for SwordOfValor
  • AG with armies for SwordOfValor
  • Army deploy QV Count for Silicone Ruff Jr
  • Quest Var set rank for gunner1
  • Convert units in area to random player for Zorx
  • Units Change Name By Type for beerad
  • Army deploy where the units facing for SwordOfValor
  • Unit Heading Towards Unit for Noble
  • Convert Random Units In Selection for xEXOLARx
  • QV Set Units in Area (Center Army) for SwordOfValor
  • Move Units from Area (action) for SwordOfValor

  • Enjoy.
    Last updated: 03 september 2009

    If we knew what it was we were doing, it would not be called research, would it? - Einstein, A.
    Master XS - AoM Code Reference - Trigger Loader - Trigger Requests - Chess

    Wow, I never thought that I would actually know something before nottud did... it's actually not all that satisfying ~ Steak

    [This message has been edited by Mythic_Freak (edited 01-16-2010 @ 08:01 AM).]

    Replies:
    posted 12 July 2009 12:13 PM EDT (US)     501 / 2506  
    Hey guys! Where can i get the "specific unit follower camera" trigger? I really need it. Please help!
    posted 12 July 2009 02:36 PM EDT (US)     502 / 2506  
        <Effect name="CAMERA Cut Protounit">
    <Param name="ProtoName" dispName="$$22434$$ProtoName" varType="protounit">Villager</Param>
    <Command>uiZoomToProto("%ProtoName%");</Command>
    </Effect>
    Loop it in a trigger.

    What are the key ingredients to make a popular RPG? To find out, read the results of the RPG survey.
    Want to create an advanced patrol/pathfinding system? Have a look at the powerful Pathfinding triggers.
    Games I'm playing: The Witness [80%] Chivalry: Medieval Warfare [20%]
    posted 12 July 2009 07:05 PM EDT (US)     503 / 2506  
    Xzyiothe is just annoyed because it has just been asked twice recetly the exact same question!

    The boy with the mad imagination
    Prepare for the ultimate duel!
    Learn to use all my triggers and what you can do with them. Visit here.
    Find out and download the transform trigger here.
    Play some minigames I have created outside AOM including some 3D games here.
    posted 14 July 2009 08:46 AM EDT (US)     504 / 2506  
    I have a trigger request:

    Type: Condition
    Name: Gruoup selected
    Layout: Group:Name of group

    ~Guard of Olympus ~
    _______________________________________
    Jag ser mot solen och tankarna de för mig hem till AomH SD igen
    Learn how to create a website from scratch!
    _______________________________________
    Dark Times|My work (4.6)|Teaser #2

    [This message has been edited by Guard of Olympus (edited 07-15-2009 @ 01:23 PM).]

    posted 14 July 2009 11:56 AM EDT (US)     505 / 2506  
    Name:-Pick Unit
    Description:-I need a trigger that does more than one thing
    This is for a unit selection part of my rpg scenario
    I already know how to do it but it requires alot more clicking. so
    - kills selected unit and (Folstag flag bearer)
    -which unit to deploy
    -teleports to a selected area
    -pick what player u want it to spawn as
    -change name when deployed

    It would be better if it has a scroll list to pick unit and etc.
    i would appreciate this all in ONE trigger cause i can already do it with a few

    Thx
    XxXItachiXxX

    [This message has been edited by XxXItachiXxX (edited 07-14-2009 @ 12:33 PM).]

    posted 15 July 2009 09:28 AM EDT (US)     506 / 2506  
    Great new layout Mythic, should be easy to find all my triggers that deleted themselves now !
    Damage Units near protounit for sneaky_squirrel & mrjonathan0
    Ah one of the most useful, used in BerryZ for the suicide ox cart ;p.

    ______________________________________ Yeebaagooon ______________________________________
    ____________________ AoMH Seraph ____________________
    "You can't trust yeebaagooon to lead a rebelion, He would send everyone to steal mirrors so he could bask in his own brilliance." - Out Reach
    "Yeebaagooon had never seen a more handsome man in all his life. He couldn't control himself, He needed to act. Gripping the mirror in his strong arms he kissed the figure before him..." - Out Reach
    AoMH: Unfinished Scenarios|Singleplayer: Codename Ripto|Multiplayer: Minigames Z|CSC 7
    Ex Seraphs Dictator, Spore Heaven Seraph
    posted 15 July 2009 04:27 PM EDT (US)     507 / 2506  
    Thanks, Lewonas! And what about this?

    uiLookAtSelection();
    posted 16 July 2009 04:33 AM EDT (US)     508 / 2506  
    o

    1. Perfection is impossible.
    2. Nothing is impossible.
    3. There are always exceptions.

    [This message has been edited by troy_im_no_noob (edited 07-18-2009 @ 00:07 AM).]

    posted 17 July 2009 10:43 PM EDT (US)     509 / 2506  
    Name - QV Set (Population Count)
    Description - Set a QV value based on population count of a player.

    I don't have a penis - Ashrzr | What, ash has a penis - Blatant | no, I lie no longer - Ashrz
    Proof that Noodle is a typical tea-drinking British
    don't I have enough nicknames already - Revenge | no, you need more - Jack | says the tea drinking British! - Revenge | yes, say i. - Jack
    Enlightenment is only one click away

    [This message has been edited by Beelzebub (edited 07-18-2009 @ 03:15 PM).]

    posted 18 July 2009 06:34 AM EDT (US)     510 / 2506  
    I think it's already been made.

    download the resources above or Nottud's editor superpack which also contains trigger, maybe you will find what you're looking for.

    BARTHOLOMEUS
    specialized mostly in RPGs since 2004 - his creations
    Latest Project: Rise of The Ancient: The Cursed Lands
    experience True RPG ever created on AOM - coming soon
    "This is the Reason why you have to play AOM again." ~deadwalker
    Submitted Files: Greece Main Menu AoM Chess Panos's Journey
    posted 18 July 2009 02:56 PM EDT (US)     511 / 2506  
    Lies >.>
    I've checked before asking question, sir. (Well, not in the download section, because that place is huge and scary and unless you know a specific trigger pack to look for, you shall be lost forever in an abyss of eternal darkness)

    I don't have a penis - Ashrzr | What, ash has a penis - Blatant | no, I lie no longer - Ashrz
    Proof that Noodle is a typical tea-drinking British
    don't I have enough nicknames already - Revenge | no, you need more - Jack | says the tea drinking British! - Revenge | yes, say i. - Jack
    Enlightenment is only one click away
    posted 18 July 2009 04:44 PM EDT (US)     512 / 2506  
    Hey guys! I need a trigger, that counts the killed units (from specific player), (by a player).
    Example:
    Player 1 killed 5 units from player 5
    or
    Player 3 killed 301 units from player 2

    Is this possible?
    posted 18 July 2009 06:51 PM EDT (US)     513 / 2506  
    My trigger request was made by my buddy, apparently, he's not busy today. Going to put it here in case people want it for it could be useful.

    <Effect name="Set QV by Player Pop Count">
    <Param name="QVName" dispName="$$23952$$Var Name" VarType="string">QV1</Param>
    <Param name="PlayerID" dispName="$$22301$$Player" VarType="player">1</Param>
    <Command>trQuestVarSet("%QVName%", trPlayerGetPopulation(%PlayerID%) );</Command>
    </Effect>

    I don't have a penis - Ashrzr | What, ash has a penis - Blatant | no, I lie no longer - Ashrz
    Proof that Noodle is a typical tea-drinking British
    don't I have enough nicknames already - Revenge | no, you need more - Jack | says the tea drinking British! - Revenge | yes, say i. - Jack
    Enlightenment is only one click away

    [This message has been edited by Beelzebub (edited 07-18-2009 @ 10:46 PM).]

    posted 20 July 2009 07:15 AM EDT (US)     514 / 2506  
    Name: is killed by protounit
    Description: is a condition that active the effect if the unit is killed by a certain protounitunit (of a certain player).
    I don't now if it's possible, but I really really need it.

    Utilities || Map Tool 3.1 Inventory Triggers MP Triggers Comic AoM
    RandomMaps || Mad Supremacy Escape Your Mates Escape
    Scenarios || Bomberman Minigames Y 2.0 Convert & Fight
    Games || Bullet Demo Ball Bouncer 3D
    WRP_Beater: "Meglio una gallina oggi che un uovo domani."
    My name has been misspelled 132 times (Last: BSU_DoLhades Best: Lostrozzabercrombie In a row: 5)
    posted 21 July 2009 09:00 AM EDT (US)     515 / 2506  
    heh, me too. I think a lot of people need this trigger.
    posted 21 July 2009 09:38 AM EDT (US)     516 / 2506  
    I'm not sure about "is killed by protounit", but a condition like "is being attacked by protounit" can be made instead. Would that be allright? You could use it to approximately determine the killer, but looking at which protounit was attacking it just before it died.
    posted 21 July 2009 10:30 AM EDT (US)     517 / 2506  
    Killed by Protounit is not possible. Or at least there isn't any 100% reliable.

    I already made that one Archaeopterix .
    -invent00r

    My Work: 1 2 3 4 5 6 7 8 9 10

    WIP: Master XS Battle Micro AI
    Paused: AI (%4.247)
    Os segredos são de quem os souber guardar.
    posted 21 July 2009 11:36 AM EDT (US)     518 / 2506  
    Great

    How about the following triggers:

    Trigger 1, looping, kind of high priority:
    - If %unit% is being attacked, store the attacker's protounit ID in the QV "attacker".

    Trigger 2, fire once
    - If %unit% is dead, simply get the value from the QV "attacker" and turn it into a ProtoUnitName.


    Of course these two can be combined into a single custom condition, so you'll only need one trigger to do with it as you please. I think this should be as reliable as it could get.

    [This message has been edited by Archaeopterix (edited 07-21-2009 @ 11:39 AM).]

    posted 21 July 2009 12:35 PM EDT (US)     519 / 2506  
    Or you could used unit killed cost to determine this.

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 21 July 2009 02:20 PM EDT (US)     520 / 2506  
    Hmm yes, that's for determining the player who killed it. This was meant for determining the protounit that killed it.
    posted 21 July 2009 03:20 PM EDT (US)     521 / 2506  
    Oh yes my bad shoulda read back more.:P
    I could really use:
    Units in area of army.(any unit of a specific player)
    Damage units in area of army(any unit of a specific player)
    I'm setting up a trap power.

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0

    [This message has been edited by SwordOfValor (edited 07-21-2009 @ 03:29 PM).]

    posted 21 July 2009 05:25 PM EDT (US)     522 / 2506  
    OMGWTFBBQ! Archaeopterix !

    You are awesome! But I have not seen you online for ages. You won't know me of course but oh well.

    The lord of all living beings, holder of the Ilúvatar
    ~My Heavens~
    AoMH
    SpH
    DoFH
    Also, I am here.
    posted 21 July 2009 07:52 PM EDT (US)     523 / 2506  
    Hi, nice to meet you! My awesomeness is only a myth, though, and not even a widely-spread one.
    posted 21 July 2009 08:08 PM EDT (US)     524 / 2506  
    @Archaeopterix
    Is there any chance of you actually returning to AoM? I remember a very interesting scenario, you even build a website to promote it.
    posted 21 July 2009 11:19 PM EDT (US)     525 / 2506  
    I don't know about myth, but it certainly is a legend around here .

    For example, every time Elrich feels the screenshot community is getting lazy, inactive, or uncreative, he gives a spiel and posts a link to your "Living on the Edge" screenshot, saying AoMH needs more screenshots like that!
    And it's true, we do!
    « Previous Page  1 ··· 10 ··· 19 20 21 22 23 ··· 30 ··· 40 ··· 50 ··· 60 ··· 70 ··· 80 ··· 90 ··· 100 ··· 101  Next Page »
    Age of Mythology Heaven » Forums » Scenario Design » Have a Trigger Request? Post it here!
    Top
    You must be logged in to post messages.
    Please login or register
    Hop to:    
    Age of Mythology Heaven | HeavenGames