Making the variable would be easy. I just need to do the same thing as I did for the "Distance" variable. First of all, I made an integer variable named "Damage".
Next, I Added a line to each block of script that controls the weapon equipping. These lines set the amount of damage that will be dealt depending on the weapon.
Finally, I changed the Raycast function so that instead of subtracting 50 Health with each hit, it subtracts the "Damage" value instead.
Now that that's done, I can start planning the storyline of the game.
First off, the main player is blind. There should be some story behind how that happened. I plan to make the player a famous veteran of a war This is set in medieval times, probably somewhere between 1000 and 1400. I plan to make it an alternate universe, so it won't be historically accurate. As for why he's blind, it will probably be due to some accident either during or after the war.
The game will start with the player riding a horse, being guided by an aid, also on a horse. The veteran was invited by the leader (Jarl? Mayor? I don't know what the town leaders will be called) to a 'party' of sorts. Then, I will have a powerful enemy attack, maybe a sorcerer and some minor enemies. Something that can cause a lot of confusion. It will be up to the player to escape while killing any of the minor enemies in the way. I will probably add a blocking mechanic. The player will be one of the few survivors of the attack. The player's character will then offer to take news of the attack to the king. One of the surviving characters will say that he has no chance of making it that far. The player's character will ignore him, and leave anyways, using the sound of footsteps on the path to guide him.
Next class I will continue planning the storyline.
No comments:
Post a Comment