can anyone help me? CS8025
using UnityEngine; using System.Collections; var TheDamage : int = 50; var Distance : float; function Update() { If(Input.GetBottonDown("Fire1")) { var hit : RaycastHit if...
View ArticleMelee combat sword system
Hi. First of all I want to say that I have a basic knowledge about C# and i want to make a combat system with sword. I know I can do it in different ways: For example I can use the OnCollisionEnter...
View ArticleHelp with multiplayer melee
Friend and I have been working on a game for a bit now. We've implemented melee combat and it's working just great in singleplayer. But after we've implemented multiplayer, we noticed that the weapon...
View ArticleHaving trouble with melee attack script
Here's the aforementioned script: public float attackDuration = 0.3F; public bool attacking; [HideInInspector] void Start() { } void Update() { if (Input.GetButtonDown("Attack")) { attacking = true; }...
View ArticleMelee Script not working
Ok, followed the tutorial word for word. What did I do wrong? please help #pragma strict var Damage : int = 50; var Distance : float; function Update () { if (Input.GetButtonDown ("Fire1")) { var hit :...
View Articlehold key unequip sword
Hi, i want to know how can i make the code for unequip/equip a blade only when i press "mouse1" i mean, i press attack and the character give the sword to attack, but when i hold the key, the sword...
View ArticleWhy does my Melee System not work?
So i made an melee system but i cant hit my enemy? i keep getting an null error... Here is my Melee Script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
View ArticleAnimator Based Melee Branching Combo System
I am working on a melee based game that will have a combo system. I have left and right mouse buttons for light and heavy attacks, say for instance I use light>light>heavy will do one combo then...
View ArticleUnity Melee Attack Problem / Atak problemi var yardım edin :(
https://www.youtube.com/watch?v=HqX1xpLvKhE
View ArticleFull Performance On Melee Combat
Hi, i know that there's a couple of threads around with the same issue .... but none of them reached the "best practice with full performance" .... I already profilled It and checked many melee systems...
View Articlerpg, skills and characters the structure, confused
hi everyone, i am trying to develop a rpg. i intend to use turn-base battle system similar to ffvii(or ffviii, ffix,etc) i have make classes : [System.Serializable] public class cSkillSet { public List...
View ArticleHow would i go about implementing a melee system in a 2.5d game
So what i have in this 2.5d game is a simple movement and jump script and i would like to try and implement a melee script that can attack both left and right smoothly and make it so that it does...
View ArticleNeed help making player invincible momentarily
So I'm designing a simple rpg where the enemies hurt you by getting close to you. So it gives the sense that they are hurting you by touching you. I have an update function on the enemy that checks how...
View Articlemelee system, does not apply the damage and two attacks
Hello everyone. my problem is that it does not affect the damage. I use boxcollider to apply it. and I would also like to find a way to activate a boxcollider using the left button, and another to keep...
View ArticleHow to move GameObject according to animation
Hello, I am making a 2D game and right now I'm trying to set up a melee combat system. So I have a character that has an idle and attacking animation. Attacking animation looks like a 2 sword swings...
View ArticleGameobject not registering collisions
Hello. I am have a small problem. I have currently switched to Unity 2018.2.1f. ---------- In my game the player can attack using various weapons. The way my player deals damage is by a cube that is...
View ArticleHow to Achieve Better Melee Combat?
Hi Everyone, Sorry for the vague question, but essentially **I would like to achieve combat similar to final fantasy and many other action combat systems.** ---------- **I have my mecanim character...
View ArticleIs there a way for my to put 2 box colliders on the Same object but only have...
I'm making a 2D platformer. The player character has a boxcollider that checks if the player is in melee range of an enemy. I want to make a second box collider that is farther in front of the first...
View ArticlePlayer Damage to enemy damage melee system
Good day! I have finally learned how to do melee system by watching a video here:https://www.youtube.com/watch?v=TWQlNztOoSM I have learned alot from this video, and I recommend you watch it too. My...
View ArticleMultiplayer melee game - client cannot deal damage
Hello guys! I made a simple 3d game using the unity UNET. The problem i am having is that when i join the host as client the client can't deal damage. Help me fix this, please. ---------- void...
View ArticleHow to fix knockback in 2D melee combat system
I tried creating a melee combat system with the help of Blackthornpods melee combat video. The hit detection works fine but i'm having issues with knock back. I found out how to make it work but the...
View ArticleIK for Precise Parrying Animations - Sword Combat System
**Hi, I'd like to know if anyone has ever used IK in combat system scenarios to make it more believable.** For example: Two players fight with swords. One player attacks, one player defends. The game...
View ArticleChecking what type of enemy you hit
Hey so im creating a game where there is going to be alot of enemies and i use raycast for my melee weapon right now im checking the hit collider tag but that will make a big script if i should do it...
View ArticleA Fighting Games Hit boxes
Animations should always be purely aesthetic, right? Physics are kept to scripts, and animations just make things pretty, that's how Unity seems designed and I can't make it work another way...
View ArticleHow to Implement a “Parry” mechanic to a 2D game?
Hello mates! Didn't see any questing about this subject... My name is Eden and I am a student for Game Design and Development. In the latest project of my semester, I am making a 2D game and I want to...
View ArticleHello! I need help at my melee script Unity 2D
Hello,I am currently working on the melee part and I need some help.My game is a mobile game and every tutorial i find is for PC.I want to make the Main Character to take damage if he collides with an...
View ArticleInverse Kinematics for Sword
I'm building a first person game with sword combat, and am trying to utilize Inverse Kinematics to ensure the enemy strikes a specific point on the player, and vice versa. I purchased the "Final IK"...
View Articlei need help with my attack point
right so i am making a melee system but i need to flip the attack point so then when the character is looking left the attack point is also there as right now its looked in one direction. which means i...
View ArticleHow to make 2 groups of agents attack eachother?
I'm working on a small RTS game where I want 2 small armies (100 or so on each side) to be able to fight eachother. The user controls one army whilst the AI controls the other one. I was thinking that...
View ArticleHow would one go about switching from guns to hand to hand system?
My player can shoot, but ammo is scares and will have to use melee combat. I have the shooting system working and the melee system works.....however, I'm not sure how to go about switc$$anonymous$$ng....
View Article