Thanks, ! I’ll be uploading a video later tonight. I’ve worked every day since my last post so I haven’t had a chance to really do any work on this since then. Today’s been my first day off! I’ve been working on this a lot today!
And yes, I would love to figure out a way to add that tank! I am really down about not being able to add vehicles. I mean they wouldn’t function much differently from the soldiers but it’s just kinda neat to have them. I was using the Advanced Vehicle Template vehicle for a while and it was pretty cool. Just didn’t work properly at all. It would’ve required a ton of calculations that were very specific to the vehicle’s properties and that’s something that changes with the vehicle. Doesn’t leave a lot of room for customization and I really wanted this to be a template.
Anyway, I’ve got nicer buttons, gold counter + expenses from units, warning messages for some things (trying to sell your base, units under attack, insufficient funds, etc.), death animations/attack animations, health bars, timers for building and a bit more. It’s coming along nicely.
All I have left is a bit of polishing. I include Fog of War in polish. It’s a nice feature to have and I’m going to turn it on/off with a pause menu. Basically I’m going to create an interface and have every unit use the interface. It’ll have one function in it called by the pause menu to toggle on and off the “light” used for fog of war vision. The only thing I’m not sure about is how to make a light visible to one camera while not letting another camera see it. Basically, I don’t know how to make lights visible to the character in control of the unit. Structures are gonna be “built” by workers, too.
I’d also like to do something with soldier units when barracks are upgraded. I mean this is meant to be a template so something simple like activating a fire particle system on their hands or something. Something that could be quickly changed out for something better. That’s how I’ve built this entire thing. You’ll be able to remove/add small parts of the code/components to do/look/act in the way you want it to without compromising any of the basic function. And it has worked out pretty well! I’ll include a demo video that shows a bit of customization with minimal effort/time. Playing around with those Maximo characters haha.
Anyway, I’ll be posting a video in an hour or so once I’ve fixed this little animation loop that I’m trying to work out. Shouldn’t take too long.