Steviebops wrote:

Apologies for the lateness. Here's the changes to get it working.

In controlsScript, here's the new loop -

      // Check Particle Effects
        foreach (MoveParticleEffect particleEffect in move.particleEffects)
        {
            if (
                !particleEffect.casted &&
                particleEffect.particleEffect.prefab != null &&
                move.currentFrame >= particleEffect.castingFrame
                )
            {

                particleEffect.casted = true;

                Vector3 newPosition = myHitBoxesScript.GetPosition(particleEffect.particleEffect.bodyPart);

                GameObject pTemp;

                if (particleEffect.particleEffect.isWeaponTrail)
                {

                    pTemp = (GameObject)Instantiate(particleEffect.particleEffect.prefab,
                                               newPosition,
                                               Quaternion.identity);


                    Vector3 endPosition = myHitBoxesScript.GetPosition(particleEffect.particleEffect.bodyPartEnd);

                    pTemp.transform.parent = myHitBoxesScript.GetTransform(particleEffect.particleEffect.bodyPart);

                    XftWeapon.XWeaponTrail xComp = pTemp.GetComponent<XftWeapon.XWeaponTrail>();

                    xComp.PointStart.position = newPosition;
                    xComp.PointEnd.position = endPosition;

                }
                else
                {

                    newPosition.x += particleEffect.particleEffect.positionOffSet.x * -mirror;
                    newPosition.y += particleEffect.particleEffect.positionOffSet.y;
                    newPosition.z += particleEffect.particleEffect.positionOffSet.z;

                    pTemp = (GameObject)Instantiate(particleEffect.particleEffect.prefab,
                                                     newPosition,
                                                     Quaternion.identity);

                    if (particleEffect.particleEffect.stick) pTemp.transform.parent = myHitBoxesScript.GetTransform(particleEffect.particleEffect.bodyPart);

                }

                StopParticleDelay spComp = pTemp.GetComponent<StopParticleDelay>();

                if (spComp != null)
                {
                    spComp.stopDelay = particleEffect.particleEffect.duration;
                }
                else
                {
                    Destroy(pTemp, particleEffect.particleEffect.duration);
                }

            }
        } 

In XWeaponTrail.cs - replace the Deactivate() method with this one -

   public void Deactivate()
        {
            gameObject.SetActive(false);
            if (mMeshObj != null)
            {
                mMeshObj.SetActive(false);
                mVertexPool.SetMeshObjectActive(false);
                Destroy(mMeshObj);
            }

            Destroy(gameObject);
        }

thnx this was quite helpful how did you do with  MoveEditorWindow.cs??
i tried my own.. and i got it work but it ignored mirror to the other side..
i probably did something wrong...

2

(2 replies, posted in General)

StriderSpinel wrote:

I didn't use XWeapon just because i was really advanced on development when i found out, But you can use the "Trail Renderer" that comes with unity.

Simple, create an Empty game object, set it's position to 0,0,0 and so it's rotation, so you won't have problems spawning out of place. Click add component and add a Trail Renderer, it's a simple and clear component that asks for a material and some other values like Start Width, End Width, time (how long  the trail is).

Turn it into a prefab and then in your Particle effects tab in your character move file select your prefab, the casting frame, body part, and don't forget to set it as "Sticky".

Now your move has a Trail.

Hope it helps!

thnx i tried but i need to figure out how to set start and end polint

3

(2 replies, posted in General)

does anybody know how to add trail to weaponary attack?
there is a an older tutorial with Xweapon tutorial but that doesnt work with 1.8
so i cant use that anymore

4

(3 replies, posted in General)

Haritha Denuwan wrote:

I think you didn't change the gauge that the move needs,
First select your move file and Goto to the move menu and look at "gauge/meter option"!,
This problem starts if you didn't change the move "required guage" points from "0" to (any guage points as you need),
But if you put so much guage like ,

  • Ex:-
    "A" character's max guage is 1000 , but you changed the move's required guage to 2000 , that move doesnt work!

So keep that on your mind too,
By the way ,
You can set required gauge points to "0" to normal moves,
Not supers!
Haritha Denuwan

thnx ^^

5

(3 replies, posted in General)

whenever my character use super move
they use gauge not a problem at all
but thing is they can use super move even gauge bar is not filled...
weather gauge is fully filled, half filled or none, they can use supermove

so any update on this tutorial?

MrPonton wrote:
knightgabriel4eva wrote:

I am having trouble with adding weapon trail
especially with controlscript

If you are posting that you'd like someone to help you out, I'd suggest posting more information so that people can direct you on how to resolve the trouble you're having.

for ControlsScript.cs and MoveEditorWindow.cs
it said i should replace but since there are some changes or huge changes from 1.7 to 1.8
i dont know where to put them or if it's good idea to replace them

