|
Post by mryamato on Nov 23, 2018 1:31:15 GMT
shadexhi there, so there is a spell that i animated, is it possible to cast a spell with an animation in it and also plays the animation ? EDIT: and i also get this error: Assets/invector/Invector-3rdPersonController/Add-ons/ShadesSpellSystem/Scripts/Editor/CreateMagicController.cs(217,35): error CS1061: Type `Invector.vHitDamageParticle' does not contain a definition for `defaultDamageEffect' and no extension method `defaultDamageEffect' of type `Invector.vHitDamageParticle' could be found. Are you missing an assembly reference? greetings
|
|
|
Post by shadex on Nov 24, 2018 8:25:40 GMT
shadex hi there, so there is a spell that i animated, is it possible to cast a spell with an animation in it and also plays the animation ? EDIT: and i also get this error: Assets/invector/Invector-3rdPersonController/Add-ons/ShadesSpellSystem/Scripts/Editor/CreateMagicController.cs(217,35): error CS1061: Type `Invector.vHitDamageParticle' does not contain a definition for `defaultDamageEffect' and no extension method `defaultDamageEffect' of type `Invector.vHitDamageParticle' could be found. Are you missing an assembly reference? greetings you "animated" a spell? Are you talking like moving a rock with the animation key frames? or are you talking about the character casting a spell? The spell system just spawns prefabs, so just about any prefab you make, you can use as a spell. Just make sure it has the projectile script.
Your error usually indicates that some file hasn't compiled. Did you try to install the system in a clean project?
|
|
|
Post by mryamato on Nov 25, 2018 1:45:12 GMT
yeah the spell that i want to cast is a wall that goes down to up, so yeah its animated,
but when i cast the spell, the wall moves with the animation but its still in the same spot where i animated it,
so basicly it doesnt spawn in front of me..
thats what im trying to fix
greetings
|
|
|
Post by shadex on Nov 25, 2018 2:03:02 GMT
yeah the spell that i want to cast is a wall that goes down to up, so yeah its animated, but when i cast the spell, the wall moves with the animation but its still in the same spot where i animated it, so basicly it doesnt spawn in front of me.. thats what im trying to fix greetings Ahh i had the same problem when i made a earth wall spell. If i remember correctly, the gameobject that the legacy animation is on (your wall) is in world position. To make it local, make another gameobject, and child your wall with the animation to the new game object. Make sure that your wall gameobject is set to 0,0,0 position. Also make sure "Use Root Transform" is not checked on the actual spell in the animator.
|
|
|
Post by mryamato on Nov 25, 2018 3:07:47 GMT
perfect it works!! thx shadexthe problem i have now is when i turn around and cast the spell, it spawns behind me or to my left or right, depents on where im looking.. EDIT : i can drop a video if you dont understand what i mean greetings
|
|
|
Post by shadex on Nov 29, 2018 19:15:20 GMT
perfect it works!! thx shadex the problem i have now is when i turn around and cast the spell, it spawns behind me or to my left or right, depents on where im looking.. EDIT : i can drop a video if you dont understand what i mean greetings Is your magic spawn gameobject setup correctly? Infront of the player? Are your prefab projectiles set to 0,0,0? If that doesn't solve it, then yea, throw up a video or a screen shot of your projectile settings, magic settings (on the player) and spell book attack (on spell in the animator)
|
|
|
Post by mryamato on Nov 30, 2018 23:04:44 GMT
first picture player facing north second picture player facing south
on the second spawn the object does faces my way but it's not in front of me. magic spawn is on the right spot in front of me, greetings
|
|
|
Post by shadex on Dec 1, 2018 4:57:11 GMT
first picture player facing north second picture player facing south on the second spawn the object does faces my way but it's not in front of me. magic spawn is on the right spot in front of me, greetings Ok, Time for a little debug. Make it so that you can see the "scene" window and the "game" window at the same time. Have your player highlighted (or magic spawn highlighted) so that you can see the gameobject in the scene window. Hit play, and cast the spell. It should appear at the magic spawn point. If it does not, which it sounds like it isn't, pause the game (the || next to play) then you can advance one frame by pressing >| next to the || pause button.
What we need to find is the position of the wall. If it's 0,0,0 then i've run into that before. If it's not 0,0,0 then i would check the wall prefab for something on it that's acting that way. Does this happen in the demo scene? does this happen with any other projectiles? Make a simple sphere without any code. Use that as the spell prefab, does it appear at magic spawn?
|
|
|
Post by deirre on Dec 1, 2018 15:13:56 GMT
Excellent asset Shadex
Finally after months away from gaming I'm back. Had some time this morning to play around with it (settings only) and it has a ton of potential.
|
|
|
Post by shadex on Dec 2, 2018 1:03:45 GMT
Excellent asset Shadex
Finally after months away from gaming I'm back. Had some time this morning to play around with it (settings only) and it has a ton of potential.
Ohhh that looks pretty!
When you get a chance to play around with it, try adding magic attack behavior to an attack. It's pretty easy to sync to krypto's double fist slam blue thingy of doom, and zelda master sword attacks!
|
|
|
Post by darknubis365 on Dec 8, 2018 10:20:49 GMT
shadex i have a question or two about your character system,I have that working with RPG pack but what i need working now is the Xp to show xp from the RPG pack is there an easy way to display the RPG exp value its just the value instead?
|
|
sona
New vMember
Posts: 9
|
Post by sona on Dec 8, 2018 11:21:29 GMT
such a good asset ! , does it work with inventory system pro ? i haven't tried it yet , but looking forward to do so when i have time :D < if yes lead me to the way , please
|
|
|
Post by shadex on Dec 10, 2018 3:56:05 GMT
shadex i have a question or two about your character system,I have that working with RPG pack but what i need working now is the Xp to show xp from the RPG pack is there an easy way to display the RPG exp value its just the value instead? You want to show XP from the RPG pack? Wouldn't that be a question for the RPG pack? In general, you just need to locate the variable, then do a quick google search how to display display a number through UI. It should take about 5 minutes.
|
|
|
Post by shadex on Dec 10, 2018 4:05:36 GMT
such a good asset ! , does it work with inventory system pro ? i haven't tried it yet , but looking forward to do so when i have time :D < if yes lead me to the way , please I have it working with my project, but i'm not going to support it for the spell system. You need to get one of the intigration's working to equip weapons, guns and ammo (i don't have ammo done yet). Once that is done, you can make a "skill" that on use sets magicID then triggers MagicAttack in the characters animator. I suggest making "Spells" their own inventory window and drag them to the hotbar.
|
|
|
Post by darknubis365 on Dec 10, 2018 4:09:22 GMT
shadex i have a question or two about your character system,I have that working with RPG pack but what i need working now is the Xp to show xp from the RPG pack is there an easy way to display the RPG exp value its just the value instead? You want to show XP from the RPG pack? Wouldn't that be a question for the RPG pack? In general, you just need to locate the variable, then do a quick google search how to display display a number through UI. It should take about 5 minutes. Thanks that was the answer i was looking for i just needed to know where i dont ask anyone to do it for me i like to learn myself
|
|