eldv
Junior vMember
Posts: 47
|
Post by eldv on Sept 3, 2020 13:57:58 GMT
I was able to get it to work without much trouble. The post is a little hard to read, so I botched it the first time I did it. Thank god for multiple undo in Visual Studio! But after following very carefully it’s working just fine. I have it on a poison rain and it kills both player and Emerald AI enemies. Thank you for giving me more hope lol I haven't been successful in making it work so far. I don't know what I'm doing wrong in the scripts! I will give it another go and see. Were you able to get it to work? I just redid the modifications with a new install of Invector and Emerald AI.
|
|
|
Post by laowai on Sept 3, 2020 23:15:45 GMT
Thank you for giving me more hope lol I haven't been successful in making it work so far. I don't know what I'm doing wrong in the scripts! I will give it another go and see. Were you able to get it to work? I just redid the modifications with a new install of Invector and Emerald AI. Hi mate. Yes, I just got it to work. I dont know what was wrong the first time! I just redid all the steps and I didn't notice in change in the scripts I used before! Glad it worked anyway :D Thank you very you much
|
|
|
Post by jumpshots on Apr 21, 2021 12:39:47 GMT
Hello does anyone know how to add force to emerald ai using the vexplosion script i tried turning off the nav on collision but it still does not move
|
|
|
Post by funkylabs on Aug 19, 2022 2:03:16 GMT
Hey guys I have followed the instructions and watched the video over and over again but i keep getting this error on 3 of the files.
Assets\Invector-3rdPersonController\Shooter\Scripts\Generic\vExplosive.cs(129,98): error CS1503: Argument 1: cannot convert from 'float' to 'int'
Assets\Invector-3rdPersonController\Shooter\Scripts\Weapon\vProjectileControl.cs(85,102): error CS1503: Argument 1: cannot convert from 'float' to 'int'
Assets\Invector-3rdPersonController\Melee Combat\Scripts\MeleeWeapon\vMeleeManager.cs(186,101): error CS1503: Argument 1: cannot convert from 'float' to 'int'
not really sure what im doing wrong but ive watched the video and copied the snippets.
|
|
|
Post by Yort_Draeb on Aug 19, 2022 3:33:01 GMT
Hey guys I have followed the instructions and watched the video over and over again but i keep getting this error on 3 of the files. Assets\Invector-3rdPersonController\Shooter\Scripts\Generic\vExplosive.cs(129,98): error CS1503: Argument 1: cannot convert from 'float' to 'int' Assets\Invector-3rdPersonController\Shooter\Scripts\Weapon\vProjectileControl.cs(85,102): error CS1503: Argument 1: cannot convert from 'float' to 'int' Assets\Invector-3rdPersonController\Melee Combat\Scripts\MeleeWeapon\vMeleeManager.cs(186,101): error CS1503: Argument 1: cannot convert from 'float' to 'int' not really sure what im doing wrong but ive watched the video and copied the snippets. i havent opened the scripts to see whats going on but if you ever need a float to be an int you can add (int) before. now this can sometimes has issues since ints are solid numbers so it will round it. one example is if it was a damage being taken but was only a .4 or so and the rounding was done off of that then applied. than the damage would never be applied because it would round down. but if its applied at the very end value there should be no problem. just wanted to let you know about converting ints with (int) and saving on your car insurance by switching to Geiko
|
|
xizor
New vMember
Posts: 15
|
Post by xizor on Aug 19, 2022 16:25:11 GMT
Hey guys I have followed the instructions and watched the video over and over again but i keep getting this error on 3 of the files. Assets\Invector-3rdPersonController\Shooter\Scripts\Generic\ vExplosive.cs(129,98): error CS1503: Argument 1: cannot convert from 'float' to 'int'Assets\Invector-3rdPersonController\Shooter\Scripts\Weapon\ vProjectileControl.cs(85,102): error CS1503: Argument 1: cannot convert from 'float' to 'int' Assets\Invector-3rdPersonController\Melee Combat\Scripts\MeleeWeapon\ vMeleeManager.cs(186,101): error CS1503: Argument 1: cannot convert from 'float' to 'int' WORKING SOLUTION (2022) :Unity 2021.3.3f1 Invector ThirdPersonShooter v2.6.2a Emerald v3.1.5.2 When Updating the 3 cs scripts above (vMeleeManager.cs, vProjectileControl.cs, & vExplosive.cs). Use Visual Studio Code to highlight the 'error' in your code, right click to bring up 'suggest fixes', choose "cast Explicit". Do this for each of the three codes and your errors will be gone. The scripts will work correctly after doing this.
|
|
xizor
New vMember
Posts: 15
|
Post by xizor on Aug 19, 2022 18:11:26 GMT
MY SETUP: Unity 2021.3.3f1 Invector Shooter Template v2.6.2a Emerald AI v3.1.5.2
Damage Layers and Ai Tags are set correctly.
THE PROBLEM: The Invector attack animations don't damage Emerald Ai. Are there animationAttackEvents which need to be added to the animations (much like adding 'EmeraldAttackEvent' and 'SendEmeraldDamage' to attack animations used by Emerald AI Agents?
|
|
xizor
New vMember
Posts: 15
|
Post by xizor on Aug 19, 2022 18:25:32 GMT
Integration Expectations:What can we expect from integrating Invector with Adventure Creator? What are the limitations of the integration? INVENTORY - Are the inventory systems linked? ( or should only one be used; if should AC inventory be used or is there an easy way to link AC Interactions and Invector Inventory?)
CONTROL MAPPING
- What are the best ways for mapping Adventure Creator's Hotspot interaction clicks and Invector Attacks to controls (Invector Weak Attack overrides AC's HotSpot click by default)?
|
|