Dr. Lugo's weapons

Author: Daniel Jackson


            The final boss dubbed 'Dr. Lugo' has the ability to use any of the weapons in the game and use them to a better degree than the player is able to. The additional functionality changes based on the weapon and in phase one he will take and use the weapon the player had equipped. I was charged with adapting the original weapon code with the new boss variation.


    To start with the boss uses the base weapon values just like the player, from there I broke out into each weapon to modify them individually. First was the pistol, in addition to firing normally it fired explosive rounds, the bullets themselves were larger than normal, and the boss can fire the weapon in a cone pattern. Second was the shotgun, I created a second shotgun in addition to the first one and offset them so he can fire two shotguns at once. Then the rocket launcher, when the rocket launcher is fired an additional one is fire straight backwards, instead of normal explosions cluster bombs drop instead, and the rockets have a heat-seeking capability. The sniper fires additional bullets as it travels, the swordgun will apply a bleed effect to the player and heal the boss, the shots ricochet off of walls, and the swords will eventually explode. Finally, the last weapon I was able to work on was the assault weapon. This weapon fires two bullets at the same that travel in a sine wave like pattern. This last pattern was the most challenging out of all of them and took the longest to implement out of the listed weapons.




(Example of how the boss' assault weapon starts its bullet construction)



Comments

Popular posts from this blog

Adding assets to every enemy -- Owen Meyers

Sphere to AABB collision