savas101
Squire
posted 05-11-13 01:46 AM CT (US)
I'm trying to make a map that does not allow aging up until it's unlocked at a specific time or researched via a trigger..
Basically when I add it to the disallowed list, the triggers do not seem to work? Is this possible? What am I doing wrong here?
Sorry if this has been asked before, I just couldn't word it properly to actually search this. I did look in the trigger tutorials but it doesn't mention how to do it.
badmiracle
Squire
posted 05-11-13 10:06 AM
CT (US)
1 / 8
Hey Savas,
I managed to accomplish your goal using one solution that I found. It is likely not the only solution but it works.
The method is changing your Town Center's ownership to GAIA and then back again. This will cancel the research everytime and refund the resources.
Create a new Looping Trigger, and add the following:
Trigger 1
C: Researching Tech: Feudal Age (or w.e age)
E: Change Ownership: Player 1 to GAIA - Town Center (Do not set an actual object, this will change all TC's to GAIA briefly)
E: Send Chat: Player 1: "You cannot advance yet!"
E: Activate Trigger 2
Trigger 2
E: Change Ownership: GAIA to Player 1 - Town Center
Basse
Squire
posted 05-11-13 11:23 AM
CT (US)
3 / 8
I think that's the only way to do it
badmiracle
Squire
posted 05-11-13 09:43 PM
CT (US)
4 / 8
Savas,
You can target the specific Town Center. This of course would only work up until Castle Age when the user is able to build other TC's.
You can limit your map to one town center, even though that takes away a lot from a typical RM type game.. I'm not sure what other ways could accomplish the same thing without other downsides. I would recommend a clear warning message, or possibly limiting this feature to pre-castle age, then you won't have the problem of multiple TC's.
AOHH
Squire
posted 05-13-13 07:40 AM
CT (US)
6 / 8
Seems to me that the Shadow-node trick is the best solution. And it's neat!
Basse
Squire
posted 05-13-13 10:14 AM
CT (US)
7 / 8
Great find! Do they all work?
savas101
Squire
posted 11-13-13 06:32 PM
CT (US)
8 / 8
Thanks a lot, JustTesting1234.
Never really used Trigger Studio, as I'm not really a map expert, but I'll take a look and see if I can reproduce your method.
If you have the example still around, I'd love to download it.