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 ··· 10 ··· 20 ··· 29 30 31 32 33 ··· 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 02 January 2010 11:48 AM EDT (US)     751 / 919  
Cool one!

~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 02 January 2010 12:23 PM EDT (US)     752 / 919  
Wait !
Did I just figure out Lostrozzacavalli's secret?
Lostrozzacavalli is a...a ... Zebra?
posted 02 January 2010 12:32 PM EDT (US)     753 / 919  
Wrong Hammerhands

In Italian "zebra" is... "zebra"

It's just as I like to represent me as an animal (my favorite god is Set)

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 02 January 2010 12:47 PM EDT (US)     754 / 919  
posted 02 January 2010 12:55 PM EDT (US)     755 / 919  
posted 02 January 2010 12:56 PM EDT (US)     756 / 919  
Thanks Hail

Hammer: It would be hard to type triggers so...

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 02 January 2010 01:55 PM EDT (US)     757 / 919  
I repost the roman number trigger:
   <Effect name="Quest String Roman Number get from QV">
<Param name="Note" dispName="Note" VarType="string">Max 1000. Decimals are not allowed. Remember that "0" didn't exist</Param>
<Param name="QV" dispName="$$23952$$Var Name" VarType="string">QV1</Param>
<Param name="QS" dispName="QV String" VarType="string">S1</Param>
<Command>trStringQuestVarSet("%QV%-%QS%"+1, "I");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+2, "II");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+3, "III");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+4, "IV");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+5, "V");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+6, "VI");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+7, "VII");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+8, "VIII");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+9, "IX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+10, "X");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+20, "XX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+30, "XXX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+40, "XL");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+50, "L");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+60, "LX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+70, "LXX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+80, "LXXX");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+90, "XC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+100, "C");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+200, "CC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+300, "CCC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+400, "CD");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+500, "D");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+600, "DC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+700, "DCC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+800, "DCCC");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+900, "CM");</Command>
<Command>trStringQuestVarSet("%QV%-%QS%"+1000, "M");</Command>
<Command>trQuestVarSet("lostrohundredsroman", 100); trQuestVarSet("lostroinutile", 10); trQuestVarSet("lostrolalahundredsroman", 0); trQuestVarSet("lostrolalaroman", 0);</Command>
<Command><![CDATA[for(h=0;<=9){if(((trQuestVarGet("%QV%")-trQuestVarGet("lostrohundredsroman"))>=0)&&((trQuestVarGet("%QV%")-trQuestVarGet("lostrohundredsroman"))<=100))trQuestVarSet("lostrolalahundredsroman", trQuestVarGet("lostrohundredsroman"));]]></Command>
<Command>trQuestVarSet("lostrohundredsroman", trQuestVarGet("lostrohundredsroman")+100);}</Command>
<Command>trQuestVarSet("lostroinutile2", (trQuestVarGet("%QV%")-trQuestVarGet("lostrolalahundredsroman")));</Command>
<Command><![CDATA[for(l=0;<=9){if(((trQuestVarGet("lostroinutile2")-trQuestVarGet("lostroinutile"))>=0)&&((trQuestVarGet("lostroinutile2")-trQuestVarGet("lostroinutile"))<=10))trQuestVarSet("lostrolalaroman", trQuestVarGet("lostroinutile"));]]></Command>
<Command>trQuestVarSet("lostroinutile", trQuestVarGet("lostroinutile")+10);}</Command>
<Command>trQuestVarSet("lostroinutile2", (trQuestVarGet("lostroinutile2")-trQuestVarGet("lostrolalaroman")));</Command>
<Command>for(units=0;>1){}units=trQuestVarGet("lostroinutile2"); for(decins=0;>1){}decins=trQuestVarGet("lostrolalaroman"); for(hundreds=0;>1){}hundreds=trQuestVarGet("lostrolalahundredsroman");</Command>
<Command>trStringQuestVarSet("%QS%", trStringQuestVarGet("%QV%-%QS%"+hundreds)+trStringQuestVarGet("%QV%-%QS%"+decins)+trStringQuestVarGet("%QV%-%QS%"+units));</Command>
</Effect>

<Effect name="Quest String Change Name">
<Param name="SrcObject" dispName="$$22424$$Units" varType="unit">default</Param>
<Param name="Name1" dispName="Name before" varType="stringid">Name</Param>
<Param name="QS" dispName="QV String" varType="stringid">S1</Param>
<Param name="Name2" dispName="Name after" varType="stringid">Name</Param>
<Command>trUnitSelectClear();</Command>
<Command loop="" loopParm="SrcObject">trUnitSelect("%SrcObject%");</Command>
<Command>trUnitChangeName("%Name1%"+trStringQuestVarGet("%QS%")+"%Name2%");</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)
posted 02 January 2010 04:41 PM EDT (US)     758 / 919  
Damn nice lostpastaguy, these qv strings and vectors kind of make me want to finally start using the trigger loader so i can use them.

