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

Modding and Scripting
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Trigger breakthrough!
« Previous Page  1 2 3  Next Page »
posted 30 December 2006 04:38 AM EDT (US)   
Some of you may know that from random map scripting that some dropdown boxes are actually coded with a number. Well, I have managed to incorporate this into a QV where you can set the trigger ID number as the QV. This could be used to grant a player every single tech in the entire game with just 1 trigger! (whcih has 2 effects) This is going to make an ace game!

QV set tech status and QV modify!

Here is the code you need:


<Effect name="Set Tech Status4">
<Param name="PlayerID" dispName="Player" varType="player">1</Param>
<Param name="TechID" dispName="Tech" varType="string">QV1</Param>
<Param name="Status" dispName="Status" varType="techstatus">4</Param>
<Command>trTechSetStatus(%PlayerID%, trQuestVarGet("%TechID%"), %Status%);</Command>
</Effect>

Now done it for modify protounit:


<Effect name="Modify Protounit4">
<Param name="ProtoUnit" dispName="ProtoUnit" varType="protounit">Villager</Param>
<Param name="PlayerID" dispName="Player" VarType="player">0</Param>
<Param name="Field" dispName="Field" varType="string">QV1</Param>
<Param name="Delta" dispName="Delta" varType="float">1.0</Param>
<Command>trModifyProtounit("%ProtoUnit%", %PlayerID%, trQuestVarGet("%Field%"), Delta%);</Command>
</Effect>

Here it is for echo stat value:


<Effect name="Echo Stat Value4">
<Param name="PlayerID" dispName="Fake Player" VarType="player">0</Param>
<Param name="StatID" dispName="Stat Type" VarType="string">QV1</Param>
<Command>trEchoStatValue(%PlayerID%, trQuestVarGet("%StatID%"));</Command>
</Effect>

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.

[This message has been edited by nottud (edited 12-30-2006 @ 11:42 AM).]

Replies:
posted 30 December 2006 02:36 PM EDT (US)     26 / 57  
Lol.

Good luck with using my triggers. I have already made a crazy game where you are granted 1 random tech a second and it is complete madness.


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.

[This message has been edited by nottud (edited 12-30-2006 @ 02:37 PM).]

posted 30 December 2006 02:48 PM EDT (US)     27 / 57  
I copied it into the typetest, but they never showed up



Sweet baby maizes!
posted 30 December 2006 10:07 PM EDT (US)     28 / 57  
lol I'm not trying to be a bully and sorry if I sound so.

I'm just pointing out that this is not a "breakthrough". It'd also be nice if there was an explanation as to what exactly was being done.

If you wanted to enable/disable all techs, you could simply use XS User Code effect and enter the following:

for(i=1;<=9999)
trTechSetStatus(#PlayerID, i, #Status);
}

There are many ways.

Quote:

If you are so clever, can you figure out how to do a randomiser for protounit and god power

Which field are you refering to? Not home on my main PC atm so maybe if you could show me the original trigger code, I'll give it a shot.

Or.. you can just set a variable to equal the QV Randomize command in XS User Code, map a choice/field value to each possible QV value, and then finish with the actual effect's command (with the choice/field value as the input).

[This message has been edited by pftq (edited 12-31-2006 @ 00:17 AM).]

posted 31 December 2006 03:35 AM EDT (US)     29 / 57  

Quote:

I copied it into the typetest, but they never showed up

ok, here is how to insert it.

Open your typetest and scroll to the bottom. Now put your cursor between:

</Effect>

and

</Effects>

Tags. Now paste the trigger effect in between those 2 tags. If it didn't appear the trigger abd you have more than 1 set of typetest files. Try putting it in the other one. (The first one might have a syntax error in it so the trigger won't show up.

@PFTQ: here are the 2 triggers which you can use:


<Effect name="$$22450$$Grant God Power">
<Param name="PlayerID" dispName="$$22301$$Player" varType="player">0</Param>
<Param name="PowerName" dispName="$$22451$$Power" varType="godpower">default</Param>
<Param name="Count" dispName="$$22452$$Uses" varType="long">1</Param>
<Command>trTechGodPower(%PlayerID%, "%PowerName%", %Count%);</Command>
</Effect>

<Effect name="$$23942$$Modify Protounit">
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="PlayerID" dispName="$$22301$$Player" VarType="player">0</Param>
<Param name="Field" dispName="$$23943$$Field" varType="pufield">0</Param>
<Param name="Delta" dispName="$$23944$$Delta" varType="float">1.0</Param>
<Command>trModifyProtounit("%ProtoUnit%", %PlayerID%, %Field%, Delta%);</Command>
</Effect>

I have tried to choose easy triggers for you to edit. It is the protounit list and the god powers I need doing. I have tried doing god powers in a manual way by creating a giant complex trigger. The gane recognised it but it failed to work properly.


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.

[This message has been edited by nottud (edited 12-31-2006 @ 04:05 AM).]

posted 31 December 2006 11:03 AM EDT (US)     30 / 57  
Why choose easy triggers for me to edit? :P

I'll try to get to work on it as soon as I get home (lil past tomorrow).

The basic idea is like I said above:

Quote:

you can just set a variable to equal the QV Randomize command in XS User Code, map a choice/field value to each possible QV value, and then finish with the actual effect's command (with the choice/field value as the input).

Remember how triggers are made up of similar code you put into XS - so you can basically do what's done in XS (probably not all the way but similarily).

posted 31 December 2006 12:52 PM EDT (US)     31 / 57  
The difference here is that the protounits and the god powers are string inputs, not integers or varibles!

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 01 January 2007 08:47 PM EDT (US)     32 / 57  
Nottud calm down - why do so many of your sentences end in exclamation marks!!!!!!

If you read my quoted reply, you will notice that I said to assign an integer value to each choice.

Anyways, unpacking and catching up on stuff here - just got back from New Years celebration I'll try to get to this as soon as possible.

BTW, nottud - integer or variables? Variables can be ANYTHING - string, integer, and floats are types of variables.

[This message has been edited by pftq (edited 01-01-2007 @ 08:48 PM).]

posted 02 January 2007 01:35 PM EDT (US)     33 / 57  
Here you go nottud (and no this is NOT a "discovery"! Took me 5 minutes to make)

Grant GP Random
Grant GP QV

I'm not sure what you were asking for.

But these two do similar things:

- Allow you to select 3 God Powers to chooose from
- Or select out of all 71 god powers

Random - > Automatically randomizes and selects a choice
QV - > Selects using the value of a QV (1-71)


What do you want me to do with Modify Protounit? I don't see much point in having a random unit/building out of the whole list be affected... or maybe I can do the 3 choices thing again.

In that case, it'd be similar:

Modify Protounit Random
Modify Protounit From QV

[This message has been edited by pftq (edited 01-02-2007 @ 02:13 PM).]

posted 02 January 2007 04:40 PM EDT (US)     34 / 57  
I tried to do something simular to that but for some reason it didn't work. I must have done the randomising wrong or something.


Maybe you and me could team up and create some new triggers for everyone's sake and ours. :P


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.

[This message has been edited by nottud (edited 01-02-2007 @ 04:41 PM).]

posted 02 January 2007 05:33 PM EDT (US)     35 / 57  
What did you have? Helps to know where you went wrong so you don't make the same mistake.

[This message has been edited by pftq (edited 01-02-2007 @ 05:38 PM).]

posted 03 January 2007 08:34 AM EDT (US)     36 / 57  
I have looked at yours and I know what went wrong now.

By the way - you have spelt nidhogg wrong and there is a space in the second bronze power. I have corrected it on my typetest but you need to do yours lol!

I have also made army deploy random protounit by looking how you did grant random god power. There is no 3 choices on this one, only the grant a completely random one. Here is it:

