Hey everyone.
I've decided to pick up my zombie project again, but some points aren't clear for me yet and there are some things I don't know yet.
First of all, I'm planning to do something about the Health of the player. I need a few things about it:
1: How can I let the player automaticly heal with a rate of 10% each second?
2: As soon as a bot draws near in an attached trigger, the health of the player must be dropped by 50%. How can I let the trigger respond to any bot, instead of the player?
3: I want to let a special effect read the health bar. For example, if the health drops below 20%, I want the entire screen suddenly become transparant red, which fades out slowly. How can I let the HP bar give off a pulse as soon it drops below a specified ammount, and how can I create the effect I described before? (I've tried it with a post-process volume, yet there it has the same fade-in/out.)
Secondly, there must be a bit of a scoring system. Now, I want a counter that tracks the points scored by the player.
4: I've managed to make a counter, that's one step! Now, I also found out how I can let certain easy events add points to it, that's two! Now only one problem, how can I let the counter add 10 points each time I kill a bot?
5: How can I make the counter variable be visible on the player's screen, so the player can see how many points he has?
now the game must end as well as soon the player dies.
6: I've browsed the kismet but I couldn't find an action that ends the game. How can I make an action that stops the game?
7: As soon the player dies, I don't want it to respawn, rather I want a small cutscene that plays, followed by the action in point 6.
Well, for now these are all the questions I have to carry on at this point. I hope someone can help me out. Luckily, no camera-angle messing this time =).
I've decided to pick up my zombie project again, but some points aren't clear for me yet and there are some things I don't know yet.
First of all, I'm planning to do something about the Health of the player. I need a few things about it:
1: How can I let the player automaticly heal with a rate of 10% each second?
2: As soon as a bot draws near in an attached trigger, the health of the player must be dropped by 50%. How can I let the trigger respond to any bot, instead of the player?
3: I want to let a special effect read the health bar. For example, if the health drops below 20%, I want the entire screen suddenly become transparant red, which fades out slowly. How can I let the HP bar give off a pulse as soon it drops below a specified ammount, and how can I create the effect I described before? (I've tried it with a post-process volume, yet there it has the same fade-in/out.)
Secondly, there must be a bit of a scoring system. Now, I want a counter that tracks the points scored by the player.
4: I've managed to make a counter, that's one step! Now, I also found out how I can let certain easy events add points to it, that's two! Now only one problem, how can I let the counter add 10 points each time I kill a bot?
5: How can I make the counter variable be visible on the player's screen, so the player can see how many points he has?
now the game must end as well as soon the player dies.
6: I've browsed the kismet but I couldn't find an action that ends the game. How can I make an action that stops the game?
7: As soon the player dies, I don't want it to respawn, rather I want a small cutscene that plays, followed by the action in point 6.
Well, for now these are all the questions I have to carry on at this point. I hope someone can help me out. Luckily, no camera-angle messing this time =).
Comment