The Bump in the year Devlog #3 5/19/2024


Hey Hey everyone,

This week It's a bit of a shorter one, My real life day job is at its peak this time of year so I had to take a bit of a step back to focus on that instead. The goals will be the same but I will do a small update on what I have done:

Since last time, I mainly fixed the json writing. I found that my jsons weren't properly being created. There were a couple of issues that had to be fixed. The first is my commander picker wasn't functioning correctly due to the randomizer trying to pick a range outside the actual range needed. I added a quick fix at the time to make it default to the defensive one. 

After this, it only generated two units and figured out some kinks in my unit preference point buy system. I found it would just break when it couldn't find the unit it was looking for. For example if it was looking for unit 1 and only sees unit 2 or can't afford unit 1 it would just complete it then and there. I fixed it so it would go for that preferred unit but if can't afford or isn't there it will reroll. This pushed it from spending 0 points to the max points I set it to 6000.  This put the regiments to around 74-80 units. This was less than I wanted. I noted that I need to change amounts of point needed to buy certain units so its more balanced.

I then visited the commander picker again and  changed that system to be random to be weighted.  this will give me more freedom with how I want the ai to pick commanders and if I want that weight to change.

I will be focusing on rendering and spawning those units from the json. this following week.

That's all for this week hopefully more to come in the next few weeks when the busy time of my work dies down.

Leave a comment

Log in with itch.io to leave a comment.