<Effect name="Army Deploy Random Protounit">
<Param name="SrcArmy" dispName="$$22348$$Army" VarType="group">default</Param>
<Param name="Location" dispName="" varType="area">0,0,0</Param>
<Param name="Count" dispName="$$22435$$Count" varType="long">0</Param>
<Param name="Heading" dispName="$$22432$$Heading" varType="long">0</Param>
<Param name="Clear" dispName="$$22464$$Clear Existing Units:" varType="bool">true</Param>
<Command>trQuestVarSetFromRand("moo", 1, 800, true);</Command>
<Command>int PROTO=trQuestVarGet("moo");</Command>
<Command>string ProtoName="";</Command>
<Command>if(PROTO==1) ProtoName="Academy";</Command>
<Command>if(PROTO==2) ProtoName="Acid Pool";</Command>
<Command>if(PROTO==3) ProtoName="Agamemnon";</Command>
<Command>if(PROTO==4) ProtoName="Ajax";</Command>
<Command>if(PROTO==5) ProtoName="Ajax Older";</Command>
<Command>if(PROTO==6) ProtoName="Amanra";</Command>
<Command>if(PROTO==7) ProtoName="Amanra Older";</Command>
<Command>if(PROTO==8) ProtoName="Animal Attractor";</Command>
<Command>if(PROTO==9) ProtoName="Anubite";</Command>
<Command>if(PROTO==10) ProtoName="Ape of Set";</Command>
<Command>if(PROTO==11) ProtoName="Archer Atlantean";</Command>
<Command>if(PROTO==12) ProtoName="Archer Atlantean Hero";</Command>
<Command>if(PROTO==13) ProtoName="Archery Range";</Command>
<Command>if(PROTO==14) ProtoName="Argus";</Command>
<Command>if(PROTO==15) ProtoName="Arkantos";</Command>
<Command>if(PROTO==16) ProtoName="Arkantos Boost SFX";</Command>
<Command>if(PROTO==17) ProtoName="Arkantos God";</Command>
<Command>if(PROTO==18) ProtoName="Arkantos God Out";</Command>
<Command>if(PROTO==19) ProtoName="Arkantosman";</Command>
<Command>if(PROTO==20) ProtoName="Armor Glow Small";</Command>
<Command>if(PROTO==21) ProtoName="Armory";</Command>
<Command>if(PROTO==22) ProtoName="Arrow";</Command>
<Command>if(PROTO==23) ProtoName="Arrow Flaming";</Command>
<Command>if(PROTO==24) ProtoName="Arrow Signal";</Command>
<Command>if(PROTO==25) ProtoName="Arrow Splash SFX";</Command>
<Command>if(PROTO==26) ProtoName="Athena";</Command>
<Command>if(PROTO==27) ProtoName="Atlantis Gate";</Command>
<Command>if(PROTO==28) ProtoName="Atlantis Tile";</Command>
<Command>if(PROTO==29) ProtoName="Atlantis Tile Dead";</Command>
<Command>if(PROTO==30) ProtoName="Atlantis Wall Connector";</Command>
<Command>if(PROTO==31) ProtoName="Atlantis Wall Long";</Command>
<Command>if(PROTO==32) ProtoName="Attack Revealer";</Command>
<Command>if(PROTO==33) ProtoName="Audrey";</Command>
<Command>if(PROTO==34) ProtoName="Audrey Base";</Command>
<Command>if(PROTO==35) ProtoName="Audrey Water";</Command>
<Command>if(PROTO==36) ProtoName="Audrey Water Base";</Command>
<Command>if(PROTO==37) ProtoName="Aurochs";</Command>
<Command>if(PROTO==38) ProtoName="Automaton";</Command>
<Command>if(PROTO==39) ProtoName="Automaton SPC";</Command>
<Command>if(PROTO==40) ProtoName="Avalanche";</Command>
<Command>if(PROTO==41) ProtoName="Avenger";</Command>
<Command>if(PROTO==42) ProtoName="Axe";</Command>
<Command>if(PROTO==43) ProtoName="Axeman";</Command>
<Command>if(PROTO==44) ProtoName="Baboon";</Command>
<Command>if(PROTO==45) ProtoName="Ball of Fire";</Command>
<Command>if(PROTO==46) ProtoName="Ball of fire impact";</Command>
<Command>if(PROTO==47) ProtoName="Ball of Fire invisible";</Command>
<Command>if(PROTO==48) ProtoName="Ball of Fire Prometheus";</Command>
<Command>if(PROTO==49) ProtoName="Ballista";</Command>
<Command>if(PROTO==50) ProtoName="Ballista Shot";</Command>
<Command>if(PROTO==51) ProtoName="Bandit Migdol";</Command>
<Command>if(PROTO==52) ProtoName="Barracks";</Command>
<Command>if(PROTO==53) ProtoName="Barracks Atlantean";</Command>
<Command>if(PROTO==54) ProtoName="Barrel";</Command>
<Command>if(PROTO==55) ProtoName="Battle Boar";</Command>
<Command>if(PROTO==56) ProtoName="Bear";</Command>
<Command>if(PROTO==57) ProtoName="Behemoth";</Command>
<Command>if(PROTO==58) ProtoName="Bella";</Command>
<Command>if(PROTO==59) ProtoName="Berry Bush";</Command>
<Command>if(PROTO==60) ProtoName="Bireme";</Command>
<Command>if(PROTO==61) ProtoName="Blood";</Command>
<Command>if(PROTO==62) ProtoName="Blood Cinematic";</Command>
<Command>if(PROTO==63) ProtoName="Blood Flow";</Command>
<Command>if(PROTO==64) ProtoName="Blood Gore";</Command>
<Command>if(PROTO==65) ProtoName="Blowing Leaves";</Command>
<Command>if(PROTO==66) ProtoName="Boar";</Command>
<Command>if(PROTO==67) ProtoName="Bolder Rolling";</Command>
<Command>if(PROTO==68) ProtoName="Bolder Rolling 2";</Command>
<Command>if(PROTO==69) ProtoName="Bolder Rolling Dead";</Command>
<Command>if(PROTO==70) ProtoName="Bolder Rolling Small";</Command>
<Command>if(PROTO==71) ProtoName="Bolder Wall";</Command>
<Command>if(PROTO==72) ProtoName="Bolt Scorch";</Command>
<Command>if(PROTO==73) ProtoName="Bolt Strike";</Command>
<Command>if(PROTO==74) ProtoName="Bridge";</Command>
<Command>if(PROTO==75) ProtoName="Broken Siege Weapons";</Command>
<Command>if(PROTO==76) ProtoName="Brokk";</Command>
<Command>if(PROTO==77) ProtoName="Bush";</Command>
<Command>if(PROTO==78) ProtoName="Camelry";</Command>
<Command>if(PROTO==79) ProtoName="Camera";</Command>
<Command>if(PROTO==80) ProtoName="Camera Motion Arrow";</Command>
<Command>if(PROTO==81) ProtoName="Camera Start";</Command>
<Command>if(PROTO==82) ProtoName="Campfire";</Command>
<Command>if(PROTO==83) ProtoName="Caravan Atlantean";</Command>
<Command>if(PROTO==84) ProtoName="Caravan Egyptian";</Command>
<Command>if(PROTO==85) ProtoName="Caravan Greek";</Command>
<Command>if(PROTO==86) ProtoName="Caravan Norse";</Command>
<Command>if(PROTO==87) ProtoName="Carcinos";</Command>
<Command>if(PROTO==88) ProtoName="Caribou";</Command>
<Command>if(PROTO==89) ProtoName="Cataphract";</Command>
<Command>if(PROTO==90) ProtoName="Catapult";</Command>
<Command>if(PROTO==91) ProtoName="Catapult Shot";</Command>
<Command>if(PROTO==92) ProtoName="Centaur";</Command>
<Command>if(PROTO==93) ProtoName="Chaos effect";</Command>
<Command>if(PROTO==94) ProtoName="Chariot Archer";</Command>
<Command>if(PROTO==95) ProtoName="Charon Ferry";</Command>
<Command>if(PROTO==96) ProtoName="Chicken";</Command>
<Command>if(PROTO==97) ProtoName="Chicken Blood";</Command>
<Command>if(PROTO==98) ProtoName="Chicken Exploding";</Command>
<Command>if(PROTO==99) ProtoName="Chieroballista";</Command>
<Command>if(PROTO==100) ProtoName="Chimera";</Command>
<Command>if(PROTO==101) ProtoName="Chiron";</Command>
<Command>if(PROTO==102) ProtoName="Cinematic Block";</Command>
<Command>if(PROTO==103) ProtoName="Cinematic Dead Bodies";</Command>
<Command>if(PROTO==104) ProtoName="Cinematic Dead Bodies Xpack";</Command>
<Command>if(PROTO==105) ProtoName="Cinematic rocks";</Command>
<Command>if(PROTO==106) ProtoName="Cinematic Scorch";</Command>
<Command>if(PROTO==107) ProtoName="Cinematic Trees";</Command>
<Command>if(PROTO==108) ProtoName="Cinematic Wake";</Command>
<Command>if(PROTO==109) ProtoName="Circe";</Command>
<Command>if(PROTO==110) ProtoName="Citadel Center";</Command>
<Command>if(PROTO==111) ProtoName="Citadel SFX";</Command>
<Command>if(PROTO==112) ProtoName="Clone SFX";</Command>
<Command>if(PROTO==113) ProtoName="Cloud";</Command>
<Command>if(PROTO==114) ProtoName="Colossus";</Command>
<Command>if(PROTO==115) ProtoName="Columns";</Command>
<Command>if(PROTO==116) ProtoName="Columns Broken";</Command>
<Command>if(PROTO==117) ProtoName="Columns Fallen";</Command>
<Command>if(PROTO==118) ProtoName="Construction Extra Large";</Command>
<Command>if(PROTO==119) ProtoName="Construction Large";</Command>
<Command>if(PROTO==120) ProtoName="Construction Medium";</Command>
<Command>if(PROTO==121) ProtoName="Construction Small";</Command>
<Command>if(PROTO==122) ProtoName="Conversion SFX";</Command>
<Command>if(PROTO==123) ProtoName="Coral Reef";</Command>
<Command>if(PROTO==124) ProtoName="Counter Building";</Command>
<Command>if(PROTO==125) ProtoName="Cow";</Command>
<Command>if(PROTO==126) ProtoName="Crab Blood";</Command>
<Command>if(PROTO==127) ProtoName="Crate";</Command>
<Command>if(PROTO==128) ProtoName="Crate Small";</Command>
<Command>if(PROTO==129) ProtoName="Crocodile";</Command>
<Command>if(PROTO==130) ProtoName="Crocodile of Set";</Command>
<Command>if(PROTO==131) ProtoName="Crossbowman";</Command>
<Command>if(PROTO==132) ProtoName="Crowned Crane";</Command>
<Command>if(PROTO==133) ProtoName="Curse SFX";</Command>
<Command>if(PROTO==134) ProtoName="Cyclops";</Command>
<Command>if(PROTO==135) ProtoName="Deconstruct Building";</Command>
<Command>if(PROTO==136) ProtoName="Deconstruct Unit";</Command>
<Command>if(PROTO==137) ProtoName="Deer";</Command>
<Command>if(PROTO==138) ProtoName="Destroyed Buildings Large";</Command>
<Command>if(PROTO==139) ProtoName="Destroyed Buildings Med";</Command>
<Command>if(PROTO==140) ProtoName="Destroyed Buildings Small";</Command>
<Command>if(PROTO==141) ProtoName="Destruction 1x1";</Command>
<Command>if(PROTO==142) ProtoName="Destruction 2x2";</Command>
<Command>if(PROTO==143) ProtoName="Destruction 3x3";</Command>
<Command>if(PROTO==144) ProtoName="Destruction 4x4";</Command>
<Command>if(PROTO==145) ProtoName="Destruction 5x5";</Command>
<Command>if(PROTO==146) ProtoName="Destruction 8x8";</Command>
<Command>if(PROTO==147) ProtoName="Destruction Citadel";</Command>
<Command>if(PROTO==148) ProtoName="Destruction Settlement";</Command>
<Command>if(PROTO==149) ProtoName="Dig Pile";</Command>
<Command>if(PROTO==150) ProtoName="Dock";</Command>
<Command>if(PROTO==151) ProtoName="Dove";</Command>
<Command>if(PROTO==152) ProtoName="Dryad";</Command>
<Command>if(PROTO==153) ProtoName="Dust Devil";</Command>
<Command>if(PROTO==154) ProtoName="Dust Large";</Command>
<Command>if(PROTO==155) ProtoName="Dust Medium";</Command>
<Command>if(PROTO==156) ProtoName="Dust Small";</Command>
<Command>if(PROTO==157) ProtoName="Dwarf";</Command>
<Command>if(PROTO==158) ProtoName="Dwarf Foundry";</Command>
<Command>if(PROTO==159) ProtoName="Dwarven Forge";</Command>
<Command>if(PROTO==160) ProtoName="Earth";</Command>
<Command>if(PROTO==161) ProtoName="Earthquake";</Command>
<Command>if(PROTO==162) ProtoName="Earthquake CrackA";</Command>
<Command>if(PROTO==163) ProtoName="Earthquake CrackB";</Command>
<Command>if(PROTO==164) ProtoName="Earthquake CrackC";</Command>
<Command>if(PROTO==165) ProtoName="Earthquake CrackD";</Command>
<Command>if(PROTO==167) ProtoName="Einheriar";</Command>
<Command>if(PROTO==168) ProtoName="Einheriar Boost SFX";</Command>
<Command>if(PROTO==169) ProtoName="Eitri";</Command>
<Command>if(PROTO==170) ProtoName="Elephant";</Command>
<Command>if(PROTO==171) ProtoName="Elk";</Command>
<Command>if(PROTO==172) ProtoName="Evil Cloud SFX";</Command>
<Command>if(PROTO==173) ProtoName="Excavation";</Command>
<Command>if(PROTO==174) ProtoName="Farm";</Command>
<Command>if(PROTO==175) ProtoName="Female";</Command>
<Command>if(PROTO==176) ProtoName="Fence Iron";</Command>
<Command>if(PROTO==177) ProtoName="Fence Stone";</Command>
<Command>if(PROTO==178) ProtoName="Fence Wood";</Command>
<Command>if(PROTO==179) ProtoName="Fenris Wolf";</Command>
<Command>if(PROTO==180) ProtoName="Fern";</Command>
<Command>if(PROTO==181) ProtoName="Fertile Plants SFX";</Command>
<Command>if(PROTO==182) ProtoName="Fimbulwinter SFX";</Command>
<Command>if(PROTO==183) ProtoName="Fimbulwinter Wolf";</Command>
<Command>if(PROTO==184) ProtoName="Fire Giant";</Command>
<Command>if(PROTO==185) ProtoName="Fire Hades";</Command>
<Command>if(PROTO==186) ProtoName="Fire Object";</Command>
<Command>if(PROTO==187) ProtoName="Fire Object Big";</Command>
<Command>if(PROTO==188) ProtoName="Fire Pit";</Command>
<Command>if(PROTO==189) ProtoName="Fire Ship Atlantean";</Command>
<Command>if(PROTO==190) ProtoName="Fire Siphon";</Command>
<Command>if(PROTO==191) ProtoName="Fire Siphon Fire";</Command>
<Command>if(PROTO==192) ProtoName="Fire Wood";</Command>
<Command>if(PROTO==193) ProtoName="Fireball Launch Damage Effect";</Command>
<Command>if(PROTO==194) ProtoName="Fish - Mahi";</Command>
<Command>if(PROTO==195) ProtoName="Fish - Perch";</Command>
<Command>if(PROTO==196) ProtoName="Fish - Salmon";</Command>
<Command>if(PROTO==197) ProtoName="Fishing Ship Atlantean";</Command>
<Command>if(PROTO==198) ProtoName="Fishing Ship Egyptian";</Command>
<Command>if(PROTO==199) ProtoName="Fishing Ship Greek";</Command>
<Command>if(PROTO==200) ProtoName="Fishing Ship Norse";</Command>
<Command>if(PROTO==201) ProtoName="Flag";</Command>
<Command>if(PROTO==202) ProtoName="Flag Numbered";</Command>
<Command>if(PROTO==203) ProtoName="Flaming Footprint";</Command>
<Command>if(PROTO==204) ProtoName="Flowers";</Command>
<Command>if(PROTO==205) ProtoName="Flying Medic";</Command>
<Command>if(PROTO==206) ProtoName="Flying Purple Hippo";</Command>
<Command>if(PROTO==207) ProtoName="Folstag Flag";</Command>
<Command>if(PROTO==208) ProtoName="Folstag Flag Bearer";</Command>
<Command>if(PROTO==209) ProtoName="Footprint Animal Large";</Command>
<Command>if(PROTO==210) ProtoName="Footprint Animal Small";</Command>
<Command>if(PROTO==211) ProtoName="Footprint Cavalry";</Command>
<Command>if(PROTO==212) ProtoName="Footprint Elephant";</Command>
<Command>if(PROTO==213) ProtoName="Footprint Giant";</Command>
<Command>if(PROTO==214) ProtoName="Footprint Hydra";</Command>
<Command>if(PROTO==215) ProtoName="Footprint Military";</Command>
<Command>if(PROTO==216) ProtoName="Footprint Portable Ram";</Command>
<Command>if(PROTO==217) ProtoName="Footprint Prometheanbig";</Command>
<Command>if(PROTO==218) ProtoName="Footprint Prometheansmall";</Command>
<Command>if(PROTO==219) ProtoName="Footprint Scarab";</Command>
<Command>if(PROTO==220) ProtoName="Footprint Scorpion";</Command>
<Command>if(PROTO==221) ProtoName="Footprint Siege";</Command>
<Command>if(PROTO==222) ProtoName="Footprint Villager";</Command>
<Command>if(PROTO==223) ProtoName="Footprint Wheel";</Command>
<Command>if(PROTO==224) ProtoName="Forest Fire Attack";</Command>
<Command>if(PROTO==225) ProtoName="Forest Fire SFX";</Command>
<Command>if(PROTO==226) ProtoName="Forkboy";</Command>
<Command>if(PROTO==227) ProtoName="Fortress";</Command>
<Command>if(PROTO==228) ProtoName="Fountain";</Command>
<Command>if(PROTO==229) ProtoName="Frost Drift";</Command>
<Command>if(PROTO==230) ProtoName="Frost Giant";</Command>
<Command>if(PROTO==231) ProtoName="Gaia Forest effect";</Command>
<Command>if(PROTO==232) ProtoName="Gaia Forest tree";</Command>
<Command>if(PROTO==233) ProtoName="Gaia Forest tree burning";</Command>
<Command>if(PROTO==234) ProtoName="Gaia Pool";</Command>
<Command>if(PROTO==235) ProtoName="GaiaCreepFlowers";</Command>
<Command>if(PROTO==236) ProtoName="Gargarensis";</Command>
<Command>if(PROTO==237) ProtoName="Garrison Flag";</Command>
<Command>if(PROTO==238) ProtoName="Garrison Flag Sky Passage";</Command>
<Command>if(PROTO==239) ProtoName="Gate";</Command>
<Command>if(PROTO==240) ProtoName="Gate Ram";</Command>
<Command>if(PROTO==241) ProtoName="Gate Ram 2";</Command>
<Command>if(PROTO==242) ProtoName="Gate Ram Destroyed";</Command>
<Command>if(PROTO==243) ProtoName="Gazelle";</Command>
<Command>if(PROTO==244) ProtoName="Gazelle of Set";</Command>
<Command>if(PROTO==245) ProtoName="General Melagius";</Command>
<Command>if(PROTO==246) ProtoName="Generic Corpse";</Command>
<Command>if(PROTO==247) ProtoName="Ghost Ship";</Command>
<Command>if(PROTO==248) ProtoName="Giant Duck-billed Platypus";</Command>
<Command>if(PROTO==249) ProtoName="Giant Footprint";</Command>
<Command>if(PROTO==250) ProtoName="Giraffe";</Command>
<Command>if(PROTO==251) ProtoName="Giraffe of Set";</Command>
<Command>if(PROTO==252) ProtoName="Goat";</Command>
<Command>if(PROTO==253) ProtoName="Gold Mine";</Command>
<Command>if(PROTO==254) ProtoName="Gold Mine Dwarven";</Command>
<Command>if(PROTO==255) ProtoName="Gold Mine Small";</Command>
<Command>if(PROTO==256) ProtoName="Gold Mine Tiny";</Command>
<Command>if(PROTO==257) ProtoName="Golden Fleece";</Command>
<Command>if(PROTO==258) ProtoName="Golden Lion";</Command>
<Command>if(PROTO==259) ProtoName="Granary";</Command>
<Command>if(PROTO==260) ProtoName="Grass";</Command>
<Command>if(PROTO==261) ProtoName="Grass Tall";</Command>
<Command>if(PROTO==262) ProtoName="Great Box";</Command>
<Command>if(PROTO==263) ProtoName="Great Box Cart";</Command>
<Command>if(PROTO==264) ProtoName="Great Box Cart 2";</Command>
<Command>if(PROTO==265) ProtoName="Guardian";</Command>
<Command>if(PROTO==266) ProtoName="Guardian Sleeping";</Command>
<Command>if(PROTO==267) ProtoName="Guardian Sleeping XP";</Command>
<Command>if(PROTO==268) ProtoName="Guardian XP";</Command>
<Command>if(PROTO==269) ProtoName="Guild";</Command>
<Command>if(PROTO==270) ProtoName="Hades Door";</Command>
<Command>if(PROTO==271) ProtoName="Hades Door Small";</Command>
<Command>if(PROTO==272) ProtoName="Hades Fire";</Command>
<Command>if(PROTO==273) ProtoName="Harpy";</Command>
<Command>if(PROTO==274) ProtoName="Hawk";</Command>
<Command>if(PROTO==275) ProtoName="Hawksbill";</Command>
<Command>if(PROTO==276) ProtoName="Healing Area SFX";</Command>
<Command>if(PROTO==277) ProtoName="Healing SFX";</Command>
<Command>if(PROTO==278) ProtoName="Healing Spring Object";</Command>
<Command>if(PROTO==279) ProtoName="Heavenlight";</Command>
<Command>if(PROTO==280) ProtoName="Heka Gigantes";</Command>
<Command>if(PROTO==281) ProtoName="Heka Shockwave SFX";</Command>
<Command>if(PROTO==282) ProtoName="Helepolis";</Command>
<Command>if(PROTO==283) ProtoName="Hero Birth";</Command>
<Command>if(PROTO==284) ProtoName="Hero Boar";</Command>
<Command>if(PROTO==285) ProtoName="Hero Boar 2";</Command>
<Command>if(PROTO==286) ProtoName="Hero Death";</Command>
<Command>if(PROTO==287) ProtoName="Hero Death Revealer";</Command>
<Command>if(PROTO==288) ProtoName="Hero Greek Achilles";</Command>
<Command>if(PROTO==289) ProtoName="Hero Greek Ajax";</Command>
<Command>if(PROTO==290) ProtoName="Hero Greek Argo";</Command>
<Command>if(PROTO==291) ProtoName="Hero Greek Atalanta";</Command>
<Command>if(PROTO==292) ProtoName="Hero Greek Bellerophon";</Command>
<Command>if(PROTO==293) ProtoName="Hero Greek Chiron";</Command>
<Command>if(PROTO==294) ProtoName="Hero Greek Heracles";</Command>
<Command>if(PROTO==295) ProtoName="Hero Greek Hippolyta";</Command>
<Command>if(PROTO==296) ProtoName="Hero Greek Jason";</Command>
<Command>if(PROTO==297) ProtoName="Hero Greek Odysseus";</Command>
<Command>if(PROTO==298) ProtoName="Hero Greek Perseus";</Command>
<Command>if(PROTO==299) ProtoName="Hero Greek Polyphemus";</Command>
<Command>if(PROTO==300) ProtoName="Hero Greek Theseus";</Command>
<Command>if(PROTO==301) ProtoName="Hero Norse";</Command>
<Command>if(PROTO==302) ProtoName="Hero Ragnorok";</Command>
<Command>if(PROTO==303) ProtoName="Hesperides Tree";</Command>
<Command>if(PROTO==304) ProtoName="Hetairoi";</Command>
<Command>if(PROTO==305) ProtoName="Hill Fort";</Command>
<Command>if(PROTO==306) ProtoName="Hippikon";</Command>
<Command>if(PROTO==307) ProtoName="Hippo";</Command>
<Command>if(PROTO==308) ProtoName="Hippo of Set";</Command>
<Command>if(PROTO==309) ProtoName="Hippocampus";</Command>
<Command>if(PROTO==310) ProtoName="Hoofprint";</Command>
<Command>if(PROTO==311) ProtoName="Hoplite";</Command>
<Command>if(PROTO==312) ProtoName="House";</Command>
<Command>if(PROTO==313) ProtoName="Huskarl";</Command>
<Command>if(PROTO==314) ProtoName="Hydra";</Command>
<Command>if(PROTO==315) ProtoName="Hyena";</Command>
<Command>if(PROTO==316) ProtoName="Hyena of Set";</Command>
<Command>if(PROTO==317) ProtoName="Hypaspist";</Command>
<Command>if(PROTO==318) ProtoName="Ice Block";</Command>
<Command>if(PROTO==319) ProtoName="Ice Sheet";</Command>
<Command>if(PROTO==320) ProtoName="Iceberg";</Command>
<Command>if(PROTO==321) ProtoName="Icy Footprint";</Command>
<Command>if(PROTO==322) ProtoName="Implode Debris";</Command>
<Command>if(PROTO==323) ProtoName="Implode Lightning Effect";</Command>
<Command>if(PROTO==324) ProtoName="Implode Pull Effect";</Command>
<Command>if(PROTO==325) ProtoName="Implode Shockwave";</Command>
<Command>if(PROTO==326) ProtoName="Implode Sphere";</Command>
<Command>if(PROTO==327) ProtoName="Implode Sphere Effect";</Command>
<Command>if(PROTO==328) ProtoName="Increase Prosperity Large";</Command>
<Command>if(PROTO==329) ProtoName="Increase Prosperity Small";</Command>
<Command>if(PROTO==330) ProtoName="Inferno Fire Ground";</Command>
<Command>if(PROTO==331) ProtoName="Inferno Unit Flame";</Command>
<Command>if(PROTO==332) ProtoName="Invisible Gate";</Command>
<Command>if(PROTO==333) ProtoName="Invisible Ram";</Command>
<Command>if(PROTO==334) ProtoName="Invisible Target";</Command>
<Command>if(PROTO==335) ProtoName="Invisible Wall";</Command>
<Command>if(PROTO==336) ProtoName="Jail Wall";</Command>
<Command>if(PROTO==337) ProtoName="Jarl";</Command>
<Command>if(PROTO==338) ProtoName="Javelin Cavalry";</Command>
<Command>if(PROTO==339) ProtoName="Javelin Cavalry Hero";</Command>
<Command>if(PROTO==340) ProtoName="Javelin Flaming";</Command>
<Command>if(PROTO==341) ProtoName="Jormund Elver";</Command>
<Command>if(PROTO==342) ProtoName="Kamos";</Command>
<Command>if(PROTO==343) ProtoName="Kastor";</Command>
<Command>if(PROTO==344) ProtoName="Kastor Adult";</Command>
<Command>if(PROTO==345) ProtoName="Kastor Staff";</Command>
<Command>if(PROTO==346) ProtoName="Kebenit";</Command>
<Command>if(PROTO==347) ProtoName="King Folstag";</Command>
<Command>if(PROTO==348) ProtoName="Kraken";</Command>
<Command>if(PROTO==349) ProtoName="Kraken Bits";</Command>
<Command>if(PROTO==350) ProtoName="Kraken SPC";</Command>
<Command>if(PROTO==351) ProtoName="Krios";</Command>
<Command>if(PROTO==352) ProtoName="Kronny";</Command>
<Command>if(PROTO==353) ProtoName="Kronny Birth";</Command>
<Command>if(PROTO==354) ProtoName="Kronny Birth SFX";</Command>
<Command>if(PROTO==355) ProtoName="Kronny Flying";</Command>
<Command>if(PROTO==356) ProtoName="Lampades";</Command>
<Command>if(PROTO==357) ProtoName="Lampades Blood";</Command>
<Command>if(PROTO==358) ProtoName="Lampades Bolt";</Command>
<Command>if(PROTO==359) ProtoName="Lancer";</Command>
<Command>if(PROTO==360) ProtoName="Lancer Hero";</Command>
<Command>if(PROTO==361) ProtoName="Lava Bubbling";</Command>
<Command>if(PROTO==362) ProtoName="Lava Sheet";</Command>
<Command>if(PROTO==363) ProtoName="Lazer Bear";</Command>
<Command>if(PROTO==364) ProtoName="Leviathan";</Command>
<Command>if(PROTO==365) ProtoName="Lighthouse";</Command>
<Command>if(PROTO==366) ProtoName="Lightning Cloud";</Command>
<Command>if(PROTO==367) ProtoName="Lightning Rain";</Command>
<Command>if(PROTO==368) ProtoName="Lightning Scorch";</Command>
<Command>if(PROTO==369) ProtoName="Lightning sparks";</Command>
<Command>if(PROTO==370) ProtoName="Lightning Sparks Ground";</Command>
<Command>if(PROTO==371) ProtoName="Lightning Strike";</Command>
<Command>if(PROTO==372) ProtoName="Lion";</Command>
<Command>if(PROTO==373) ProtoName="Locust Swarm";</Command>
<Command>if(PROTO==374) ProtoName="Longboat";</Command>
<Command>if(PROTO==375) ProtoName="Longhouse";</Command>
<Command>if(PROTO==376) ProtoName="Lumber Camp";</Command>
<Command>if(PROTO==377) ProtoName="Maceman";</Command>
<Command>if(PROTO==378) ProtoName="Maceman Hero";</Command>
<Command>if(PROTO==379) ProtoName="Man O War";</Command>
<Command>if(PROTO==380) ProtoName="Manor";</Command>
<Command>if(PROTO==381) ProtoName="Manticore";</Command>
<Command>if(PROTO==382) ProtoName="Manticore Barb";</Command>
<Command>if(PROTO==383) ProtoName="Market";</Command>
<Command>if(PROTO==384) ProtoName="Market Stall";</Command>
<Command>if(PROTO==385) ProtoName="Marsh Brush";</Command>
<Command>if(PROTO==386) ProtoName="Marsh stump";</Command>
<Command>if(PROTO==387) ProtoName="Marsh Tree";</Command>
<Command>if(PROTO==388) ProtoName="Marsh Tree Burning";</Command>
<Command>if(PROTO==389) ProtoName="Medusa";</Command>
<Command>if(PROTO==390) ProtoName="Mercenary";</Command>
<Command>if(PROTO==391) ProtoName="Mercenary Cavalry";</Command>
<Command>if(PROTO==392) ProtoName="Meteor";</Command>
<Command>if(PROTO==393) ProtoName="Meteor Impact Ground";</Command>
<Command>if(PROTO==394) ProtoName="Meteor Impact Water";</Command>
<Command>if(PROTO==395) ProtoName="Meteorite";</Command>
<Command>if(PROTO==396) ProtoName="Meteorite death";</Command>
<Command>if(PROTO==397) ProtoName="Migdol Stronghold";</Command>
<Command>if(PROTO==398) ProtoName="Milestone";</Command>
<Command>if(PROTO==399) ProtoName="Militia";</Command>
<Command>if(PROTO==400) ProtoName="MIne Pieces";</Command>
<Command>if(PROTO==401) ProtoName="Mini Atlantis";</Command>
<Command>if(PROTO==402) ProtoName="Mining Camp";</Command>
<Command>if(PROTO==403) ProtoName="Minion";</Command>
<Command>if(PROTO==404) ProtoName="Minotaur";</Command>
<Command>if(PROTO==405) ProtoName="Misc Objects";</Command>
<Command>if(PROTO==406) ProtoName="Misc Stairs";</Command>
<Command>if(PROTO==407) ProtoName="Mist";</Command>
<Command>if(PROTO==408) ProtoName="Mist Olympus";</Command>
<Command>if(PROTO==409) ProtoName="Monkey";</Command>
<Command>if(PROTO==410) ProtoName="Monkey Raft";</Command>
<Command>if(PROTO==411) ProtoName="Monkey Relic";</Command>
<Command>if(PROTO==412) ProtoName="Monument";</Command>
<Command>if(PROTO==413) ProtoName="Monument 2";</Command>
<Command>if(PROTO==414) ProtoName="Monument 3";</Command>
<Command>if(PROTO==415) ProtoName="Monument 4";</Command>
<Command>if(PROTO==416) ProtoName="Monument 5";</Command>
<Command>if(PROTO==417) ProtoName="Mountain Giant";</Command>
<Command>if(PROTO==418) ProtoName="Moveto";</Command>
<Command>if(PROTO==419) ProtoName="Mummy";</Command>
<Command>if(PROTO==420) ProtoName="Mummy Flies";</Command>
<Command>if(PROTO==421) ProtoName="Myrmidon";</Command>
<Command>if(PROTO==422) ProtoName="Naval Shipyard";</Command>
<Command>if(PROTO==423) ProtoName="Nemean Lion";</Command>
<Command>if(PROTO==424) ProtoName="Nereid";</Command>
<Command>if(PROTO==425) ProtoName="Nidhogg";</Command>
<Command>if(PROTO==426) ProtoName="Oak Autumn";</Command>
<Command>if(PROTO==427) ProtoName="Oak Autumn Burning";</Command>
<Command>if(PROTO==428) ProtoName="Oak stump";</Command>
<Command>if(PROTO==429) ProtoName="Oak stump burnt";</Command>
<Command>if(PROTO==430) ProtoName="Oak Tree";</Command>
<Command>if(PROTO==431) ProtoName="Oak Tree Burning";</Command>
<Command>if(PROTO==432) ProtoName="Oar Footprint";</Command>
<Command>if(PROTO==433) ProtoName="Obelisk";</Command>
<Command>if(PROTO==434) ProtoName="Odins Tower";</Command>
<Command>if(PROTO==435) ProtoName="Odysseus";</Command>
<Command>if(PROTO==436) ProtoName="Old Man";</Command>
<Command>if(PROTO==437) ProtoName="Olympus Temple SFX";</Command>
<Command>if(PROTO==438) ProtoName="Oracle Hero";</Command>
<Command>if(PROTO==439) ProtoName="Oracle Scout";</Command>
<Command>if(PROTO==440) ProtoName="Orca";</Command>
<Command>if(PROTO==441) ProtoName="Ornlu";</Command>
<Command>if(PROTO==442) ProtoName="Osiris";</Command>
<Command>if(PROTO==443) ProtoName="Osiris Birth";</Command>
<Command>if(PROTO==444) ProtoName="Osiris Box Glow";</Command>
<Command>if(PROTO==445) ProtoName="Osiris Lightning";</Command>
<Command>if(PROTO==446) ProtoName="Osiris Pyramid Dead";</Command>
<Command>if(PROTO==447) ProtoName="Osiris SFX";</Command>
<Command>if(PROTO==448) ProtoName="Outpost";</Command>
<Command>if(PROTO==449) ProtoName="Ox Cart";</Command>
<Command>if(PROTO==450) ProtoName="Palace";</Command>
<Command>if(PROTO==451) ProtoName="Palm";</Command>
<Command>if(PROTO==452) ProtoName="Palm Burning";</Command>
<Command>if(PROTO==453) ProtoName="Palm Stump";</Command>
<Command>if(PROTO==454) ProtoName="Papyrus";</Command>
<Command>if(PROTO==455) ProtoName="Pegasus";</Command>
<Command>if(PROTO==456) ProtoName="Peltast";</Command>
<Command>if(PROTO==457) ProtoName="Pestilence SFX1";</Command>
<Command>if(PROTO==458) ProtoName="Pestilence SFX2";</Command>
<Command>if(PROTO==459) ProtoName="Petosuchus Beam";</Command>
<Command>if(PROTO==460) ProtoName="Petosuchus projectile";</Command>
<Command>if(PROTO==461) ProtoName="Petrobolos";</Command>
<Command>if(PROTO==462) ProtoName="Petrobolos Shot";</Command>
<Command>if(PROTO==463) ProtoName="Petsuchos";</Command>
<Command>if(PROTO==464) ProtoName="Pharaoh";</Command>
<Command>if(PROTO==465) ProtoName="Pharaoh of Osiris";</Command>
<Command>if(PROTO==466) ProtoName="Pharaoh of Osiris XP";</Command>
<Command>if(PROTO==467) ProtoName="Pharaoh Secondary";</Command>
<Command>if(PROTO==468) ProtoName="Phoenix";</Command>
<Command>if(PROTO==469) ProtoName="Phoenix Egg";</Command>
<Command>if(PROTO==470) ProtoName="Phoenix From Egg";</Command>
<Command>if(PROTO==471) ProtoName="Pig";</Command>
<Command>if(PROTO==472) ProtoName="Pig Special";</Command>
<Command>if(PROTO==473) ProtoName="Pine";</Command>
<Command>if(PROTO==474) ProtoName="Pine Burning";</Command>
<Command>if(PROTO==475) ProtoName="Pine Dead";</Command>
<Command>if(PROTO==476) ProtoName="Pine Dead Burning";</Command>
<Command>if(PROTO==477) ProtoName="Pine Snow";</Command>
<Command>if(PROTO==478) ProtoName="Pine Snow Burning";</Command>
<Command>if(PROTO==479) ProtoName="Pine Stump";</Command>
<Command>if(PROTO==480) ProtoName="Pirate Ship";</Command>
<Command>if(PROTO==481) ProtoName="Plenty Flare";</Command>
<Command>if(PROTO==482) ProtoName="Plenty Vault";</Command>
<Command>if(PROTO==483) ProtoName="Plenty Vault KOTH";</Command>
<Command>if(PROTO==484) ProtoName="Poison SFX";</Command>
<Command>if(PROTO==485) ProtoName="Polar Bear";</Command>
<Command>if(PROTO==486) ProtoName="Polaris";</Command>
<Command>if(PROTO==487) ProtoName="Portable Ram";</Command>
<Command>if(PROTO==488) ProtoName="Poseidon Statue";</Command>
<Command>if(PROTO==489) ProtoName="Pots";</Command>
<Command>if(PROTO==490) ProtoName="Priest";</Command>
<Command>if(PROTO==491) ProtoName="Priest Projectile";</Command>
<Command>if(PROTO==492) ProtoName="Prisoner";</Command>
<Command>if(PROTO==493) ProtoName="Prodromos";</Command>
<Command>if(PROTO==494) ProtoName="Promethean";</Command>
<Command>if(PROTO==495) ProtoName="Promethean Small";</Command>
<Command>if(PROTO==496) ProtoName="Pyramid Large";</Command>
<Command>if(PROTO==497) ProtoName="Pyramid Osiris Xpack";</Command>
<Command>if(PROTO==498) ProtoName="Pyramid Small";</Command>
<Command>if(PROTO==499) ProtoName="Raft";</Command>
<Command>if(PROTO==500) ProtoName="Ragnorok SFX";</Command>
<Command>if(PROTO==501) ProtoName="Raiding Cavalry";</Command>
<Command>if(PROTO==502) ProtoName="Rain";</Command>
<Command>if(PROTO==503) ProtoName="Rain Small";</Command>
<Command>if(PROTO==504) ProtoName="Rainfall";</Command>
<Command>if(PROTO==505) ProtoName="Ramming Ship Egyptian";</Command>
<Command>if(PROTO==506) ProtoName="Ramming Ship Greek";</Command>
<Command>if(PROTO==507) ProtoName="Ramming Ship Norse";</Command>
<Command>if(PROTO==508) ProtoName="Raven";</Command>
<Command>if(PROTO==509) ProtoName="Recognizer";</Command>
<Command>if(PROTO==510) ProtoName="Regeneration SFX";</Command>
<Command>if(PROTO==511) ProtoName="Reginleif";</Command>
<Command>if(PROTO==512) ProtoName="Relic";</Command>
<Command>if(PROTO==513) ProtoName="Repeat Flag";</Command>
<Command>if(PROTO==514) ProtoName="Revealer";</Command>
<Command>if(PROTO==515) ProtoName="Revealer to Player";</Command>
<Command>if(PROTO==516) ProtoName="Rhinoceros of Set";</Command>
<Command>if(PROTO==517) ProtoName="Rhinocerous";</Command>
<Command>if(PROTO==518) ProtoName="Roc";</Command>
<Command>if(PROTO==519) ProtoName="Roc Tent";</Command>
<Command>if(PROTO==520) ProtoName="Rock Cliff";</Command>
<Command>if(PROTO==521) ProtoName="Rock Granite Big";</Command>
<Command>if(PROTO==522) ProtoName="Rock Granite Small";</Command>
<Command>if(PROTO==523) ProtoName="Rock Granite Sprite";</Command>
<Command>if(PROTO==524) ProtoName="Rock Limestone Big";</Command>
<Command>if(PROTO==525) ProtoName="Rock Limestone Small";</Command>
<Command>if(PROTO==526) ProtoName="Rock Limestone Sprite";</Command>
<Command>if(PROTO==527) ProtoName="Rock River Grassy";</Command>
<Command>if(PROTO==528) ProtoName="Rock River Icy";</Command>
<Command>if(PROTO==529) ProtoName="Rock River Sandy";</Command>
<Command>if(PROTO==530) ProtoName="Rock Sandstone Big";</Command>
<Command>if(PROTO==531) ProtoName="Rock Sandstone Small";</Command>
<Command>if(PROTO==532) ProtoName="Rock Sandstone Sprite";</Command>
<Command>if(PROTO==533) ProtoName="Rock Snow";</Command>
<Command>if(PROTO==534) ProtoName="Rock Symbols";</Command>
<Command>if(PROTO==535) ProtoName="Rocket";</Command>
<Command>if(PROTO==536) ProtoName="Rotting Log";</Command>
<Command>if(PROTO==537) ProtoName="Royal Guard";</Command>
<Command>if(PROTO==538) ProtoName="Royal Guard Hero";</Command>
<Command>if(PROTO==539) ProtoName="Rugs";</Command>
<Command>if(PROTO==540) ProtoName="Ruins";</Command>
<Command>if(PROTO==541) ProtoName="Runestone";</Command>
<Command>if(PROTO==542) ProtoName="Sand Drift Dune";</Command>
<Command>if(PROTO==543) ProtoName="Sand Drift Patch";</Command>
<Command>if(PROTO==544) ProtoName="Sand Drift Plain";</Command>
<Command>if(PROTO==545) ProtoName="Satyr";</Command>
<Command>if(PROTO==546) ProtoName="Savannah stump";</Command>
<Command>if(PROTO==547) ProtoName="Savannah Tree";</Command>
<Command>if(PROTO==548) ProtoName="Savannah Tree Burning";</Command>
<Command>if(PROTO==549) ProtoName="Scarab";</Command>
<Command>if(PROTO==550) ProtoName="Scarab Blood";</Command>
<Command>if(PROTO==551) ProtoName="Scorpion Man";</Command>
<Command>if(PROTO==552) ProtoName="Scorpion Tail";</Command>
<Command>if(PROTO==553) ProtoName="Scout";</Command>
<Command>if(PROTO==554) ProtoName="Scylla";</Command>
<Command>if(PROTO==555) ProtoName="Sea Snake";</Command>
<Command>if(PROTO==556) ProtoName="Sea Turtle";</Command>
<Command>if(PROTO==557) ProtoName="Seagull";</Command>
<Command>if(PROTO==558) ProtoName="Seagull High";</Command>
<Command>if(PROTO==559) ProtoName="Seagull Low";</Command>
<Command>if(PROTO==560) ProtoName="Seaweed";</Command>
<Command>if(PROTO==561) ProtoName="Sentinel Base";</Command>
<Command>if(PROTO==562) ProtoName="Sentinel Main";</Command>
<Command>if(PROTO==563) ProtoName="Serpent";</Command>
<Command>if(PROTO==564) ProtoName="Servant";</Command>
<Command>if(PROTO==565) ProtoName="Setna";</Command>
<Command>if(PROTO==566) ProtoName="Settlement";</Command>
<Command>if(PROTO==567) ProtoName="Settlement Level 1";</Command>
<Command>if(PROTO==568) ProtoName="Shaba Ka";</Command>
<Command>if(PROTO==569) ProtoName="Shade";</Command>
<Command>if(PROTO==570) ProtoName="Shade of Erebus";</Command>
<Command>if(PROTO==571) ProtoName="Shade of Hades";</Command>
<Command>if(PROTO==572) ProtoName="Shade XP";</Command>
<Command>if(PROTO==573) ProtoName="Shadow";</Command>
<Command>if(PROTO==574) ProtoName="Shark";</Command>
<Command>if(PROTO==575) ProtoName="Shifting Sands In";</Command>
<Command>if(PROTO==576) ProtoName="Shifting Sands Out";</Command>
<Command>if(PROTO==577) ProtoName="Shifting Sands Out Effect";</Command>
<Command>if(PROTO==578) ProtoName="Shipwreck";</Command>
<Command>if(PROTO==579) ProtoName="Shockwave stun effect";</Command>
<Command>if(PROTO==580) ProtoName="Shrine";</Command>
<Command>if(PROTO==581) ProtoName="Siege Camp";</Command>
<Command>if(PROTO==582) ProtoName="Siege Ship Atlantean";</Command>
<Command>if(PROTO==583) ProtoName="Siege Ship Egyptian";</Command>
<Command>if(PROTO==584) ProtoName="Siege Ship Greek";</Command>
<Command>if(PROTO==585) ProtoName="Siege Ship Norse";</Command>
<Command>if(PROTO==586) ProtoName="Siege Tower";</Command>
<Command>if(PROTO==587) ProtoName="Sign";</Command>
<Command>if(PROTO==588) ProtoName="Skeleton";</Command>
<Command>if(PROTO==589) ProtoName="Skeleton Animal";</Command>
<Command>if(PROTO==590) ProtoName="Skeleton Giant";</Command>
<Command>if(PROTO==591) ProtoName="Skraeling";</Command>
<Command>if(PROTO==592) ProtoName="Skult";</Command>
<Command>if(PROTO==593) ProtoName="Sky Passage";</Command>
<Command>if(PROTO==594) ProtoName="Sling Stone";</Command>
<Command>if(PROTO==595) ProtoName="Slinger";</Command>
<Command>if(PROTO==596) ProtoName="Smoke";</Command>
<Command>if(PROTO==597) ProtoName="Smoke Big";</Command>
<Command>if(PROTO==598) ProtoName="Smoke Giant";</Command>
<Command>if(PROTO==599) ProtoName="Snow Drift";</Command>
<Command>if(PROTO==600) ProtoName="Snow Drift Archery";</Command>
<Command>if(PROTO==601) ProtoName="Snow Drift Barracks";</Command>
<Command>if(PROTO==602) ProtoName="Snow Drift Major Temple";</Command>
<Command>if(PROTO==603) ProtoName="Snow Drift Settlements";</Command>
<Command>if(PROTO==604) ProtoName="Snow Drift Siege";</Command>
<Command>if(PROTO==605) ProtoName="Snow Drift Stable";</Command>
<Command>if(PROTO==606) ProtoName="Snow Drift Tower";</Command>
<Command>if(PROTO==607) ProtoName="Snow Storm";</Command>
<Command>if(PROTO==608) ProtoName="Snowfall";</Command>
<Command>if(PROTO==609) ProtoName="Sound Gaia SFX";</Command>
<Command>if(PROTO==610) ProtoName="SPCMeteor";</Command>
<Command>if(PROTO==611) ProtoName="Spear";</Command>
<Command>if(PROTO==612) ProtoName="Spear Flaming";</Command>
<Command>if(PROTO==613) ProtoName="Spearman";</Command>
<Command>if(PROTO==614) ProtoName="Sphinx";</Command>
<Command>if(PROTO==615) ProtoName="Spider";</Command>
<Command>if(PROTO==616) ProtoName="Spider Door";</Command>
<Command>if(PROTO==617) ProtoName="Spider Egg";</Command>
<Command>if(PROTO==618) ProtoName="Spider Warn";</Command>
<Command>if(PROTO==619) ProtoName="Splash";</Command>
<Command>if(PROTO==620) ProtoName="Splash Footprint";</Command>
<Command>if(PROTO==621) ProtoName="Spy Eye";</Command>
<Command>if(PROTO==622) ProtoName="Stable";</Command>
<Command>if(PROTO==623) ProtoName="Stalagmite";</Command>
<Command>if(PROTO==624) ProtoName="Statue Chimera";</Command>
<Command>if(PROTO==625) ProtoName="Statue Cyclops";</Command>
<Command>if(PROTO==626) ProtoName="Statue Hydra";</Command>
<Command>if(PROTO==627) ProtoName="Statue Lion Left";</Command>
<Command>if(PROTO==628) ProtoName="Statue Lion Right";</Command>
<Command>if(PROTO==629) ProtoName="Statue Manticore";</Command>
<Command>if(PROTO==630) ProtoName="Statue Nemean Lion";</Command>
<Command>if(PROTO==631) ProtoName="Statue of Automaton";</Command>
<Command>if(PROTO==632) ProtoName="Statue of Automaton Base";</Command>
<Command>if(PROTO==633) ProtoName="Statue of Lightning";</Command>
<Command>if(PROTO==634) ProtoName="Statue of Major God";</Command>
<Command>if(PROTO==635) ProtoName="Statue of Melagius";</Command>
<Command>if(PROTO==636) ProtoName="Statue Pharaoh";</Command>
<Command>if(PROTO==637) ProtoName="Statue Valkyrie";</Command>
<Command>if(PROTO==638) ProtoName="Stop Combat";</Command>
<Command>if(PROTO==639) ProtoName="Storehouse";</Command>
<Command>if(PROTO==640) ProtoName="Stymph Bird Feather";</Command>
<Command>if(PROTO==641) ProtoName="Stymphalian Bird";</Command>
<Command>if(PROTO==642) ProtoName="Summoning Tree";</Command>
<Command>if(PROTO==643) ProtoName="Summoning Tree 2";</Command>
<Command>if(PROTO==644) ProtoName="Sword Bearers";</Command>
<Command>if(PROTO==645) ProtoName="Swordsman";</Command>
<Command>if(PROTO==646) ProtoName="Swordsman Hero";</Command>
<Command>if(PROTO==647) ProtoName="Tamarisk Tree";</Command>
<Command>if(PROTO==648) ProtoName="Tamarisk Tree Dead";</Command>
<Command>if(PROTO==649) ProtoName="Taproot";</Command>
<Command>if(PROTO==650) ProtoName="Taproot large";</Command>
<Command>if(PROTO==651) ProtoName="Taproot Small";</Command>
<Command>if(PROTO==652) ProtoName="Tartarian Gate";</Command>
<Command>if(PROTO==653) ProtoName="Tartarian Gate birth";</Command>
<Command>if(PROTO==654) ProtoName="Tartarian Gate creature effect";</Command>
<Command>if(PROTO==655) ProtoName="Tartarian Gate flame";</Command>
<Command>if(PROTO==656) ProtoName="Tartarian Gate placement";</Command>
<Command>if(PROTO==657) ProtoName="Tartarian Gate spawn";</Command>
<Command>if(PROTO==658) ProtoName="Tartarian Rubble";</Command>
<Command>if(PROTO==659) ProtoName="Temple";</Command>
<Command>if(PROTO==660) ProtoName="Temple Kronos";</Command>
<Command>if(PROTO==661) ProtoName="Temple Overgrown";</Command>
<Command>if(PROTO==662) ProtoName="Temple Underworld";</Command>
<Command>if(PROTO==663) ProtoName="Tent";</Command>
<Command>if(PROTO==664) ProtoName="Test Object";</Command>
<Command>if(PROTO==665) ProtoName="Testomatic";</Command>
<Command>if(PROTO==666) ProtoName="Theocrat";</Command>
<Command>if(PROTO==667) ProtoName="Theris";</Command>
<Command>if(PROTO==668) ProtoName="Thor hammer";</Command>
<Command>if(PROTO==669) ProtoName="Thor Hammer Haft";</Command>
<Command>if(PROTO==670) ProtoName="Thor Hammer Head";</Command>
<Command>if(PROTO==671) ProtoName="Throwing Axeman";</Command>
<Command>if(PROTO==672) ProtoName="Timeshift in";</Command>
<Command>if(PROTO==673) ProtoName="Timeshift out";</Command>
<Command>if(PROTO==674) ProtoName="Titan Atlantean";</Command>
<Command>if(PROTO==675) ProtoName="Titan Atlantean Footprint";</Command>
<Command>if(PROTO==676) ProtoName="Titan Bad";</Command>
<Command>if(PROTO==677) ProtoName="Titan Death";</Command>
<Command>if(PROTO==678) ProtoName="Titan Gaia";</Command>
<Command>if(PROTO==679) ProtoName="Titan Gate";</Command>
<Command>if(PROTO==680) ProtoName="Titan Gate Dead";</Command>
<Command>if(PROTO==681) ProtoName="Titan Kronos";</Command>
<Command>if(PROTO==682) ProtoName="Titan Prometheus";</Command>
<Command>if(PROTO==683) ProtoName="Torch";</Command>
<Command>if(PROTO==684) ProtoName="Tornado";</Command>
<Command>if(PROTO==685) ProtoName="Tornado Debris";</Command>
<Command>if(PROTO==686) ProtoName="Tower";</Command>
<Command>if(PROTO==687) ProtoName="Tower Mirror";</Command>
<Command>if(PROTO==688) ProtoName="Tower Mirror Focuser";</Command>
<Command>if(PROTO==689) ProtoName="Toxotes";</Command>
<Command>if(PROTO==690) ProtoName="Traitors effect";</Command>
<Command>if(PROTO==691) ProtoName="Transport Ship Atlantean";</Command>
<Command>if(PROTO==692) ProtoName="Transport Ship Egyptian";</Command>
<Command>if(PROTO==693) ProtoName="Transport Ship Greek";</Command>
<Command>if(PROTO==694) ProtoName="Transport Ship Norse";</Command>
<Command>if(PROTO==695) ProtoName="Tree Finale";</Command>
<Command>if(PROTO==696) ProtoName="Tremor";</Command>
<Command>if(PROTO==697) ProtoName="Trident";</Command>
<Command>if(PROTO==698) ProtoName="Trident Soldier";</Command>
<Command>if(PROTO==699) ProtoName="Trident Soldier Hero";</Command>
<Command>if(PROTO==700) ProtoName="Trireme";</Command>
<Command>if(PROTO==701) ProtoName="Trojan Horse";</Command>
<Command>if(PROTO==702) ProtoName="Troll";</Command>
<Command>if(PROTO==703) ProtoName="Troy Gate";</Command>
<Command>if(PROTO==704) ProtoName="Troy Gate Dead";</Command>
<Command>if(PROTO==705) ProtoName="Troy Wall Connector";</Command>
<Command>if(PROTO==706) ProtoName="Troy Wall Long";</Command>
<Command>if(PROTO==707) ProtoName="Troy Wall Short";</Command>
<Command>if(PROTO==708) ProtoName="Tundra Brush";</Command>
<Command>if(PROTO==709) ProtoName="Tundra stump";</Command>
<Command>if(PROTO==710) ProtoName="Tundra Tree";</Command>
<Command>if(PROTO==711) ProtoName="Tundra Tree Burning";</Command>
<Command>if(PROTO==712) ProtoName="Tunnel";</Command>
<Command>if(PROTO==713) ProtoName="Tunnel Opening";</Command>
<Command>if(PROTO==714) ProtoName="UI Army Banner Archer";</Command>
<Command>if(PROTO==715) ProtoName="UI Army Banner Building";</Command>
<Command>if(PROTO==716) ProtoName="UI Army Banner Caravan";</Command>
<Command>if(PROTO==717) ProtoName="UI Army Banner Cavalry";</Command>
<Command>if(PROTO==718) ProtoName="UI Army Banner Furled";</Command>
<Command>if(PROTO==719) ProtoName="UI Army Banner Hero";</Command>
<Command>if(PROTO==720) ProtoName="UI Army Banner Infantry";</Command>
<Command>if(PROTO==721) ProtoName="UI Army Banner Myth";</Command>
<Command>if(PROTO==722) ProtoName="UI Army Banner Naval";</Command>
<Command>if(PROTO==723) ProtoName="UI Army Banner Oxcart";</Command>
<Command>if(PROTO==724) ProtoName="UI Army Banner Plain";</Command>
<Command>if(PROTO==725) ProtoName="UI Army Banner Siege";</Command>
<Command>if(PROTO==726) ProtoName="UI Army Banner Villager";</Command>
<Command>if(PROTO==727) ProtoName="UI Banner Objective";</Command>
<Command>if(PROTO==728) ProtoName="UI Cloud Boarder";</Command>
<Command>if(PROTO==729) ProtoName="UI Hero Banner";</Command>
<Command>if(PROTO==730) ProtoName="UI Idle Military Banner";</Command>
<Command>if(PROTO==731) ProtoName="UI Idle Villager Banner";</Command>
<Command>if(PROTO==732) ProtoName="UI Range Indicator Atlantean SFX";</Command>
<Command>if(PROTO==733) ProtoName="UI Range Indicator Egypt SFX";</Command>
<Command>if(PROTO==734) ProtoName="UI Range Indicator Greek SFX";</Command>
<Command>if(PROTO==735) ProtoName="UI Range Indicator Norse SFX";</Command>
<Command>if(PROTO==736) ProtoName="UI Town Bell Banner";</Command>
<Command>if(PROTO==737) ProtoName="Ulfsark";</Command>
<Command>if(PROTO==738) ProtoName="Underbrush";</Command>
<Command>if(PROTO==739) ProtoName="Undermine Building Destruction SFX";</Command>
<Command>if(PROTO==740) ProtoName="undermine ground decal corner";</Command>
<Command>if(PROTO==741) ProtoName="undermine ground decal long";</Command>
<Command>if(PROTO==742) ProtoName="undermine ground decal short";</Command>
<Command>if(PROTO==743) ProtoName="Underworld Explosion";</Command>
<Command>if(PROTO==744) ProtoName="Underworld Passage SPC";</Command>
<Command>if(PROTO==745) ProtoName="Underworld Smoke";</Command>
<Command>if(PROTO==746) ProtoName="Valkyrie";</Command>
<Command>if(PROTO==747) ProtoName="Victory Marker";</Command>
<Command>if(PROTO==748) ProtoName="Villager Atlantean";</Command>
<Command>if(PROTO==749) ProtoName="Villager Atlantean Hero";</Command>
<Command>if(PROTO==750) ProtoName="Villager Egyptian";</Command>
<Command>if(PROTO==751) ProtoName="Villager Greek";</Command>
<Command>if(PROTO==752) ProtoName="Villager Norse";</Command>
<Command>if(PROTO==753) ProtoName="Vision Revealer";</Command>
<Command>if(PROTO==754) ProtoName="Vision SFX";</Command>
<Command>if(PROTO==755) ProtoName="Volcano";</Command>
<Command>if(PROTO==756) ProtoName="Volley";</Command>
<Command>if(PROTO==757) ProtoName="Vortex finish";</Command>
<Command>if(PROTO==758) ProtoName="Vortex finish linked";</Command>
<Command>if(PROTO==759) ProtoName="Vortex landing";</Command>
<Command>if(PROTO==760) ProtoName="Vortex start";</Command>
<Command>if(PROTO==761) ProtoName="Vortex start linked";</Command>
<Command>if(PROTO==762) ProtoName="Vulture";</Command>
<Command>if(PROTO==763) ProtoName="Wadjet";</Command>
<Command>if(PROTO==764) ProtoName="Wadjet Spit";</Command>
<Command>if(PROTO==765) ProtoName="Walking Berry Bush";</Command>
<Command>if(PROTO==766) ProtoName="Walking Woods Marsh";</Command>
<Command>if(PROTO==767) ProtoName="Walking Woods Oak";</Command>
<Command>if(PROTO==768) ProtoName="Walking Woods Palm";</Command>
<Command>if(PROTO==769) ProtoName="Walking Woods Pine";</Command>
<Command>if(PROTO==770) ProtoName="Walking Woods Pine Snow";</Command>
<Command>if(PROTO==771) ProtoName="Walking Woods Savannah";</Command>
<Command>if(PROTO==772) ProtoName="Walking Woods Tundra";</Command>
<Command>if(PROTO==773) ProtoName="Wall Connector";</Command>
<Command>if(PROTO==774) ProtoName="Wall Connector Destruction SFX";</Command>
<Command>if(PROTO==775) ProtoName="Wall Long";</Command>
<Command>if(PROTO==776) ProtoName="Wall Long Destruction SFX";</Command>
<Command>if(PROTO==777) ProtoName="Wall Medium";</Command>
<Command>if(PROTO==778) ProtoName="Wall Short";</Command>
<Command>if(PROTO==779) ProtoName="Wall Short Destruction SFX";</Command>
<Command>if(PROTO==780) ProtoName="Walrus";</Command>
<Command>if(PROTO==781) ProtoName="War Elephant";</Command>
<Command>if(PROTO==782) ProtoName="Water Buffalo";</Command>
<Command>if(PROTO==783) ProtoName="Water decoration";</Command>
<Command>if(PROTO==784) ProtoName="Water Lilly";</Command>
<Command>if(PROTO==785) ProtoName="Water Reeds";</Command>
<Command>if(PROTO==786) ProtoName="Waterfall";</Command>
<Command>if(PROTO==787) ProtoName="Wave";</Command>
<Command>if(PROTO==788) ProtoName="Waypoint Flag";</Command>
<Command>if(PROTO==789) ProtoName="Weapons";</Command>
<Command>if(PROTO==790) ProtoName="Well of Urd";</Command>
<Command>if(PROTO==791) ProtoName="Whale";</Command>
<Command>if(PROTO==792) ProtoName="Wolf";</Command>
<Command>if(PROTO==793) ProtoName="Wolf Arctic";</Command>
<Command>if(PROTO==794) ProtoName="Wolf Arctic 2";</Command>
<Command>if(PROTO==795) ProtoName="Wonder";</Command>
<Command>if(PROTO==796) ProtoName="Wonder SPC";</Command>
<Command>if(PROTO==797) ProtoName="Wood Pile 1";</Command>
<Command>if(PROTO==798) ProtoName="Wood Pile 2";</Command>
<Command>if(PROTO==799) ProtoName="Wood Pile 3";</Command>
<Command>if(PROTO==800) ProtoName="Yardstick";</Command>
<Command>if(PROTO==166) ProtoName="Zebra";</Command>
<Command>trArmyDispatch("%SrcArmy%", ProtoName, %Count%, %Location%, %Heading%, %Clear%);</Command>
</Effect>



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.