Tired of unorigional, boring campaigns? Try out DEMO|Legacy - The Uprising|DEMO
Completely New Gameplay. Random Map Type Replayability. Delve into Nomadican|FEATURES|DOWNLOAD|
Want to know how to use triggers and/or create amazing factors in your scenarios? You need Combination Effects|FEATURES|DOWNLOAD|
Automaton Metals Textures, New Custom Triggers
Upcoming Projects: Legacy - The Uprising, Destiny
6/12/1997, a day that will live in infamy.
posted 02 January 2010 09:29 PM EDT (US)     759 / 919  
posted 02 January 2010 10:03 PM EDT (US)     760 / 919  
posted 03 January 2010 06:40 AM EDT (US)     761 / 919  
I am visiting your thread now again. I wasn't long time not here and I am really surprised that you be that good and can even teach me


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 01-03-2010 @ 06:41 AM).]

posted 03 January 2010 10:02 AM EDT (US)     762 / 919  
Thanks Winston and Mister

The Trigger Loader is a great invention, I'm using it every time more

EDIT: Just seen GoOsiris edited the main thread... You're right, our discussion are not so n00bish now

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 01-03-2010 @ 10:04 AM).]

posted 03 January 2010 01:29 PM EDT (US)     763 / 919  
This is an other cool one:

   <Effect name="Modify Protounit Hitpoints %">
<Param name="Note" dispName="Notes" varType="string">Does count upgrades/precedent hitpoints changes. The area selection is needed, choose wherever but need to be a passable land</Param>
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="Player" dispName="$$22301$$Player" VarType="player">0</Param>
<Param name="Delta" dispName="% Delta" varType="string">100</Param>
<Param name="PasPo" dispName="Passable point" varType="area">0,0,0</Param>
<Command>trQuestVarSet("lostrodamage1",0); trQuestVarSet("lostrodamage2",0); trQuestVarSet("lostrodamage3",0); trArmyDispatch("0,4","Phoenix From Egg",1,%PasPo%,0,true); trArmySelect("0,4"); trUnitChangeProtoUnit("%ProtoUnit%");</Command>
<Command><![CDATA[while(trQuestVarGet("lostrodamage3")<=50000){trDamageUnit(1); trQuestVarSet("lostrodamage1",trQuestVarGet("lostrodamage1")+1);]]></Command>
<Command>if(trUnitPercentDamaged()==100){trQuestVarSet("lostrodamage2",trQuestVarGet("lostrodamage1")); trQuestVarSet("lostrodamage3",50000);</Command>
<Command>trUnitDestroy();} trQuestVarSet("lostrodamage3",trQuestVarGet("lostrodamage3")+1);} trModifyProtounit("%ProtoUnit%", %Player%, 0, trQuestVarGet("lostrodamage2")/100*Þlta%);</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)
posted 03 January 2010 01:33 PM EDT (US)     764 / 919  
posted 03 January 2010 02:09 PM EDT (US)     765 / 919  
Doh

I thought there was a kb command but I was not sure...
so anyone else did it, am I right?

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 03 January 2010 02:11 PM EDT (US)     766 / 919  
No one else has made modify protounit HP %, no. People have been asking for modify protounit % for ages, and I said only possible for HP, but I wouldn't do it because I can't test modify protounit.

But you can
posted 03 January 2010 02:50 PM EDT (US)     767 / 919  
well i did it for resources and hitpoints but not in percent. I did one where you type in the value you want finally have (hp->130 your unit have now 130 hp )


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
posted 03 January 2010 03:27 PM EDT (US)     768 / 919  
Why cant you do percent? Use trigger loader I guess, and it would be tons of coding lines. Possible though.

Tired of unorigional, boring campaigns? Try out DEMO|Legacy - The Uprising|DEMO
Completely New Gameplay. Random Map Type Replayability. Delve into Nomadican|FEATURES|DOWNLOAD|
Want to know how to use triggers and/or create amazing factors in your scenarios? You need Combination Effects|FEATURES|DOWNLOAD|
Automaton Metals Textures, New Custom Triggers
Upcoming Projects: Legacy - The Uprising, Destiny
6/12/1997, a day that will live in infamy.
posted 03 January 2010 04:20 PM EDT (US)     769 / 919  
posted 04 January 2010 09:19 AM EDT (US)     770 / 919  
It was just because I forgot the kb command

