Quantcast
Channel: Questions in topic: "melee"
Browsing all 201 articles
Browse latest View live
↧

Melee system not working

not to long ago i asked how i would i go along making a melee system and i came up with a very basic one here it is: var Damage = 20; var stab : AnimationClip; function OnCollisionEnter(Attack :...

View Article


How do skills affect damage you can do

i have made a skill script and im going to make a melee magic and ranged script but i want my skills to affect how much damage my attacks can do here is my skill script and i will probably add more...

View Article


Melee Combat Script Help

i have made a melee script but it is not doing anything at all here it is: var InCombat : boolean = false; static var EnemyHealth; static var MeleeLevel; var SwordBonus = 20; function Start(){ InCombat...

View Article

Melee system using raycasting

Hello, Now I facing a problem where my character facing enemy and left click. It doesn't attack the enemy. By the way, I using raycast to detect enemy. Here are the code, (Hope you guys don't mind the...

View Article

Trigger and ennemy damage

Hello, i want to make my player possibility to damage the ennemy and kill them so i make a script when ennemy touch player it hurt them. HERE IS THE TRIGGER FUNCTION: function OnTriggerEnter ( other :...

View Article


Melee Combat

Well I'm kinda new to Unity and i am trying to make a Melee combat system... I'm completely lost through. I know i could make a reeeeaaaly simple melee combat system (get in range, press a button), but...

View Article

melee attacks

how can i make melee attacks, just like your only weapon is a knife

View Article

How should i properly do sword combat? (Think: M&B/Oblivion/Skyrim)

I'm talking about a 3DP/FPS game here, which means you will be aiming your swings. If you guys have ever played any of the Mount & Blade games you'd know how it works, basically you can choose to...

View Article


Multiple Targets Using Tags

I have a melee script and I want it to attack multiple target. How do I do this? Here is the script : var target : Transform; var range : int = 3; var countDown : int = 0; var coolDown : int = 2; var...

View Article


Brawl style melee combat?

I am making a Smash Bros. Brawl style game but i cant figure out how to do a melee combat system? An example script and explanation would be greatly appreciated so i could understand how the script...

View Article

Melee combat, sphereoverlap not working

Hi guys, so, on my quest to learn unity i decided to make a 2d mini rpg.. And after doing some basic scripting and movement i decided i wanted to try making a basic melee system but it doesn't work...

View Article

melee attack with raycast

hey, im trying to make a melee attack script, and for this im using a raycast from the camera to in the direction it is pointing. anyway i cant figure out how to meke the ray go in the direction the...

View Article

Can't put Sendmessage to work.

hey guys, I have been trying to make a melee system where a sphereoverlap will tell me if there is any target in range, and if he is in range I'll test the distance as the sphereoverlap is not 100%...

View Article


Sword Combat System: Detect if player in range

Ok, guys, I've been Googling, testing, and experimenting for the past 2 hours. I have a first person character with a sword. I need him to attack the enemies and give them damage. I'm hitting a hiccup...

View Article

Melee Damage script by collision

Hi, I'm working on a 2D game and I have been having some problems with melee damage by collision, I made this script: public class AttackScript : MonoBehaviour { public float damage = 50.0F; public...

View Article


How can i detect collision in melee combat?

Hi to all In my game i have two group of ai characters(i.e. red and blue)and red ai could attack to blue's.my npc's have a "charactercontroler" component and their attack animation is melee type such...

View Article

Melee system script help

#pragma strict var Damage : int = 25; var Distance : float; function Update () { if (Input.GetButtonDown("Fire1")) var hit : RaycastHit; if (Physics.Raycast (transform.position,...

View Article


What is wrong with this melee system?

Hello, guys! I am following some tutorials on Unity and I can't seem to figure out what might be the problem with this melee system. I have a player and an enemy. Player script: #pragma strict var...

View Article

Detect whether the mouse has moved from left to right?

I'm editing the melee system from UFPS. As is stands, the system will currently play one of two melee animations- it does this by randomizing the chance that animation 1 or 2 will play. What I'd like...

View Article

How do you create a first person melee system?

I'm completely new to game design, programming, and so on. My goal is to create a first person rpg (though I realize that that is ambitious for a first project). It'll be set in a medieval environment,...

View Article
Browsing all 201 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>