i managed to mirror particles though..

8

(19 replies, posted in Tips & Articles)

so how do i apply this to unity 5.4??
i tried but somehow it works only on one character of mine but doesnt work on the other characters..
so weird...

I am having trouble with adding weapon trail
especially with controlscript

10

(1 replies, posted in General)

i am getting these 3 error messages any idea?


Assets/UFE Addons/Network Support/LegacyNetworkMultiplayerAPI.cs(79,50): warning CS0618: `UnityEngine.NetworkView.RPC(string, UnityEngine.RPCMode, params object[])' is obsolete: `NetworkView RPC functions are deprecated. Refer to the new Multiplayer Networking system.'

Assets/UFE Addons/Network Support/LegacyNetworkMultiplayerAPI.cs(85,10): warning CS0618: `UnityEngine.RPC' is obsolete: `NetworkView RPC functions are deprecated. Refer to the new Multiplayer Networking system.'

Assets/UFE/Scripts/UFE.cs(2158,28): error CS0117: `UnityEngine.Random' does not contain a definition for `InitState'

11

(5 replies, posted in General)

Twrmois wrote:
knightgabriel4eva wrote:
MrPonton wrote:

Try remaking a new Character Hit Box Prefab. In my experience some times either the original mesh file or the prefab itself get altered in their transform settings causing a break between the two. Not saying it's a 100% chance it will fix it, but it's possible something got corrupted in the update to 1.7.1 for you.

thanks
I tried but it didnt work sad
but thanks it was worth trying

Weird, knight's solution was what I used way back when I first upgraded my project between versions. Try making a new UFE project, import your character model, and recreate the character prefab inside of the new project. If it works in the new project, you may have done something wrong in your main project.

oh thank you tixed it!!!
^0^ thank you very much

12

(5 replies, posted in General)

MrPonton wrote:

Try remaking a new Character Hit Box Prefab. In my experience some times either the original mesh file or the prefab itself get altered in their transform settings causing a break between the two. Not saying it's a 100% chance it will fix it, but it's possible something got corrupted in the update to 1.7.1 for you.

thanks
I tried but it didnt work sad
but thanks it was worth trying

13

(5 replies, posted in General)

Still can't add any new moves of characters
I think this happened ever since i had an error
even though i format and reinstall everything it doesnt fix any...
it doesnt even allow me to start from scratch....

14

(5 replies, posted in General)

Now i have a lil problem
with this one single character
On PC i have problem but when I try him to the android the mesh goes weird

I have tried on two version
latest version of UFE (1.7.1) and the previous version (1.6??)

PunBB bbcode test
on 1.6 it has no problem

PunBB bbcode test
however on 1.7.1 it looks like this

it is not like he has different setting from other character
he is legacy type just like all other characters of mine

there are both same charcater file tested on two diff version of UFE

i simply update UFE and this happened
any solution?

15

(8 replies, posted in General)

I even reinstall windows but nothing works so far
I even tried to use my earlier version of my project, same error.

older version of unity n early version of my project.. still have the error

so i have no idea why
anything else i shoud try?

is there anything got to do with updating windows??

16

(8 replies, posted in General)

christougher wrote:

Don't test with Mike unless you're using generic animations. He's not humanoid unless you use the version of Mike I have converted and posted in the animation section of this forum...

Also, maybe post some screenshots showing the details of the linked move settings, the move file, the animation import settings, the character's move list and whatever else that could be affecting it

but the main thing here is that i never had this error b4. happened like 2 wks ago and I cant seem to find any reason
all other characters i have created with link b4 (this weird thingy happened) do not have any problem or if i link any other existing move no problem at all

only if I creat a new move file then, they have error, not playing animation.
it just wont play animation even the animation is there. I reused some of the existing animation still the same problem.

it seems fine when i use the new moves file as normal moves with input (not linked move)
but if i use them in link moves they start coursing problem

i have 10 characterrs so far none of them have this problem
but only the new moves i want to add/creat for new characters or existing character it starts giving me this weird error.

this is really a pain in the ass... there is no point of making a new character unless i solve this.

17

(8 replies, posted in General)

i still got same issue
i tested with a complete a new project
I have created a empty project and import UFE
then i test with mike still the same issue.
anyone any idea? version of unity maybe?

18

(8 replies, posted in General)

I tried on another characters it has the same issue
I am using unity 5.3.4f1
could be something wrong with the version?
cuz it never happened b4...

19

(8 replies, posted in General)

Twrmois wrote:
knightgabriel4eva wrote:

never happened it before but now whenever I want to add any new move with chain moves
it said animation is missing for link move but it is clearly there it is not like I forgot something

