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

Scenario Design
Moderated by Yeebaagooon, TAG

Hop to:    
Welcome! You are not logged in. Please Login or Register.1663 replies, Sticky
Age of Mythology Heaven » Forums » Scenario Design » Have a Trigger Request? Post it here!
Bottom
Topic Subject:Have a Trigger Request? Post it here!
« Previous Page  1 ··· 10 ··· 18 19 20 21 22 ··· 30 ··· 40 ··· 50 ··· 60 ··· 67  Next Page »
Elrich
Hero
posted 23 July 2010 11:41 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

    In all your science of the mind, seeking blind through flesh and bone
    Find the blood inside this stone
    Well, I know I've never shown what I feel, I've always known
    I plan my vengeance on my own - and I was always alone
    AuthorReplies:
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 11:39 AM EDT (US)     476 / 1663       
    Just the play dialog ones where the problem is.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 11:44 AM EDT (US)     477 / 1663       
    there arent any unused ones in there. It goes,
    Condition-Army "Pelias" in Army "Jason" LOS. Effect-Jason: Uncle!
    Playdialog "Soundfile"
    Trigger Dialogue2, but it doesnt trigger dialogue2.
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 11:53 AM EDT (US)     478 / 1663       
    The dialogs need to be on seperate triggers. In the Play Dialog effect there should be an option called "Trigger". You select from the list of triggers the name of the second trigger which has the second Play Dialog effect. Make sure the second is inactive too. This is the way to do it. If it doesn't work I dont know what's wrong.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.

    [This message has been edited by AoM Expert (edited 04-23-2011 @ 11:54 AM).]

    Kastor33
    Mortal
    posted 23 April 2011 11:57 AM EDT (US)     479 / 1663       
    wait, does the first dialogue trigger also have to be inactive? because if it doesnt then i have it exactly like you said. It may help to add that i'm using spoofed chat and play dialog side by side.

    [This message has been edited by Kastor33 (edited 04-23-2011 @ 12:07 PM).]

    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 12:14 PM EDT (US)     480 / 1663       
    First one active and the rest inactive. Is it possible you could take a picture of your layout?

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.

    [This message has been edited by AoM Expert (edited 04-23-2011 @ 12:14 PM).]

    Kastor33
    Mortal
    posted 23 April 2011 12:17 PM EDT (US)     481 / 1663       
    will taking a screenshot inclue whats in the menus? if not I can find a way.
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 12:22 PM EDT (US)     482 / 1663       
    Take two screen shots showing the layout of the two or more triggers that have dialog in them. Thats all I need.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.

    [This message has been edited by AoM Expert (edited 04-23-2011 @ 12:23 PM).]

    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 12:25 PM EDT (US)     483 / 1663       
    @Lewonas
    Modify Protounit All: Speed

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 12:29 PM EDT (US)     484 / 1663       
    ok, i have th screenshots, do i just upload them as a zip or can i put them in a post?
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 12:33 PM EDT (US)     485 / 1663       
    Put them up on a image hosting site then use BB code to put them here.

    [img]url image here[/img]

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.

    [This message has been edited by AoM Expert (edited 04-23-2011 @ 12:34 PM).]

    Kastor33
    Mortal
    posted 23 April 2011 12:48 PM EDT (US)     486 / 1663       
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 12:55 PM EDT (US)     487 / 1663       
    *sigh* You're just gonna have to email me them.

    This content is currently unavailable.The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 12:59 PM EDT (US)     488 / 1663       
    Alright, one moment.
    Edit: I sent them to your AIM

    [This message has been edited by Kastor33 (edited 04-23-2011 @ 01:08 PM).]

    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 01:16 PM EDT (US)     489 / 1663       
    Okayokay I get this now. You had no sound in the Play Dialog effect. It was still set as default. In order for the built in fire effect to work, you need a sound so that aom can fire the next trigger after the sound is done playing. (EXAMPLE: dialog/arka072.mp3) Now you don't really Need a sound there, but if you want to use the built in fire event aom will be looking for one. I would just use a normal fire event and put timers for conditions.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 01:23 PM EDT (US)     490 / 1663       
    Im adding sound in after everything else is done. So that will all work out. Also how can I make it so when it finds one soundfile, plays that but waits until the file is finished playing before the next text is displayed, and the next file played?
    Eurotool
    Hero
    posted 23 April 2011 01:25 PM EDT (US)     491 / 1663       
    Tip: Use www.imgur.com, it's the best image uploader, I use it all the time. You don't need any registeration, it's quick, easy to use, and beautiful.

    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 01:25 PM EDT (US)     492 / 1663       
    Thats what the built in fire event ("trigger") is for!

    lol sorry.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 01:35 PM EDT (US)     493 / 1663       
    Cool, thanks for all the help. When level one is done and I make sure the bugs and whaty notty are out of the way, i'll release it for testing, if it does well then i'll just have to finish the campaign! Also i wanted to look into the revivabl heros but i cannot get to the page, simply keeping jason alive is challanging yes, but then he wont really be able to participate in the bigger battles.
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 01:50 PM EDT (US)     494 / 1663       
    Well you can simply make a mod for this by editing the proto, or you can use my method, which is more practical.

    http://aom.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=13,26467,,all

    Percent Damaged: 100
    Set Animation: default

    When jason dies you can do anything you want with him, just like a normail unit.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Kastor33
    Mortal
    posted 23 April 2011 02:08 PM EDT (US)     495 / 1663       
    I suppose i dont understand, although that non sinking bodies will be great for effect later. so how exactly can I use your method?
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 02:17 PM EDT (US)     496 / 1663       
    A little bit of brain work. Think of what needs to happen once a hero dies and then gets revived. Use this and fire events after hes dead with things like timers, and Units in LOS conditions. Change Unit Type, and Damage Unit and
    -Damage Unit so when he revives he'll be hurt then he'll heal.

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.

    [This message has been edited by AoM Expert (edited 04-23-2011 @ 02:27 PM).]

    Kastor33
    Mortal
    posted 23 April 2011 02:27 PM EDT (US)     497 / 1663       
    how can i set it so that when he dies his body will stay, thats first and foremost. I have it set right now as Condition-Is dead "Jason" Effect- SetAnimation "yrtryrt"
    This does not work however.
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 02:37 PM EDT (US)     498 / 1663       
    Like I said in that thread you have to use "Percent Damaged" instead of Is Dead. (= 100)

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    Eurotool
    Hero
    posted 23 April 2011 02:37 PM EDT (US)     499 / 1663       
    TAG
    That AoM Guy
    (id: aom expert)
    posted 23 April 2011 02:38 PM EDT (US)     500 / 1663       
    lol thats right

    Check out my YouTube
    For live help with me, enter this chatroom. If I'm not on you can leave a message.
    « Previous Page  1 ··· 10 ··· 18 19 20 21 22 ··· 30 ··· 40 ··· 50 ··· 60 ··· 67  Next Page »
    You must be logged in to post messages.
    Please login or register

    Hop to:    

    Age of Mythology Heaven | HeavenGames