Go Back   Ryzom > English speaking community > The Ryzom Ring > Adventure designers hints and exchanges
Ryzom News FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old October 6th, 2006, 05:19 PM   #1
cloudy97
 
cloudy97's Avatar
 
Join Date: Aug 2005
Location: Stockholm, Sweden
Posts: 531
101 ways to use a Tryker

Well... this is the first one.

In my scenario a few tents are on fire and the adventurers need to put the fires out. Tents can't start missions, only NPC's can. So I added a short Tryker and named him Tent, and linked him to a Request Item mission, and it works pretty well.. if you don't mind that the tent "says" the mission text.

Edit: Forgot to say -- I place the Tryker inside the tent, which make him invisible (thank to his size) but you can still click and interact with him.
cloudy97 is offline   Reply With Quote
Old October 6th, 2006, 05:21 PM   #2
sx4rlet
 
sx4rlet's Avatar
 
Join Date: Sep 2004
Posts: 1,025
Re: 101 ways to use a Tryker

hahaha, I already love the title! Shame I have to wait till sunday to log in...
sx4rlet is offline   Reply With Quote
Old October 6th, 2006, 05:55 PM   #3
kokunze
 
kokunze's Avatar
 
Join Date: Sep 2004
Posts: 1,344
Re: 101 ways to use a Tryker

I needed some kind of "status marker" which can be on or off. It was needed to say, "if already that happened, then..." but there is no counter or something to use. So i used a tryker and placed him inside a house.(so he was invisible) I named him "switch" and let him spawn, when the conditions were met
kokunze is offline   Reply With Quote
Old October 7th, 2006, 12:28 PM   #4
norvic
 
norvic's Avatar
 
Join Date: Oct 2004
Posts: 514
Re: 101 ways to use a Tryker

eee reduced to markers and switches, the shame of it!

But good tip
norvic is offline   Reply With Quote
Old November 2nd, 2006, 10:09 PM   #5
nephy13
 
nephy13's Avatar
 
Join Date: Oct 2006
Posts: 136
Re: 101 ways to use a Tryker

For all of the situations I can imagine (I accept there could be many other situations...), you can avoid using "artificial" flags by properly querying the entities in the game. For example, to see if a timer has completed, then query "finished" on it rather then using the timer trigger to set an external flag. To flag that a specific zone has ever been entered, just deactivate the zone when it is triggered (since you only need to trigger the zone-entry once in this case, it would be correct to deactivate it when it triggers anyway).

If you *really* need to make a flag, I'd suggest the best way is to create a non-creature like a dialog (which is always invisible) and use active/inactive as your flag value. Be aware that doing this will put Trykers out of work...

For a counter, you could use a timer that is paused (Put it as active in the editor and add an on-activated event that pauses it). You set the initial timer value to, say, 5 "seconds" and then you can add or subtract from this value. You will get the timer triggering when value becomes 0. You can alternatively query the "finished" flag to see whether the current value == 0.

Please be aware that if you set the initial time to 5 seconds, then you can only count down 4 times before the timer is triggered (I've tested this a few times and it seems consistent). Presumably the timer counts down once before you can pause it. So, if you want a counter for 5, then set the intial value to 6. Additionally, you must be aware that it would be reasonable for Neveraxx to change this behaviour on a whim, since this is not really what timers are for.

*Warning! Using these tricks is an ungodly fudge of the highest order and will prevent you from ever getting to programmer heaven*
nephy13 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 04:01 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Ryzom forums are part of the SoR service and subject to the EULA and Code of Conduct.

MMORPG