I duplicate any other existing moves like stand kick and link it to the linked move in the chain moves in the move editor
but still it gives me the same error
it happened from today no idea why


I paste error msg
Animation for move 'Gallian_GravityForce' not found!
UnityEngine.Debug:LogError(Object)
ControlsScript:ReadMove(MoveInfo) (at Assets/UFE/Scripts/ControlsScript.cs:1064)
ControlsScript:DoFixedUpdate() (at Assets/UFE/Scripts/ControlsScript.cs:488)
UFE:FixedUpdate() (at Assets/UFE/Scripts/UFE.cs:1996)

Double check the following:
-Sometimes, combo moves may be a bit buggy if you have two or more moves that are named the same on the same character.
-Double check that the links are set correctly for the moves
-Double check to make sure you added all the moves in said combo in your character
-Make sure the animation is previewable in the move.

Reply back if you try all of the above and it still doesn't work. If so, then I'll look into it and see what I can do smile


1) I checked the name.. they don't seem to be any problem
2) I check the links I tried any existing one they works but if I duplicate n changed and then they stop working
even I create a new file.. it doesn't work... strange
3) I am sure I added all cuz its previewable
4) I can view it in move editor but just not in the game when I test...

please help sad I will try on the other characters and see what happens...

20

(8 replies, posted in General)

never happened it before but now whenever I want to add any new move with chain moves
it said animation is missing for link move but it is clearly there it is not like I forgot something

I duplicate any other existing moves like stand kick and link it to the linked move in the chain moves in the move editor
but still it gives me the same error
it happened from today no idea why


I paste error msg
Animation for move 'Gallian_GravityForce' not found!
UnityEngine.Debug:LogError(Object)
ControlsScript:ReadMove(MoveInfo) (at Assets/UFE/Scripts/ControlsScript.cs:1064)
ControlsScript:DoFixedUpdate() (at Assets/UFE/Scripts/ControlsScript.cs:488)
UFE:FixedUpdate() (at Assets/UFE/Scripts/UFE.cs:1996)

21

(3 replies, posted in General)

thnx I will use 5.3.4.

but 5.4.x seems working but just getting error msg but still works like there isn't any problem when I do the test.. no idea why

22

(3 replies, posted in General)

I found two more errors

MissingReferenceException: The object of type 'Animation' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
LegacyControl.IsPlaying (System.String clipName) (at Assets/UFE/Scripts/LegacyControl.cs:145)
MoveSetScript.RestoreAnimationSpeed () (at Assets/UFE/Scripts/MoveSetScript.cs:576)
ControlsScript.PausePlayAnimation (Boolean pause, Single animSpeed) (at Assets/UFE/Scripts/ControlsScript.cs:2543)
ControlsScript.PausePlayAnimation (Boolean pause) (at Assets/UFE/Scripts/ControlsScript.cs:2535)
ControlsScript.HitUnpause () (at Assets/UFE/Scripts/ControlsScript.cs:2524)
UFE.FixedUpdate () (at Assets/UFE/Scripts/UFE.cs:2043)

and


NullReferenceException
UnityEngine.Transform.get_position () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineTransformBindings.gen.cs:26)
HitBoxesScript.GetPosition (BodyPart bodyPart) (at Assets/UFE/Scripts/HitBoxesScript.cs:319)
ControlsScript.ReadMove (.MoveInfo move) (at Assets/UFE/Scripts/ControlsScript.cs:1512)
ControlsScript.DoFixedUpdate () (at Assets/UFE/Scripts/ControlsScript.cs:488)
UFE.FixedUpdate () (at Assets/UFE/Scripts/UFE.cs:1996)


I get them when I do test run...

I also get this minor error:
BoxColliders does not support negative scale or size.
The effective box size has been forced positive and is likely to give unexpected collision geometry.
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "Game/Dungeon(Clone)/Tomb04_e 1/Tomb04_d"

23

(3 replies, posted in General)

I get this error when I start unity

Internal_Create is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'HitBoxesScript' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Texture2D:.ctor(Int32, Int32)
HitBoxesScript:.ctor()

I am using version unity 5.4.0b17 personal

and sometime it  froze when it juggle for like few frames depend on the length of 'hit stun on hit'
didn't have problem b4 but when I updated it happened... so must be something to do with version....

24

(19 replies, posted in Tips & Articles)

I still cant do it... hopeless...have to find some way to go around use actual particle emitter or something like that..

25

(19 replies, posted in Tips & Articles)

I mirror particle but I coudnt mirror projectile..
I maybe doing something wrong
I think I have to add 'mirrorOn2PSide' somewhere in projectilemoveset.. but I coudnt fig that out..