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

Scenario Design
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: CASTWCRT Triggers
« Previous Page  1 2 3 4 5 6 ··· 10 ··· 20 ··· 30 ··· 37  Next Page »
posted 23 September 2009 11:59 AM EDT (US)   
It's out!!!




CASTWCRT Triggers here, please. Now we won't overflood the TRT with our expert trigger discussions!

OK, for those who are wondering... CASTWCRT stands for Confederation for Abolishment of Simple Triggers so We Can Redo Them. This was started by three trigger soon-to-be experts, Guard of Osiris, Guard of Olympus, and lostrozzacavalli. We try to do all simple triggers that haven't been done yet...

Guard of Olympus
lostrozzacavalli
Guard of Osiris
WinstonShnozwick
Perpetual_n00b
JDmino/Jack D P
Kai Hirogashi
AA ObjectiveSecret MessagesTribute MessageQV Set Unit CountQV Modify ProtoUnit AllCamera Track With DialogueChange Unit Type & Sound
TimeTriggersQV Grant God PowerN/AQV Set QVSet Animation Units in AreaFull Cinematic ModeN/A
AACinematicChange Unit in random NOT DEADLY unit typeN/AUnit Create at ProtoUnitObjective NewUnits Swap PositionsN/A
AASend Spoofed Bolded chatTeleport to ArmyN/ADamage Around ProtounitQV Set from ResourceN/AN/A
AAEasyQVCodeNew ConditionalsN/AProtounit Move To PointChat Contains SecretN/AN/A
AAShowMap(Condition) QV Check ORN/AProtounit Move To Unit(Condition)QV Percent CompleteN/AN/A
N/ASet random tech status player rangeN/AQV Tool Condition(Condition) Timer less thanN/AN/A
N/ATeleport OnlineN/AHotkeyRandom LocationsN/AN/A
N/ARandom Colored ChatN/AQV Tool EffectGroup Create Select Unit TypeN/AN/A
N/AQV Shake CameraN/AChange Protounit NameQV Set Civilization NameN/AN/A
N/AQV Modify By RandomN/AProtounit WorkQV Damage Units in Area of ArmyN/AN/A
N/ARandom LocationsN/AGrant and Invoke GP's Multi (Unit Based)QV Heal Units in Area of ArmyN/AN/A
N/AActive Basic Scenario Functions player rangeN/AFire Event Quest VarFire Event TimersN/AN/A
N/ASpoofed Chat RandomN/AN/AQV HeadingN/AN/A
N/AQV Army DeployN/APlayer Change RandomMove Relative To SelfN/AN/A
N/ASelectors Four UnitsN/AN/ADisable Multiple TriggersN/AN/A
N/AUnits reviveN/AN/AMap Arrow Keys To EventN/AN/A
N/AColored chat (255 Coloring System)N/AN/AMap Keys To EventN/AN/A
N/AQV Range VarsN/AN/AArmy Deploy Relative to UnitN/AN/A
N/AyTeleport OnlineN/AN/AArmy Deploy Relative to ArmyN/AN/A
N/AModify Protounit All Player RangeN/AN/ASound Filename RandomN/AN/A
N/ARoman Numerals ConverterN/AN/AN/AN/AN/A




castwcrt rip 2010-2010

[This message has been edited by Boukary (edited 04-23-2011 @ 06:16 PM).]

Replies:
posted 25 September 2009 09:37 AM EDT (US)     76 / 919  
@Perpetual n00b| Thanks, a Secret Chat Contains can be useful, I didn't think at 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 25 September 2009 10:18 AM EDT (US)     77 / 919  
Any reason why this doesn't work and cause trigger lock?

   <Effect name="Conditional Quest Var Check (Range)">
<Param name="QuestVar" dispName="Var Name" varType="string">QV1</Param>
<Param name="LowValue" dispName="Lowest Value" VarType="float">1</Param>
<Param name="HighValue" dispName="Highest Value" VarType="float">1</Param>
<Command><![CDATA[if(trQuestVarGet("%QuestVar%") => %LowValue% && trQuestVarGet("%QuestVar%") <= %HighValue%){]]></Command>
</Effect>

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)

