Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code?

Added by Andrew about 9 years ago

As title said I want to do quest where to fulfill the quest player must through some item into the water.

So specific questions are:

1. Can something be thrown into the water?

2. Can event of throwing something into the water trigger quest fulfillment?


Replies (7)

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by kervala about 9 years ago

"water" doesn't exist so I don't think how you could manage this :)

Perhaps, could you use/create a trigger "drop item near coordinates".

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by kaetemi about 9 years ago

PACS recognizes water, if I remember correctly, but you'll still need to code something in for that to be able to be used in a mission.

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by Andrew about 9 years ago

Thank you for answers.

I just want to clarify them a bit.

Is there functionality in game client to drop item?

I logged to Ryzom game and when I right click on item there is no option to drop but only to destroy.

kervala - Did you mean destroy item near coordinates? (is there existing event trigger for that)?

kaetemi - Did you mean code something for the mission code OR code something in Ryzom core?

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by kaetemi about 9 years ago

You can make an item have an action which spawns an entity that would be the dropped item.
You need to change ryzom core to have it detect water for mission.

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by Andrew about 9 years ago

just to clarify.

If I don't need to detect water but only want to destroy/drop item near coordinates, do I need to change ryzom core code or not?

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by kervala about 9 years ago

There is a trigger when your character is near some coordinates, that's sure and it's used for some missions :)

For item destroying, I don't know if there is such trigger but it shouldn't be difficult to implement it (only copy-paste from other triggers implementation).

RE: Is this possible with current Ryzom core engine to set up "throw something to water" quest without changes to ryzom core code? - Added by VinnyQ almost 9 years ago

You can also try adding an object into the water that is target-able, so that the player can right-click to pull up a context menu with the menu item "drop x into water", which only is successful if you have y in your inventory (and failure message "you do not have y" if you don't). You can check out tryker land water-carrier occupations for similar mechanic, there's one location for the very first "collect water mission" that is in a lake, where you have to right-click then "collect water" (others locations are windmill on a hill, well in a kitin's nest, etc).

(1-7/7)