Jump to content
  • 0
Sign in to follow this  
Sezrekan

Change spawn interval on "Item Spawn" attribute

Question

I'd like be to able to change the spawn on items of greater value to players to be longer (i.e. a ruby vs a coin). The only options I see though are for which item and the quantity. Any ideas on how to do this?

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 1
9 minutes ago, Sezrekan said:

 

Yes.

 

Not possible at the moment, All spawned map items are set by a single value in the config.

 

However the best way to get around this if you want separate times on different spawned items is just to create them as a resource or event.

  1. So have the resource image the item you want and the exhausted image as blank.
  2. Set the respawn time to what you want
  3. Set health of the resource as 1
  4. Have the resource drop the item.

Another way is to do this via events (multiple ways) one way is (not tested, just off top of head as at work atm):

  1. Have an event as a player touch
  2. Give player Item X
  3. Wait 60000ms (60secs)
  4. Exit Event process

If you want the item to be obtained one per player, then add a player switch to trigger when the player receives item to toggle on/off.

 

The engine is very powerful in a sense that you can get around things using events / resources and such. Just need to explorer the engine more and see what is possible :)

Share this post


Link to post
Share on other sites
  • 0
14 minutes ago, Sezrekan said:

I'd like be to able to change the spawn on items of greater value to players to be longer (i.e. a ruby vs a coin). The only options I see though are for which item and the quantity. Any ideas on how to do this?

 

What do you mean?

 

Like a player has 100 silver which is equal to 1 gold and wishes to convert silver in to gold?

Share this post


Link to post
Share on other sites
  • 0

That seems to do the trick, thanks! Is there a way to use items as the icon that players see on the map? The only graphic options I see are tileset and sprite.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Sezrekan said:

That seems to do the trick, thanks! Is there a way to use items as the icon that players see on the map? The only graphic options I see are tileset and sprite.

 

Put your items in a tilesheet and add them to your tileset folder. Easiest way

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×