[This message has been edited by lostrozzacavalli (edited 09-25-2009 @ 10:19 AM).]

posted 25 September 2009 10:25 AM EDT (US)     78 / 919  
Wow! You're using CDATA! You've really become advance in this week you've known trigger scripting!

~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
posted 25 September 2009 10:40 AM EDT (US)     79 / 919  
GoO: Well... In this trigger I have to use the function AND (&&), and I read in the guide that XML doesn't support && and so I have to add CDATA. But I think there's a bug, the trigger actually doesn't work...

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 25 September 2009 10:43 AM EDT (US)     80 / 919  
@ lostrozzacavalli

No worries about the Chat Contains Secret, I'm just glad I thought of something that hadn't already been done

Just looking at your Conditional Quest Var Check (Range), not sure if it would cause trigger lock but I think the > goes before the = as in >= instead of =>

EDIT: I didn't know that about about AND (&&) and CDATA, it would explain why I couldn't get OR (||) to work in a condition. I really should read that guide.

[This message has been edited by perpetual_n00b (edited 09-25-2009 @ 10:47 AM).]

posted 25 September 2009 10:58 AM EDT (US)     81 / 919  
Perpetual, you're a GENIUS! Now it works perfectly

*updated to the post of my triggers*

Anyways, OR (||) doesn't need
<![CDATA[]]>
... Probably the your is a problem of parentheses (), see for example the my trigger: "Conditional QV Check OR", where I used that function

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)

[This message has been edited by lostrozzacavalli (edited 09-25-2009 @ 11:01 AM).]

posted 25 September 2009 10:58 AM EDT (US)     82 / 919  
nice job guys


ESO2 Name:Sir_ConstantinESO Name:Sir_Pacman
Trigger Freak and Modder for AOE3

SCP Editor Tools---my map pack---Some incomplete stuff
My trigger Pack

[This message has been edited by Mister SCP (edited 09-25-2009 @ 10:58 AM).]

posted 25 September 2009 10:59 AM EDT (US)     83 / 919  
Thanks also to you, Mister SPC! But Perpetual has arrived 1st

Uhm... I think I can no more edit the post of my triggers, because I tried to insert the new effect 3 times but always disappear... I post it here:

DELETED--->posted in a more advanced post

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)

[This message has been edited by lostrozzacavalli (edited 09-25-2009 @ 02:21 PM).]

posted 25 September 2009 11:45 AM EDT (US)     84 / 919  
OK, now I'm working on a trigger called "Distance to protounit" since I found a command "Distance to unit ID", or to be more excact: trUnitDistanceToUnitID.

~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
posted 25 September 2009 11:50 AM EDT (US)     85 / 919  
GoO: Wonderful!

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 25 September 2009 12:10 PM EDT (US)     86 / 919  
Thnx!

~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
posted 25 September 2009 12:26 PM EDT (US)     87 / 919  
posted 25 September 2009 12:37 PM EDT (US)     88 / 919  
No idea...

