Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: Quazaka on January 31, 2018, 01:10:55 AM

Title: Writing an AI to play Hammerwatch, and need help with the reward.
Post by: Quazaka on January 31, 2018, 01:10:55 AM
I am currently writing a reinforcement learning agent(read AI) to play Hammerwatch, continuing on a semester project where I was part of a team developing a similar agent for Starcraft II.
I have encountered a problem with Hammerwatch which is providing the agent with a reward when it performs a correct action such as doing damage to an enemy. I was wondering if it is possible to use the editor to create a map where the enemies give gold when hit, or at least when killed? I have looked around and I don't seem to find anything about this.

If I can get the monsters to reward the player with gold on hit or on kill, I can read in the memory of Hammerwatch to see if I am getting gold when doing an action.

Additionally is it possible to randomize maps? Say I spawn a bunch of dodoes in a random location within a room?

Thanks in advance, and sorry if this is a bit of an unusual question.
Title: Re: Writing an AI to play Hammerwatch, and need help with the reward.
Post by: Mcwaters on August 13, 2018, 05:38:34 PM
I am impressed by this Crazy Bulk review (https://www.muscleandfitness.com/supplements/crazy-bulk-review/) and currently writing a reinforcement learning agent(read AI) to play Hammerwatch, continuing on a semester project where I was part of a team developing a similar agent for Starcraft II.
I have encountered a problem with Hammerwatch which is providing the agent with a reward when it performs a correct action such as doing damage to an enemy. I was wondering if it is possible to use the editor to create a map where the enemies give gold when hit, or at least when killed? I have looked around and I don't seem to find anything about this.

If I can get the monsters to reward the player with gold on hit or on kill, I can read in the memory of Hammerwatch to see if I am getting gold when doing an action.

Additionally is it possible to randomize maps? Say I spawn a bunch of dodoes in a random location within a room?

Thanks in advance, and sorry if this is a bit of an unusual question.

Can I read more about your Starcraft II AI project anywhere online, Quazaka? Also, how's the Hammerwatch AI going?
Title: Re: Writing an AI to play Hammerwatch, and need help with the reward.
Post by: Beswai on November 09, 2018, 09:49:03 AM
I would like to help in providing you with useful information if needed.
Title: Re: Writing an AI to play Hammerwatch, and need help with the reward.
Post by: nicolesmith on June 11, 2020, 03:13:04 AM
I will provide you details for Honkai Impact 3( https://honkaiimpact.io/ (https://honkaiimpact.io/)) if you are interested playing the game.   It's perfect in every way, best game ever.