I'm doing the kb version though, wait a moment

EDIT: @Hail: I think i need kbUnitGetMaximumHitpoints though, not kbUnitGetCurrentHitpoints

EDIT2: Still better, kbArmyGetMaximumHitpoints

EDIT3: Uhm, I tried some things but it seems no one works... This one doesn't cause Trigger Lock but doesn't do anything:
   <Effect name="Modify Protounit Hitpoints %">
<Param name="Note" dispName="Notes" varType="string">Does count upgrades/precedent hitpoints changes. The area selection is needed, choose wherever but need to be a passable land</Param>
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="Player" dispName="$$22301$$Player" VarType="player">0</Param>
<Param name="Delta" dispName="% Delta" varType="string">100</Param>
<Param name="PasPo" dispName="Passable point" varType="area">0,0,0</Param>
<Command>trArmyDispatch("0,4","Phoenix From Egg",1,%PasPo%,0,true); trArmySelect("0,4"); trUnitChangeProtoUnit("%ProtoUnit%");</Command>
<Command>trModifyProtounit("Villager Greek", 1, 0, kbArmyGetMaximumHitpoints(kbArmyGetID("0,4"))/100*100); trUnitDestroy();</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 01-04-2010 @ 10:32 AM).]

posted 04 January 2010 12:04 PM EDT (US)     771 / 919  
check your last line:
army hitpoints /100*100
is the same as army hitpoints *1

I think you mean
army hitpoints/100*Delta

<Effect name="Modify Protounit Hitpoints %">
<Param name="Note" dispName="Notes" varType="string">Does count upgrades/precedent hitpoints changes. The area selection is needed, choose wherever but need to be a passable land</Param>
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="Player" dispName="$$22301$$Player" VarType="player">0</Param>
<Param name="xDelta" dispName="% Delta" varType="string">100</Param>
<Param name="PasPo" dispName="Passable point" varType="area">0,0,0</Param>
<Command>trArmyDispatch("0,4","Phoenix From Egg",1,%PasPo%,0,true); trArmySelect("0,4"); trUnitChangeProtoUnit("%ProtoUnit%");</Command>
<Command>trModifyProtounit("Villager Greek", 1, 0, kbArmyGetMaximumHitpoints(kbArmyGetID("0,4"))/100*%xDelta%); trUnitDestroy();</Command>
</Effect>


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 01-04-2010 @ 12:06 PM).]

posted 04 January 2010 12:27 PM EDT (US)     772 / 919  
@Mister: Oh yes thanks, that's because I copied it from the XS User Code I used to test

Edit: The same was for protounit and player, this is the correct version version I need to debug:
   <Effect name="Modify Protounit Hitpoints %">
<Param name="Note" dispName="Notes" varType="string">Does count upgrades/precedent hitpoints changes. The area selection is needed, choose wherever but need to be a passable land</Param>
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="Player" dispName="$$22301$$Player" VarType="player">0</Param>
<Param name="xDelta" dispName="% Delta" varType="string">100</Param>
<Param name="PasPo" dispName="Passable point" varType="area">0,0,0</Param>
<Command>trArmyDispatch("0,4","Phoenix From Egg",1,%PasPo%,0,true); trArmySelect("0,4"); trUnitChangeProtoUnit("%ProtoUnit%");</Command>
<Command>trModifyProtounit("%ProtoUnit%", %Player%, 0, kbArmyGetMaximumHitpoints(kbArmyGetID("0,4"))/100*%xDelta%); trUnitDestroy();</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 01-04-2010 @ 12:30 PM).]

posted 04 January 2010 01:46 PM EDT (US)     773 / 919  
You guys really need to release a trigger pack, it will make downloading all of your awesome triggers easy. You can update the trigger pack as you make more triggers.

My Work: Zombie Goliath texture mod -- My Screenshots -- Current Projects: Lost In Darkness
Member of: Black Ice Studios
____
|0..0|
||||
posted 04 January 2010 01:58 PM EDT (US)     774 / 919  
Well, maybe so. I tried a trigger but failed. It was something like "Transport units in line at hight".

~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 04 January 2010 02:07 PM EDT (US)     775 / 919  
« Previous Page  1 ··· 10 ··· 20 ··· 29 30 31 32 33 ··· 37  Next Page »
You must be logged in to post messages.
Please login or register
Hop to: