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

Scenario Design
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: The Inventory Triggers
« Previous Page  1 2  Next Page »
posted 14 February 2010 04:42 AM EDT (US)   
The Inventory Triggers

The triggers to render your RPGs even cooler!


I did the Inventory Triggers, probably my best piece of work to now, thanks to a Kai request, so I think we all should thank him He's using them on the 3rd chapter of the Arcadia story and this makes me fiery, I hope you'll find them useful too

The Inventory Triggers are extremely customizable effects to store, remove and show different items in an Inventory.


This is really simple to do with these effects, because they automatically add the items at the first space in your inventory, and they remove the item when you have no more of it (E.G. you'll never see 0x Pizza).


It's not all, it also deletes the hotkey you can add to the item, without any command, and readds it if you re-take up that item!


If this is not enough, it lets you set the hotkey as the number (which you can select to show or not) and as the first character of the item!


Then, on the customizable part, you can handle your Inventory just changing some parameters, like the colors, if you want it to be spoofed, if you want the first character underlined or the number of the character showed!

Examples:

The Basic one:



A better one:



which can be changed a bit into:



There are of course billion other combinations of colors and position of the writtens


You can even interact with your items by the use of the condition/conditional "inventory item count", which search if you have a determinated amount of a certain item (especially useful if the item is not to be used but to be given to someone)

*Now with a completely new system for online Inventories and Online Hotkeys as never seen before! You need to download the MP Triggers to use the new effects. It includes an other example map so don't worry about learn them!


Hope this is enough! You can download the pack here You'll see a complete guide inside this pack so don't worry about that, they are really simple to learn!


As a final note, you need to download the trigger loader, which is needed for all these effects, and you can download here

BTW I found a small small error in it that doesn't let you delete the QV Strings, so you need to delete this line:


<Command>if (SQVvalue == "") { return;}</Command>


Search it or a part of it in your TypeLoader(x).xml using control-t (it's just under "void trStringQuestVarSet" anyway).

Final Final note: I think a hard work like this should not be forgotten... a review would be cool

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 02-27-2010 @ 07:08 AM).]

Replies:
posted 14 February 2010 05:25 AM EDT (US)     1 / 45  
Genious. Absoluley simply ingenious. Good work, once again.

~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 02-14-2010 @ 05:25 AM).]

posted 14 February 2010 05:48 AM EDT (US)     2 / 45  
Ooh. Very interesting.

http://aom.heavengames.com/downloads/showfile.php?fileid=9330

______________________________________ Yeebaagooon ______________________________________
____________________ AoMH Seraph ____________________
"You can't trust yeebaagooon to lead a rebelion, He would send everyone to steal mirrors so he could bask in his own brilliance." - Out Reach
"Yeebaagooon had never seen a more handsome man in all his life. He couldn't control himself, He needed to act. Gripping the mirror in his strong arms he kissed the figure before him..." - Out Reach
AoMH: Unfinished Scenarios|Singleplayer: Codename Ripto|Multiplayer: Minigames Z|CSC 7
Ex Seraphs Dictator, Spore Heaven Seraph
posted 14 February 2010 05:49 AM EDT (US)     3 / 45  
This is awesome! Once again Mr. Pasta has brought new light in the AoM designing world ~ Khan

<||=================================||>
Proud Member of Forgotten Empires
96Reviews KaS Dota2 Halo 5 Reach
{ "Work until your idols become your rivals" }
༼ つ ◕_◕ ༽つ trGetUnitScenarioName(); ༼ つ ◕_◕ ༽つ
posted 14 February 2010 06:06 AM EDT (US)     4 / 45  
Pizza is better. Anyway,
@lostrozzacavalli: When will you release your other triggers, the ones for buildings?

AoMH retired Scenario designer
Skarr: "I wish WRP_Beater would stop abusing the poor BBCode."
lostrozzacavalli: "Mezzo e un minuto." | "I'm joking ragazzo."
Dr. Newt: "You are WRP. A slightly manic Italian presence on the forums, you have improved over the years to be a fairly reliable pair of hands, either as town or scum."
posted 14 February 2010 06:13 AM EDT (US)     5 / 45  
Thank you all guys

@WRP: Do you mean the ones for the giant towers of buidings? They'll be released soon, I need to decide if make a single pack with all my triggers or a single pack

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 14 February 2010 06:22 AM EDT (US)     6 / 45  
You guys will love these! They are a gateway into new gameplay in age of mythology so unimaginable to be real. Perfect use here, great work

|MEMORY|
posted 14 February 2010 07:03 AM EDT (US)     7 / 45  
No, I meant the trigger you used to make a building with more than 1500 hammers of Thor and about 300 pieces of Osiris - and also the one that makes a fire ball turn round a projectile

AoMH retired Scenario designer
Skarr: "I wish WRP_Beater would stop abusing the poor BBCode."
lostrozzacavalli: "Mezzo e un minuto." | "I'm joking ragazzo."
Dr. Newt: "You are WRP. A slightly manic Italian presence on the forums, you have improved over the years to be a fairly reliable pair of hands, either as town or scum."
posted 14 February 2010 09:11 AM EDT (US)     8 / 45  
Thanks Kai

@WRP: Oh I never implemented it as a single trigger, I did them by tons of similar effects

And the fire ball is a secret, actually ;P
Not because I don't like to publish what I discover, but that's a thing that can't be done in a single trigger and 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 14 February 2010 11:55 AM EDT (US)     9 / 45  
I won't steal you the copyright. I've never done triggers

AoMH retired Scenario designer
Skarr: "I wish WRP_Beater would stop abusing the poor BBCode."
lostrozzacavalli: "Mezzo e un minuto." | "I'm joking ragazzo."
Dr. Newt: "You are WRP. A slightly manic Italian presence on the forums, you have improved over the years to be a fairly reliable pair of hands, either as town or scum."
posted 14 February 2010 12:20 PM EDT (US)     10 / 45  
posted 14 February 2010 12:45 PM EDT (US)     11 / 45  
@lostrozzacavalli: You kidna told me hjow to do the fireball one I think.




Nice set of triggers. I probably won;t end up using them but for others they should be really good.

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 14 February 2010 01:46 PM EDT (US)     12 / 45  
Thanks nottud and Hail

I think I said it ;p

Ok I used this trigger:

   <Effect name="yArmy Transport in Circle TL">
<Param name="Army" dispName="Army" varType="group">0,0</Param>
<Param name="qv" dispName="Same var as start" VarType="string">cow</Param>
<Param name="Height" dispName="Height" varType="string">0</Param>
<Param name="Radius" dispName="Radius" varType="string">10</Param>
<Param name="Phase" dispName="Phase Angle" varType="string">0</Param>
<Param name="Step" dispName="Step Size" varType="string">5</Param>
<Command>for(id=0;>1){} for(theta=0;>1){}</Command>
<Command>id=1*trQuestVarGet("%qv%");</Command>
<Command>theta=trQuestVarGet("transportcircle"+id);</Command>
<Command>trVectorQuestVarSet("DstObjPos", kbGetBlockPosition(""+1*trQuestVarGet("%qv%")));</Command>
<Command>trQuestVarSet("stepx",trVectorQuestVarGetX("DstObjPos")+1.0*%Radius%*Math_sin(1.0*(theta+%Phase%)*PI/180.0));</Command>
<Command>trQuestVarSet("stepy",trVectorQuestVarGetY("DstObjPos")+1.0*%Height%);</Command>
<Command>trQuestVarSet("stepz",trVectorQuestVarGetZ("DstObjPos")+1.0*%Radius%*Math_cos(1.0*(theta+%Phase%)*PI/180.0));</Command>
<Command>trVectorQuestVarSet("currentstep", xsVectorSet(trQuestVarGet("stepx"),trQuestVarGet("stepy"),trQuestVarGet("stepz")));</Command>
<Command>trArmySelect("%Army%");</Command>
<Command>trUnitTeleport(trVectorQuestVarGetX("currentstep"),trVectorQuestVarGetY("currentstep"),trVectorQuestVarGetZ("currentstep"));</Command>
<Command>trQuestVarSet("transportcircle"+id,trQuestVarGet("transportcircle"+id)+%Step%);</Command>
<Command>if(-1>=trQuestVarGet("transportcircle"+id)) trQuestVarSet("transportcircle"+id,trQuestVarGet("transportcircle"+id)+360);</Command>
<Command>if(trQuestVarGet("transportcircle"+id)>=361) trQuestVarSet("transportcircle"+id,trQuestVarGet("transportcircle"+id)-360);</Command>
</Effect>

and this is a result:


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 14 February 2010 03:18 PM EDT (US)     13 / 45  
WRP_Beater:
"Devo avere un altra citazione! Presto! xD"
Uhh... Ci penso
(Uhh... I'll think about it )

AoMH retired Scenario designer
Skarr: "I wish WRP_Beater would stop abusing the poor BBCode."
lostrozzacavalli: "Mezzo e un minuto." | "I'm joking ragazzo."
Dr. Newt: "You are WRP. A slightly manic Italian presence on the forums, you have improved over the years to be a fairly reliable pair of hands, either as town or scum."

[This message has been edited by WRP_Beater (edited 02-14-2010 @ 03:19 PM).]

posted 14 February 2010 06:52 PM EDT (US)     14 / 45  
I had to rename the inventory trigger file to "typetestInventory" because otherwise, i think this is why at least, since its the first Trigger File then it uses your first condition & first effect as the default for the editor. Thus when i renamed it, i placed the normal typetest first and "Always" and "SetIdleProcessing" once again became the default. Just noting.

--- Darkness Comes... Will you be waiting? ---
Latest Project: ~ Pinnacle ~ • My Maps: Click Me!
Current Projects: A Knight's Tale, FORTRESS, The Rising Campaign
- Age of Darkness, Reign of Darkness Campaign, The Adventures of Sullivan Thayer (Part I)
Soaring Eagle Studios
posted 15 February 2010 07:34 AM EDT (US)     15 / 45  
Oh thanks Alex, I know there's this problem but I never remember to add Always and SetIdleProcessing... I'll update soon anyway

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 15 February 2010 08:03 AM EDT (US)     16 / 45  
i cant open the .doc can you make a .scx file with all the inventory effects in use?

My Upcoming website!
The Black Hand RPG - Revived
Join my Facebook Group :P
Nazi Zombie Verukkt sound files
Mess With The BesT DiE LiKe ThE ReST
Argh!! It's EXOLAR not xEXOLARx get it right!!
posted 15 February 2010 08:18 AM EDT (US)     17 / 45  
@EXOLAR: GoOlympus said me the same yesterday
Yes I'll include a scenario soon.
BTW I addes the effect: "Set Hotkeys as original ones", that could be useful.

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 15 February 2010 10:32 AM EDT (US)     18 / 45  
It's updated now, it includes an example scenario and "condition/conditional Inventory Item Count" which worked but in a really bad way, now are fine , so I reccomand a new download.

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 22 February 2010 03:12 PM EDT (US)     19 / 45  
exxxelent

"I NED MOAR RANGE" Pubby8
posted 27 February 2010 07:10 AM EDT (US)     20 / 45  
Thanks P_J_B

I'm glad to announce that the Inventory Triggers are now for online games too, with a hotkey setup never seen


Oh and:
It's updated now, it includes an example scenario and "condition/conditional Inventory Item Count" which worked but in a really bad way, now are fine , so I reccomand a new download.
I had it fine on my typetest but the conditional Inventory Item Count was not uploaded, my fault, so a new download is raccomanded

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 27 February 2010 07:59 AM EDT (US)     21 / 45  
Have I seen it?

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 27 February 2010 09:05 AM EDT (US)     22 / 45  
No you didn't

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 28 February 2010 06:59 AM EDT (US)     23 / 45  
hey sss94 I couldn't find Group create select unit type, MP US Damage Unit Percent, MP Inventory Hotkey Effects vAS StartMP vAS Conditional Is Typein my tiggers and I couldn't find it in your triggers, but I found it in your instruction map. Can you give me the trigger asap?

[This message has been edited by EXOLAR (edited 02-28-2010 @ 07:26 AM).]

posted 28 February 2010 07:29 AM EDT (US)     24 / 45  
@ EXOLAR

Here's Group create select unit type
   <Effect name="Group create select unit type">
<Param name="unit" dispName="Unit Type" varType="protounit">Anubite</Param>
<Param name="b" dispName="Block select sound" varType="bool">true</Param>
<Param name="ScenName" dispName="Group 1-9" varType="string">1</Param>
<Command>if(%b% == true)trBlockAllSounds(true);</Command>
<Command>uiFindType("%unit%");</Command>
<Command>if(%b% == true)trUnblockAllSounds();</Command>
<Command>uiCreateNumberGroup(%ScenName%);</Command>
</Effect>
posted 28 February 2010 07:45 AM EDT (US)     25 / 45  
thanks perpetual :P you always come around when its unexpected
« Previous Page  1 2  Next Page »
Age of Mythology Heaven » Forums » Scenario Design » The Inventory Triggers
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Mythology Heaven | HeavenGames