anedumgottil / VR-Mazmorra

Procedurally generated VR Dungeon
Apache License 2.0
1 stars 0 forks source link

Create a TreadBot #40

Closed apodgo2 closed 6 years ago

apodgo2 commented 6 years ago

As of e8c18d897752605d524bd3a61cd2f819c9773ea9:

TreadBot exists in game, has a gun, muzzle flash, basic script to control it and give it some AI. It has a model and UV-mapped materials/textures. However, it's AI is extremely rudimentary and barely functions. Some of it's noises are broken. Ideally, I'd like to get this to FSM status, but we probably won't have time for that by the public release date, so just getting to function in a simple "hearing-based and attack on visual" kinda setup would be nice.

It's armor currently doesn't function and needs some scripting to pop off with damage and protect the TreadBot.

TreadBot can't aim or shoot yet, even though it makes noises (and it certainly loves to make noises), but I've removed the godawful fur shader and updated the turret model on it so it can rotate correctly. So it shouldn't be too much work to get the turret spinning and aiming with the AI.

apodgo2 commented 6 years ago

The commit 9e602df5238165a471012601f1730ef3f67592b5 pretty much finished off the TreadBot. Some light testing shows that the armor pops off as intended, and damage is inflicted to the actual Entity as a fraction the damage would normally do were there not armor. The armor goes away after a certain amount of time. The gun can be shot off, and actually picked up and used as a weapon. Still needs a bit of testing on that front, waiting for the half-sized tiles for that.

The treads can be shot, if you remove the armor, and you'll immobilize the TreadBot. If you shoot the barrel of fuel it carries, it will result in a much quicker death. it would be nice to make an explosion animation when this happens, but I have not much time.