|
Post by hobbycoder on Apr 7, 2021 14:03:21 GMT
I made a simple add-on to add new generic action using scriptable object.. I'm using raycast to check if an action can be performed.. option to check if item is in inventory to perform action.. You can download the beta version here.. hobbycoder.itch.io/custom-gaction-for-invectorHere's the video of setting up new action..
|
|
|
Post by hobbycoder on Apr 7, 2021 22:23:42 GMT
Will later update this to fix custom camera , position player to match transform - add option to spawn (% chance ) collectible items when doing action - like spawning rocks when mining, catching fish when fishing..and add them to the inventory - will explore also option to carry items to another place (unlocking player input) while doing action..
|
|
|
Post by manwitch on Apr 8, 2021 2:48:05 GMT
Thanks for all your work you are truly an inspiration. Although many don't say it, I'd bet many think it
|
|
|
Post by hobbycoder on Apr 8, 2021 4:16:12 GMT
manwitch no worries..im actually enjoying this as a hobby - love the challenge of solving problems too.. Currently, my list GAction List - WIP Melee Helper - WIP (adding features) Stats /Modifier - Next Clothing - to be updated (add support for mesh renderer) Spell Helper - Next (mana system - targeting) Skill Tree - Next Vehicle AddOn - update and set-up tutorial video - Next GLide/Fly System - WIP Bow System - learning IK (currently using final IK)
|
|
|
Post by jasonweise on Apr 8, 2021 5:28:29 GMT
I would like to echo manwitch's comment, truly inspirational and thanks so much for putting the effort in and releasing to the rest of the community. It is people like you that make this community great
|
|
|
Post by jasonweise on Apr 8, 2021 5:41:14 GMT
I do have one small question though I have downloaded the unitypackage to have a look and in a brand new project with Invector Shooter 2.5.6b I am recieving the following issue in console: ``` Parameter 'inAction' does not exist. UnityEngine.Animator:SetBool (string,bool) HobbyCoding.GActions:Update () (at Assets/Invector-3rdPersonController/Add-ons/GActions/Scripts/GActions.cs:41) ``` I see that the included AnimationController for the demo scene is missing some expected Parameters? Thanks in advance
|
|
|
Post by hobbycoder on Apr 8, 2021 6:23:20 GMT
Thanks. Will look into it later..Will try a fresh project ..Upload also the updated version - with fix..
|
|
|
Post by hobbycoder on Apr 8, 2021 12:01:29 GMT
Here's the preview of the next update : I've changes a few things like gaction now is in the object - no tag needed added end action type - button, timer, animation items collection has been added
still on-going update - will upload after a finish with another Derived class - OnUsingMuiltipleITemsAction - useful in cooking or actions that need more materials/items to perform
|
|
|
Post by hobbycoder on Apr 8, 2021 15:37:25 GMT
Will make a few actions - then will upload the latest version in itch.io by tomorrow
|
|
|
Post by jasonweise on Apr 8, 2021 22:58:33 GMT
Amazing! You are an absolute champion @hobbycoder
|
|
|
Post by hobbycoder on Apr 8, 2021 23:54:36 GMT
|
|
|
Post by denvzla on Apr 9, 2021 1:26:54 GMT
Amazing! Thanks!!
|
|
|
Post by xuyuepeng on Apr 10, 2021 4:45:45 GMT
That is great! Can customize the RaycastHit angle? Or TriggerEnter?
|
|
|
Post by hobbycoder on Apr 10, 2021 7:14:50 GMT
Im using a sphere cast, but you can modify the raycast check ..or change it to trigger..
|
|
|
Post by xuyuepeng on Apr 10, 2021 8:44:10 GMT
OK,Can release a beta version for the Melee Combat Helper Add-On?
|
|