[This message has been edited by nottud (edited 01-04-2007 @ 04:17 AM).]

posted 03 January 2007 12:27 PM EDT (US)     37 / 57  
Ah thanks for catching that.


Not really sure about doing randomizing on triggers and selecting from ALL protounits though.

Seriously how often would you want to choose from a Colossus and some Blood?

Doing a series of choices would be shorter and more useful I'd think.

Perhaps have one effect set choices (more than 3) and one effect fire it off (as the trigger menu is not very large to accomadate both)

posted 03 January 2007 02:09 PM EDT (US)     38 / 57  
WARNING ALL PROTOUNIT TRIGGERS!

DO NOT INCLUDE THE EGYPTIAN VULTURE BECAUSE OF THE SILLY VULTURE ANIMATION BUSINESS - IT IS CAUSING ERROS BECAUSE SOME HAVE THE FILE AND SOME DON'T.

I AM GOING TO UPDATE MY TRIGGERS TO RID THIS.

By the way - I have made an ace man where rabndom units deploy in middle and you convert them to your side. Later on random GPs and other things are granted.

There is 1 more power that is wrong but I can't work it out!


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.

[This message has been edited by nottud (edited 01-03-2007 @ 02:11 PM).]

posted 03 January 2007 10:26 PM EDT (US)     39 / 57  
You have a list of god power names and a program that generate things for you from a list don't you?