~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
posted 25 September 2009 12:54 PM EDT (US)     89 / 919  
I made this trigger effect for The Wizard's Path but didn't end up using it even though it works. You can include it in the trigger pack if you like. Maybe someone will find a use for it.
<Effect name="Set Animation Units in Area">
<Param name="AnimName" dispName="Animation" varType="string">default</Param>
<Param name="LoopIt" dispName="Loop:" varType="bool">false</Param>
<Param name="EventID" dispName="Trigger" varType="event">-1</Param>
<Param name="DstObject" dispName="Center Unit" VarType="unit">default</Param>
<Param name="PlayerID" dispName="From Player" VarType="player">1</Param>
<Param name="ProtoName" dispName="ProtoName" varType="protounit">Villager</Param>
<Param name="Dist" dispName="Radius" VarType="float">10</Param>
<Command>for(Qid=0;>1){}</Command>
<Command>xsSetContextPlayer(%PlayerID%);kbLookAtAllUnitsOnMap();</Command>
<Command>Qid=kbUnitQueryCreate("QDUA_%PlayerID%_%ProtoName%");</Command>
<Command>kbUnitQuerySetPlayerID(Qid, %PlayerID%, true);</Command>
<Command>kbUnitQuerySetUnitType(Qid, kbGetProtoUnitID("%ProtoName%"));</Command>
<Command>kbUnitQuerySetPosition(Qid, kbGetBlockPosition("%DstObject%"));</Command>
<Command>kbUnitQuerySetMaximumDistance(Qid, %Dist%);</Command>
<Command>kbUnitQuerySetAscendingSort(Qid, false);</Command>
<Command>kbUnitQuerySetState(Qid,2);</Command>
<Command>trUnitSelectClear();</Command>
<Command>for(i=kbUnitQueryExecute(Qid)-1;>-1){ </Command>
<Command>trUnitSelectByID(kbUnitQueryGetResult(Qid,i));}</Command>
<Command>trUnitSetAnimation("%AnimName%",%LoopIt%,%EventID%);</Command>
</Effect>
I have a few others that I made for The Wizard's Path, I can give those once it's released if you like.
posted 25 September 2009 01:15 PM EDT (US)     90 / 919  
You seem very good in triggers, how come you don't want to join our team? That would give us more chanses to complete our secret mission (Winning the Trigger request thread)...

~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
posted 25 September 2009 01:27 PM EDT (US)     91 / 919  
Perpetual n00b: You did a trigger like set animation in area?! So you're not n00b at triggers!

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 25 September 2009 01:29 PM EDT (US)     92 / 919  
I'm not that good, I just cut and paste bits out of other people's triggers really. Set Animation Units in Area was just invent00r's Kill Units in Area mixed with Set Animation

I probably should join since I am posting my trigger effects here anyway
posted 25 September 2009 01:33 PM EDT (US)     93 / 919  
Edit:No one shall know the secret mission of CASTWCRT...

castwcrt rip 2010-2010

[This message has been edited by Guard of Osiris (edited 09-25-2009 @ 01:48 PM).]

posted 25 September 2009 01:33 PM EDT (US)     94 / 919  
If you want join, you're welcome!

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 25 September 2009 01:34 PM EDT (US)     95 / 919  
Good! Well, then we're all trigger noobs, though we have some power in SD (perpetual noob) and in Design tips and tutorials and in utility(Winston) and soon we will achive our secret quest...

~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
posted 25 September 2009 01:35 PM EDT (US)     96 / 919  
Not so secret anymore...





Will update banner to include perpetual_n00b.

castwcrt rip 2010-2010
posted 25 September 2009 01:35 PM EDT (US)     97 / 919  
Shhh, be quite...

~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 09-25-2009 @ 01:51 PM).]

posted 25 September 2009 01:41 PM EDT (US)     98 / 919  
Can I help you win it? (a.k.a win it myself?)

castwcrt rip 2010-2010
posted 25 September 2009 01:43 PM EDT (US)     99 / 919  
Shh. The CASTWCRT secret goal is that any of the members win the TRT. Now edit out your +5 font size post, OK...

~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
posted 25 September 2009 01:47 PM EDT (US)     100 / 919  
OFF TOPIC

100th post!!!

ON TOPIC

I updated QV check OR and Conditional QV check OR because I added the varType "long" instead of "float"

Is this possible and if yes why doesn't work?

  <Effect name="Conditional Quest Var Check and zEND">
<Param name="QV" dispName="Quest Var" varType="string">QV1</Param>
<Param name="Value" dispName="Value" varType="float">1</Param>
<Param name="OnOff" dispName="zEND On/Off" varType="bool">true</Param>
<Command>if(%OnOff% == true)}</Command>
<Command>if(trQuestVarGet("%QV%") == %Value%){</Command>
</Effect>

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)

[This message has been edited by lostrozzacavalli (edited 09-25-2009 @ 01:59 PM).]

« Previous Page  1 2 3 4 5 6 ··· 10 ··· 20 ··· 30 ··· 37  Next Page »
You must be logged in to post messages.
Please login or register
Hop to: