|
Post by Invector on Aug 25, 2017 22:00:29 GMT
Jader update to the last version, you will see several improvements and it will work ;) Thinking about... I'm afraid about how to import an update without broke my projects... What is correct method? The correct way is to always keep your files outside Invector's folder, always create a copy of the original AnimatorController and leave it outside along with your 3Dmodels, sounds, animations, prefabs, etc... then just delete the Invector folder and import the new update. It goes without saying that you always need to backup your project before do any update. And depending on the update your prefabs may broke and you need to create the object again. If you change any vScripts you will need to make the changes again.
|
|
|
Post by jrackley on Aug 26, 2017 23:50:26 GMT
Does anyone have any idea of how to use the vlockon script with other AI? For whatever reason, I can only get it to halfway work out.
|
|
|
Post by dendiee on Aug 27, 2017 2:27:59 GMT
Does anyone have any idea of how to use the vlockon script with other AI? For whatever reason, I can only get it to halfway work out. needs to have an ichar interface. easiest way is to add a standalone v character
|
|
|
Post by jrackley on Aug 27, 2017 6:05:26 GMT
Does anyone have any idea of how to use the vlockon script with other AI? For whatever reason, I can only get it to halfway work out. needs to have an ichar interface. easiest way is to add a standalone v character Right I know that, but I am trying to add it without the vstandalone character script. I feel that something like lock on should not be limited only to invector AI or having to use the standalone component. I am able to get the lock on to work without it with code modification, however it is not releasing with toggling of the tab key. Anyways not a huge deal really, I will add the component if I can not figure it out the way I want to in the end.
|
|
|
Post by tharindu on Aug 28, 2017 10:08:21 GMT
Jader update to the last version, you will see several improvements and it will work ;) Thinking about... I'm afraid about how to import an update without broke my projects... What is correct method? If it's not too much take a backup of your project, don't blame me if you didn't back up :P lol Then delete the existing invector folder and import the new package. If you have new models animations etc animators copy them from the old projects. At least that's what I do.
|
|
|
Post by Jader on Sept 1, 2017 21:06:56 GMT
|
|
|
Post by madferret on Jun 9, 2020 12:44:32 GMT
Hi, is there any reason this wouldn't work anymore?
I have added the script to player, un-checked all 3 use buttons on the Melee lock-on script, set the layers to enemy, checked the enemy layers are set to enemy.
I had to add using Invector.vCharacterController; using Invector.vCamera;
The character doesn't lock-on or seem to attempt to?
I am working on an android game, not sure if that makes a difference.
thanks
Lee
|
|
|
Post by gamologics on Jul 23, 2020 9:05:06 GMT
This should work. www.dropbox.com/s/6clfid9o6g48etj/AutoLockOnClosestEnemy.cs?dl=0Just assign it to your player, define your enemy layers and play around with the radius. I included an option to see the radius within the editor. Cheers, sickscore EDIT: You should deactivate all default LockOn Inputs on your vLockOn component. Just click on the USE button next to the input. hi sickscore, I'm got some errors, think it's because the version thtat i use. (Melee Template v2.0b) hey bro there are some errors which not allowing me to move ahead..
|
|
|
Post by gamologics on Jul 23, 2020 9:46:15 GMT
This should work. www.dropbox.com/s/6clfid9o6g48etj/AutoLockOnClosestEnemy.cs?dl=0Just assign it to your player, define your enemy layers and play around with the radius. I included an option to see the radius within the editor. Cheers, sickscore EDIT: You should deactivate all default LockOn Inputs on your vLockOn component. Just click on the USE button next to the input. I try this script but it only lock the camera but not lock on Target activate..
|
|
|
Post by gamologics on Jul 23, 2020 10:10:44 GMT
Hi, is there any reason this wouldn't work anymore? I have added the script to player, un-checked all 3 use buttons on the Melee lock-on script, set the layers to enemy, checked the enemy layers are set to enemy. I had to add using Invector.vCharacterController; using Invector.vCamera; The character doesn't lock-on or seem to attempt to? I am working on an android game, not sure if that makes a difference. thanks Lee
|
|
|
Post by gamologics on Jul 23, 2020 10:11:40 GMT
Did you solved this issue? I am facing same problem the camera has locked but the enemy is not locked as target until i press tab
|
|