1
Editor Discussion / Writing an AI to play Hammerwatch, and need help with the reward.
« 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.
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.