PVP & PVE
Aug 20, 2015 20:37:27 GMT
Post by blackmailchan on Aug 20, 2015 20:37:27 GMT
hEY I have been struggling with a unique, but realistic fighting system between players and prey, as well as a more natural initiation before the fight, and important steps to take after a fight.
So as an initial thing, the current prey AI that I coded in is wildly simple. It's basically the AI that controls the butterflies. They just move around, don't do much else.
In the future, prey AI is picky. It detects the types of species around it and will decide whether or not to be aggressive or flee. The molerat for example shares its environment with suricates, and won't likely be charging at one aggressively. A canis or felis however, it might feel threatened. Anything bigger than that- well then it's sure to run away!
Prey also have different levels of detection. Some prey may be completely docile, others might see you and threaten you to leave- if you get any closer they'll initiate a fight. Prey won't detect you if you sneak up on them however, just like a real animal. Going into a crouch will allow you to basically go 'invisible'. You won't make any footsteps, and you won't be seen when standing perfectly still. If you move however when the animal is looking at you, you'll be spotted and break from the sneak.
Sneaking will be tough, but will yield more rewards to a fight than just Leeroy Jenkins-ing everything you see. You have to carefully plan your movements, and sometimes being impatient will let you be seen- or being too patient will let the prey run away.
Once you engage in actual battle, there are levels of strength that each player has per day. There is no leveling system, so engaging in any fights are specifically strategic. You can increase these levels by first killing some weaker prey- and you can even engage in sparring with members of your tribe or strangers to get these levels up. Food and other consumables can help with this as well- but eating too much can do the opposite. Different kinds of food will do more than just increase your strength. They can increase your fighting speed, defense, and even your run-speed to a cap. Every day this resets, (Maybe not everyday, but I'm still figuring it out ) and you'll have to earn these things all over again- but this time you can instead focus on different combinations of food and sparring. Maybe you decide you want to be speedy- even if it means giving up a little power? Maybe you don't mind hitting slow- but each hit is a powerful blow? These are all things to think about when gaining these levels- and with all the differences between each species and even individual members- one style won't fit all- and some will be better than others for your specific character.
Afterwards, the prey or player killed will drop something, generally more than one item. The carcass will also remain there, and you can decide to eat it or leave it. YES! You can eat other players! Cannibalizing won't go without punishment however, since it's not exactly the healthiest meal. Eating the prey can help you recover health lost, as well as possibly giving you more strength or other boosts to your stats. Eating isn't a click and done thing either, it does take quite a bit of time. So if you're in an area under fire, it might be best to either leave it or pick it up and take it with you and eat it somewhere else. Other players can't take the items dropped by the animal, but they CAN take the carcass with them- so if you don't want your food to get snatched- pick it up!
Dying isn't the worst thing, but it does come with consequences. You'll respawn in the home island that your species first spawns in, and any and all items you were wearing will be dropped- since the Gods will only resurrect your body. It might be better to have garb that you wear specifically when you're in battle, and all the things that are not so easy to find that you can wear during your downtime. There will be a space you can keep items safe- so you don't have to risk everything- but this consequence will encourage you to keep a good eye on your health, and to work with a tribe or a team. Using your sneak as well could be a good way to flee from potential pvp-ers and enemies that might be too strong for you to take on alone.
There will be specifically PVP areas, where if you enter it (with a warning of course) anyone could potentially attack and kill you- and in non-PVP areas, you can toggle (default is off) to have it on or specifically challenge a single player to a fight for roleplay purposes.
Species specific stuffff
Suricates, although much smaller than the other species, have incredible stamina and intense reflexes. Suricate mainly attack with the jaws, dealing any damage from there and up close. The first few strikes from a Suricate deal small percentage of an enemy's health, and then tapers down into weak but very fast strikes. Being a smaller target and able to move quickly in battle, they can be an extreme annoyance- dodging quickly and hitting to slowly wither down any prey. A very strong predator however- if landing a few single moves can take them out- as their health is fairly small- but in a pack of Suricates, no single predator could stand a chance. Special moves for the suricate are their speedy side-step out of the way of incoming attacks, and they have resistance against poisons and life-draining moves.
Raptors, with an advantage of being able to get off the ground, a raptor can kite any ground-walking species with no trouble. They attack with heavy hits with aerial attacks, and stationary attacks are weak but fast. Raptors attacks can come from the talons and the beak, and both can be used when in air- whereas on ground most attacks will center from the beak. Raptors are not defense oriented however- and can actually be knocked out of the air. Once on ground, raptors are vulnerable to attacks from any and all directions. Groups of Raptors can overwhelm any number of foes, by launching attacks from air and becoming difficult-to-pinpoint targets. Special moves for the raptor, attacking much harder and faster when phoenixes, and able to divebomb for a last resort one-shot move. Missing a divebomb is fatal.
Felis and Canis, these two have powerful strikes, and can take out most anything in a single strike. Felis and Canis rely on surprise attacks to catch prey, and will often use teamwork to do so. A few will hold the prey in place (yes, it'll be a feature! You won't be able to attack or do any damage while holding- so it's a team-oriented move. You could also cripple prey instead so they can't move- but that'll be something not so easy to do idk i'll figure something out) and the others will launch attacks. However, some Felis and Canis can choose to deal weaker damage- but up their speed and become agile foes. Agile members of a group will pinpoint and deal the first few blows onto prey, and the more powerful members will finish the job. Attacks from Felis and Canis center around bites, but can also include claw-strikes for quicker succession-but weaker damage. Special moves for the Canis is a powerful lunge that can paralyze prey as well as deal a heavy amount of damage, and howls that invoke special abilities such as extra power or faster speed in allies and in themself. Felis can unsheath their claws for slower hits at the same damage amount as a regular scratch, but with an added bleeding effect that can finish off prey on the ropes that get away. Their roars, like the howl, affect others around them, except a Felis' roar affects only prey around them- either causing them to temporarily cease fighting, drop defense, or to run away.
Aside from killing prey for goodies and food- you can also choose to befriend some of them. Some prey species will outright feel threatened and attack on sight, while others may be tolerant of your presence- and these are the ones that can be befriended. Grooming a prey animal can cause it to drop something for you- but it'll be a single thing, and most likely it will be money- since it is a universal symbol in all species. Befriended prey may also follow you- and very small prey may even gather together and follow you in a small crowd- allowing you to quickly befriend more of them in one sitting. Befriended prey won't drop anything for you if you kill them, so a two person team farming for goodies will probably have one person being the gentle soul- while the other eradicated everything in existence. Befriended prey won't follow you to other maps, and will break off after they lose interest/you stop giving them attention.
This is what I got so far, it's a mish-mash of new ideas and old ones- lemmee know what u think☆
So as an initial thing, the current prey AI that I coded in is wildly simple. It's basically the AI that controls the butterflies. They just move around, don't do much else.
In the future, prey AI is picky. It detects the types of species around it and will decide whether or not to be aggressive or flee. The molerat for example shares its environment with suricates, and won't likely be charging at one aggressively. A canis or felis however, it might feel threatened. Anything bigger than that- well then it's sure to run away!
Prey also have different levels of detection. Some prey may be completely docile, others might see you and threaten you to leave- if you get any closer they'll initiate a fight. Prey won't detect you if you sneak up on them however, just like a real animal. Going into a crouch will allow you to basically go 'invisible'. You won't make any footsteps, and you won't be seen when standing perfectly still. If you move however when the animal is looking at you, you'll be spotted and break from the sneak.
Sneaking will be tough, but will yield more rewards to a fight than just Leeroy Jenkins-ing everything you see. You have to carefully plan your movements, and sometimes being impatient will let you be seen- or being too patient will let the prey run away.
Once you engage in actual battle, there are levels of strength that each player has per day. There is no leveling system, so engaging in any fights are specifically strategic. You can increase these levels by first killing some weaker prey- and you can even engage in sparring with members of your tribe or strangers to get these levels up. Food and other consumables can help with this as well- but eating too much can do the opposite. Different kinds of food will do more than just increase your strength. They can increase your fighting speed, defense, and even your run-speed to a cap. Every day this resets, (Maybe not everyday, but I'm still figuring it out ) and you'll have to earn these things all over again- but this time you can instead focus on different combinations of food and sparring. Maybe you decide you want to be speedy- even if it means giving up a little power? Maybe you don't mind hitting slow- but each hit is a powerful blow? These are all things to think about when gaining these levels- and with all the differences between each species and even individual members- one style won't fit all- and some will be better than others for your specific character.
Afterwards, the prey or player killed will drop something, generally more than one item. The carcass will also remain there, and you can decide to eat it or leave it. YES! You can eat other players! Cannibalizing won't go without punishment however, since it's not exactly the healthiest meal. Eating the prey can help you recover health lost, as well as possibly giving you more strength or other boosts to your stats. Eating isn't a click and done thing either, it does take quite a bit of time. So if you're in an area under fire, it might be best to either leave it or pick it up and take it with you and eat it somewhere else. Other players can't take the items dropped by the animal, but they CAN take the carcass with them- so if you don't want your food to get snatched- pick it up!
Dying isn't the worst thing, but it does come with consequences. You'll respawn in the home island that your species first spawns in, and any and all items you were wearing will be dropped- since the Gods will only resurrect your body. It might be better to have garb that you wear specifically when you're in battle, and all the things that are not so easy to find that you can wear during your downtime. There will be a space you can keep items safe- so you don't have to risk everything- but this consequence will encourage you to keep a good eye on your health, and to work with a tribe or a team. Using your sneak as well could be a good way to flee from potential pvp-ers and enemies that might be too strong for you to take on alone.
There will be specifically PVP areas, where if you enter it (with a warning of course) anyone could potentially attack and kill you- and in non-PVP areas, you can toggle (default is off) to have it on or specifically challenge a single player to a fight for roleplay purposes.
Species specific stuffff
Suricates, although much smaller than the other species, have incredible stamina and intense reflexes. Suricate mainly attack with the jaws, dealing any damage from there and up close. The first few strikes from a Suricate deal small percentage of an enemy's health, and then tapers down into weak but very fast strikes. Being a smaller target and able to move quickly in battle, they can be an extreme annoyance- dodging quickly and hitting to slowly wither down any prey. A very strong predator however- if landing a few single moves can take them out- as their health is fairly small- but in a pack of Suricates, no single predator could stand a chance. Special moves for the suricate are their speedy side-step out of the way of incoming attacks, and they have resistance against poisons and life-draining moves.
Raptors, with an advantage of being able to get off the ground, a raptor can kite any ground-walking species with no trouble. They attack with heavy hits with aerial attacks, and stationary attacks are weak but fast. Raptors attacks can come from the talons and the beak, and both can be used when in air- whereas on ground most attacks will center from the beak. Raptors are not defense oriented however- and can actually be knocked out of the air. Once on ground, raptors are vulnerable to attacks from any and all directions. Groups of Raptors can overwhelm any number of foes, by launching attacks from air and becoming difficult-to-pinpoint targets. Special moves for the raptor, attacking much harder and faster when phoenixes, and able to divebomb for a last resort one-shot move. Missing a divebomb is fatal.
Felis and Canis, these two have powerful strikes, and can take out most anything in a single strike. Felis and Canis rely on surprise attacks to catch prey, and will often use teamwork to do so. A few will hold the prey in place (yes, it'll be a feature! You won't be able to attack or do any damage while holding- so it's a team-oriented move. You could also cripple prey instead so they can't move- but that'll be something not so easy to do idk i'll figure something out) and the others will launch attacks. However, some Felis and Canis can choose to deal weaker damage- but up their speed and become agile foes. Agile members of a group will pinpoint and deal the first few blows onto prey, and the more powerful members will finish the job. Attacks from Felis and Canis center around bites, but can also include claw-strikes for quicker succession-but weaker damage. Special moves for the Canis is a powerful lunge that can paralyze prey as well as deal a heavy amount of damage, and howls that invoke special abilities such as extra power or faster speed in allies and in themself. Felis can unsheath their claws for slower hits at the same damage amount as a regular scratch, but with an added bleeding effect that can finish off prey on the ropes that get away. Their roars, like the howl, affect others around them, except a Felis' roar affects only prey around them- either causing them to temporarily cease fighting, drop defense, or to run away.
Aside from killing prey for goodies and food- you can also choose to befriend some of them. Some prey species will outright feel threatened and attack on sight, while others may be tolerant of your presence- and these are the ones that can be befriended. Grooming a prey animal can cause it to drop something for you- but it'll be a single thing, and most likely it will be money- since it is a universal symbol in all species. Befriended prey may also follow you- and very small prey may even gather together and follow you in a small crowd- allowing you to quickly befriend more of them in one sitting. Befriended prey won't drop anything for you if you kill them, so a two person team farming for goodies will probably have one person being the gentle soul- while the other eradicated everything in existence. Befriended prey won't follow you to other maps, and will break off after they lose interest/you stop giving them attention.
This is what I got so far, it's a mish-mash of new ideas and old ones- lemmee know what u think☆