Custom mapping and Mods > Editor Discussion

Writing an AI to play Hammerwatch, and need help with the reward.


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.

Can I read more about your Starcraft II AI project anywhere online, Quazaka? Also, how's the Hammerwatch AI going?

I would like to help in providing you with useful information if needed.

I will provide you details for Honkai Impact 3( if you are interested playing the game.   It's perfect in every way, best game ever.


[0] Message Index

Go to full version