So just run the program through and recreate the list (or check each line for error).

Don't feel like digging thru AOM files again

posted 04 January 2007 03:58 AM EDT (US)     40 / 57  
No! - I don't use a special program. I will remake it though just to make sure.

I am clever though and I can do it using excell. Put the part of the trigger code up to the GP name in the first column, paste a god power list in the second column and put the second part of the code in the 3rd part. Duplicate the first and second columns down to the bottom of the GP list. Copy all to notepad to get rid of the table lines then copy to word and then copy to word. Highlight a space (Caused by TAB) and paste it into find and replace. Put nothing into the replace with and put "replace all". Now you a nice trigger which you barely had to type anything! I will admit it a little complex but it works! Here is my trigger:

<Effect name="Grant GP Random">
<Param name="PlayerID" dispName="Player" varType="player">0</Param>
<Param name="PowerName1" dispName="Choice 1" varType="godpower">default</Param>
<Param name="PowerName2" dispName="Choice 2" varType="godpower">default</Param>
<Param name="PowerName3" dispName="Choice 3" varType="godpower">default</Param>
<Param name="AllGP" dispName="Or From ALL 71 GPs" varType="bool">default</Param>
<Param name="Count" dispName="Uses" varType="long">1</Param>
<Command>if(%AllGP%==false) trQuestVarSetFromRand("GrantGPRandomQV", 1, 3, true);</Command>
<Command>if(%AllGP%==true) trQuestVarSetFromRand("GrantGPRandomQV", 1, 70, true);</Command>
<Command>int gprand=trQuestVarGet("GrantGPRandomQV");</Command>
<Command>string gprander="";</Command>
<Command>if(%AllGP%==false) {</Command>
<Command>gprander="%PowerName1%";</Command>
<Command>if(gprand==2) gprander="%PowerName2%";</Command>
<Command>if(gprand==3) gprander="%PowerName3%";</Command>
<Command>}</Command>
<Command>else{</Command>
<Command>if(gprand==1) gprander="animal magnetism";</Command>
<Command>if(gprand==2) gprander="audrey";</Command>
<Command>if(gprand==3) gprander="Blessing of Zeus";</Command>
<Command>if(gprand==4) gprander="bolt";</Command>
<Command>if(gprand==5) gprander="Bronze XP05";</Command>
<Command>if(gprand==6) gprander="Bronze";</Command>
<Command>if(gprand==7) gprander="Cease Fire Nomad";</Command>
<Command>if(gprand==8) gprander="Cease Fire";</Command>
<Command>if(gprand==9) gprander="Change Caladria";</Command>
<Command>if(gprand==10) gprander="Change Chimera";</Command>
<Command>if(gprand==11) gprander="Change Cyclops";</Command>
<Command>if(gprand==12) gprander="Change Hydra";</Command>
<Command>if(gprand==13) gprander="Change Manticore";</Command>
<Command>if(gprand==14) gprander="Change Nemean";</Command>
<Command>if(gprand==15) gprander="Chaos";</Command>
<Command>if(gprand==16) gprander="chicken storm";</Command>
<Command>if(gprand==17) gprander="Citadel";</Command>
<Command>if(gprand==18) gprander="create gold";</Command>
<Command>if(gprand==19) gprander="Curse";</Command>
<Command>if(gprand==20) gprander="Earthquake";</Command>
<Command>if(gprand==21) gprander="Eclipse";</Command>
<Command>if(gprand==22) gprander="flaming weapons";</Command>
<Command>if(gprand==23) gprander="Forest Fire";</Command>
<Command>if(gprand==24) gprander="frost";</Command>
<Command>if(gprand==25) gprander="goatunheim";</Command>
<Command>if(gprand==26) gprander="gaia forest SPC";</Command>
<Command>if(gprand==27) gprander="gaia forest ";</Command>
<Command>if(gprand==28) gprander="Great Hunt";</Command>
<Command>if(gprand==29) gprander="healing spring";</Command>
<Command>if(gprand==30) gprander="heroize";</Command>
<Command>if(gprand==31) gprander="hesperides";</Command>
<Command>if(gprand==32) gprander="implode";</Command>
<Command>if(gprand==33) gprander="lightning storm";</Command>
<Command>if(gprand==34) gprander="locust swarm";</Command>
<Command>if(gprand==35) gprander="meteor";</Command>
<Command>if(gprand==36) gprander="nidhogg";</Command>
<Command>if(gprand==37) gprander="Pestilence";</Command>
<Command>if(gprand==38) gprander="plenty";</Command>
<Command>if(gprand==39) gprander="Prosperity";</Command>
<Command>if(gprand==40) gprander="Ragnorok";</Command>
<Command>if(gprand==41) gprander="Rain";</Command>
<Command>if(gprand==42) gprander="Restoration";</Command>
<Command>if(gprand==43) gprander="reverse time";</Command>
<Command>if(gprand==44) gprander="reverse wonder";</Command>
<Command>if(gprand==45) gprander="Sandstorm";</Command>
<Command>if(gprand==46) gprander="Seed of Gaia";</Command>
<Command>if(gprand==47) gprander="sentinel";</Command>
<Command>if(gprand==48) gprander="serpents";</Command>
<Command>if(gprand==49) gprander="skeleton power";</Command>
<Command>if(gprand==50) gprander="Snow Storm";</Command>
<Command>if(gprand==51) gprander="Son of Osiris";</Command>
<Command>if(gprand==52) gprander="SPClighning storm";</Command>
<Command>if(gprand==53) gprander="SPCMeteor";</Command>
<Command>if(gprand==54) gprander="spiders";</Command>
<Command>if(gprand==55) gprander="spy";</Command>
<Command>if(gprand==56) gprander="tartarian gate";</Command>
<Command>if(gprand==57) gprander="TitanGate";</Command>
<Command>if(gprand==58) gprander="Tornado XP05";</Command>
<Command>if(gprand==59) gprander="Tornado";</Command>
<Command>if(gprand==60) gprander="traitors";</Command>
<Command>if(gprand==61) gprander="Traitors SPC";</Command>
<Command>if(gprand==62) gprander="Tremor";</Command>
<Command>if(gprand==63) gprander="Undermine";</Command>
<Command>if(gprand==64) gprander="Underworld Passage";</Command>
<Command>if(gprand==65) gprander="vision";</Command>
<Command>if(gprand==66) gprander="Volcano";</Command>
<Command>if(gprand==67) gprander="vortex";</Command>
<Command>if(gprand==68) gprander="Walking Berry Bushes";</Command>
<Command>if(gprand==69) gprander="Walking Woods";</Command>
<Command>if(gprand==70) gprander="Well of Urd";</Command>
<Command>}</Command>
<Command>trTechGodPower(%PlayerID%, gprander, %Count%);</Command>
</Effect>


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.

