i've done a lot of tutorials and now i want to set up a real time battle (not round based), for simply defeat an enemy.
My Char is able to cast "Fire". The Enemy is named "Enemy 1".
First i set a real time battle area and then one combatant spawner into it.
So when i play the game, i can see the enemy and i can cast "Fire" on him, but nothing happens. A notification "Enemy 1 does nothing" appears.
What am i doing wrong?
UPDATE: Tried several options and now my Enemy uses the Attacks A, B and C (notification: "Enemy 1 C attacks"). But i do not lost any HP, when he attacks me ?!?!
Look in the Combatants/Combatants section for your player and enemies. It's where you set up the name of the player and assigned their prefab and set up their attacks and items they spawn with.
Formulas is set up in a different area of the editor. If you followed the tutorials you set up formulas.
I'm not at my computer right now so can't tell you more specifically where.
Put your player in the scene and select him. Go to the ork scene organizer and choose damage zone as a component to add to your player prefab. Slide the new player prefab into the original player prefab.
Slide your fireball prefab into the scene. Add a spherical collider.With your fireball,prefab selected go to Ork scene organizer go to add component and add a damage dealer component. In that damage dealer check real time battle one time damage one Attack--again. It at my computer so can't be more specific.
The ability has to have a prefab. Go over ability tutorial again and tutorial how to shoot a fireball at the enemy.
i've done the tutorial for casting the fireball and it works ... BUT ... the cast (fireball) appears at my Spawn-Point (http://orkframework.com/game-tutorial/2013/08/06/3-adding-the-player/) and not in front of my player. so i cant do any damage, it's logically. Actually my spawn-point (a bush) casts a fireball .. little bit funny :)
so i've tested it with a healing potion, same problem. there is a green cloud (animation) over my spawn-point. also with a mana-potion (blue cloud over the spawn-point, but not over my player).
The event your Fireball ability uses does it look exactly like the one in the tutorial? It has a move into direction step? You set up that battle event and put it where it goes? And the prefab you're using in that battle event is the fireball prefab?
I think you can get your real time battles working but you need a little more practice about what goes where which we've all gone through. Hang in there and just come back with your questions.
You need to hook up that battle event with the ability to get the fireball moving.
Make sure that you have in the Animations setting of the Fireball ability that battle event.
I did everything as described in the tutorials , but if you cast the fireball or take a healing potion, you see the effects on the spawn point (turn around - it's a little bush in front of the wooden fence), not on the player.
The fireball-cast consumes mana (5), but when I take a mana potion to fill up the mana, my mana is not replenished. I think my spawn-point gets the mana-fill-up. :))
Real time tutorials start with game tutorial 31, but previous tutorials are also crucial for it, as there are other things set up (e.g. animating attacks, move AI, etc.). I'd really recommend doing everything in the correct order - if you don't need other battle types, you can skip setting them up in your project, but you'll still need to go through the other things, e.g. animating battles.
If the fireball isn't spawning where it should, you most likely selected the wrong object for the position. Or you have a strange player setup, where the actual player object isn't moved and the moving player is only a child object. In that case, you can use the Child As Root setting in the combatant's settings.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Also check the elements for you and your enemies in the combatants section and make sure they are high.
The damage is done by formula. Check what formula you're using and then balance the stats of your player and enemy.
I've asked the same questions before in the forum and gamingislove explained how it works. I'll see if I can find this threads.
> Also check the elements for you and your enemies in the combatants section are high.
where can i check that?
> The damage is done by formula. Check what formula you're using and then balance the stats of your player and enemy.
Where can i found it?
regards,
ulli
Formulas is set up in a different area of the editor. If you followed the tutorials you set up formulas.
I'm not at my computer right now so can't tell you more specifically where.
but nothing happens .... really frustrating.
Do you have a damage dealer on both weapons? Try giving him a fire ball ability. Put a sphere collider on the fireball and give it a damage dealer.
I can Attack and Fire (-ball) and have 2 swords (left + right hand).
sry, iam a newbee with ORK, but it seems to be a fantastic framework.
Slide your fireball prefab into the scene. Add a spherical collider.With your fireball,prefab selected go to Ork scene organizer go to add component and add a damage dealer component. In that damage dealer check real time battle one time damage one Attack--again. It at my computer so can't be more specific.
The ability has to have a prefab. Go over ability tutorial again and tutorial how to shoot a fireball at the enemy.
i've done the tutorial for casting the fireball and it works ... BUT ... the cast (fireball) appears at my Spawn-Point (http://orkframework.com/game-tutorial/2013/08/06/3-adding-the-player/) and not in front of my player. so i cant do any damage, it's logically.
Actually my spawn-point (a bush) casts a fireball .. little bit funny :)
so i've tested it with a healing potion, same problem. there is a green cloud (animation) over my spawn-point. also with a mana-potion (blue cloud over the spawn-point, but not over my player).
any help is welcome.
I think you can get your real time battles working but you need a little more practice about what goes where which we've all gone through. Hang in there and just come back with your questions.
You need to hook up that battle event with the ability to get the fireball moving.
Make sure that you have in the Animations setting of the Fireball ability that battle event.
http://www.wohnkontakt.de/unity/123.html
You can cast the fireball with the Hotkey 4.
I did everything as described in the tutorials , but if you cast the fireball or take a healing potion, you see the effects on the spawn point (turn around - it's a little bush in front of the wooden fence), not on the player.
The fireball-cast consumes mana (5), but when I take a mana potion to fill up the mana, my mana is not replenished. I think my spawn-point gets the mana-fill-up. :))
regards,
ulli
If the fireball isn't spawning where it should, you most likely selected the wrong object for the position. Or you have a strange player setup, where the actual player object isn't moved and the moving player is only a child object. In that case, you can use the Child As Root setting in the combatant's settings.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!