Author Topic: Writing an AI to play Hammerwatch, and need help with the reward.  (Read 5601 times)

Quazaka

  • Posts: 1
  • Maggot Crusher.
    • View Profile
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.

Mcwaters

  • Posts: 1
  • Maggot Crusher.
    • View Profile
Re: Writing an AI to play Hammerwatch, and need help with the reward.
« Reply #1 on: August 13, 2018, 05:38:34 PM »
I am impressed by this 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?
« Last Edit: October 04, 2022, 01:12:09 PM by Mcwaters »

Beswai

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: Writing an AI to play Hammerwatch, and need help with the reward.
« Reply #2 on: November 09, 2018, 09:49:03 AM »
I would like to help in providing you with useful information if needed.

nicolesmith

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Re: Writing an AI to play Hammerwatch, and need help with the reward.
« Reply #3 on: June 11, 2020, 03:13:04 AM »
I will provide you details for Honkai Impact 3( https://honkaiimpact.io/) if you are interested playing the game.   It's perfect in every way, best game ever.