[This message has been edited by nottud (edited 01-04-2007 @ 04:16 AM).]

posted 04 January 2007 09:56 AM EDT (US)     41 / 57  
posted 04 January 2007 10:02 AM EDT (US)     42 / 57  
What I ment was is that it isnt a special program that is designed for making triggers mega fast.

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 04 January 2007 10:12 AM EDT (US)     43 / 57  
(well we don't need a program designed specifically for AOM triggers now do we?)

It's still a program that I do not have.

Although I can create a PHP script that does the same thing - but I don't have the lists.

posted 04 January 2007 10:23 AM EDT (US)     44 / 57  

Quote:

Now paste the trigger effect in between those 2 tags. If it didn't appear the trigger abd you have more than 1 set of typetest files. Try putting it in the other one. (The first one might have a syntax error in it so the trigger won't show up.

It didn't appear. Is the problem that I should put it into both the original Typetest and the TT Typetest?




Sweet baby maizes!
posted 04 January 2007 11:12 AM EDT (US)     45 / 57  
It will only appear for the game who's typetest you put it in (1 --> AOM, 2 --> AOMTT).

Maybe copy-paste what your typetest file looks like where you pasted it?

(copy a few of the lines around the block of code as well so we can see where it is)

posted 05 January 2007 03:50 AM EDT (US)     46 / 57  
I got like 7 typetests but it appears whichever one I put it in!

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 05 January 2007 11:28 PM EDT (US)     47 / 57  
Nottud - I'm talking about the trigger folder... if you place it in the AOM folder it shows up for AOM.


BTW nottud where are you getting your lists?


If it is in the game files - there might be a way to extract the info from there and reduce trigger size.

OR the game info can be copy-pasted into the trigger file for use with all triggers.


We did this for our map Fort Wars in creating a zeroCost Function, Display Name Finder, and Unit HP Finder.

Then in our XS code, whenever we needed something we just call that function.

Example, a number of your triggers rely on protounit so instead of pasting that several times we just paste it once and use something like protonames() to list it.

[This message has been edited by pftq (edited 01-06-2007 @ 00:17 AM).]

posted 06 January 2007 03:30 AM EDT (US)     48 / 57  
Reyk did a set of lists for download but sometimes there are a couple of errors in the list.

There was a couple in his GP list and there was spaces missin on the non expansion units on his list. I had to extract a scenario to get the unit list for non expansion. Not only did I get the unit list but I got all the collective terms as well!

If you need a list, feel welcome to ask me for one. I can get MOST lists. Oh course I will need to check for errors first but after that yipee - tons of time saved. If you wish a unit list, use the one I posted in the other thread. (It has everything in it but mind you take out egyptian vulture if you convert to trigger or you will risk a sync!)


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 06 January 2007 05:14 AM EDT (US)     49 / 57  
No I was just wondering if perhaps we could link the list to the trigger file if you knew where the list ingame was - but apparently not.


Either way it's still a good idea to save the list in the trigger file - would save space and make your triggers far more efficient (seeing as you pasted the same list a number of times).

You should really get MSN - then I can show you what to do with your lists

posted 07 January 2007 04:20 PM EDT (US)     50 / 57  
Email to me then:

nottud@bellastown.demon.co.uk


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.
« Previous Page  1 2 3  Next Page »
Age of Mythology Heaven » Forums » Modding and Scripting » Trigger breakthrough!
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Mythology Heaven | HeavenGames