1. #1

    I NEED HELP !!!

    On the pro editor i am making a First person game.... and i made a bad-*** sword for it .. but now i need to know how to put the sword on the Game character .. [and yes i did use the pre-made FPS level].. if theres anyone that can help please tell me!!! and also everything just keeps getting pushed away !!
    Share this post

  2. #2

    Re: I NEED HELP !!!

    You should maybe start out by trying to build something easier first, because the first person game can get quite complex.

    Simplest way to add the sword would probably be to glue it to the camera, but then you wouldn't have it animating.

    You need to use the object position event to place the sword in the correct position every tick. KatamariUK, me, Johannes or someone else, will probably put up some instructions at some point later on.
    Share this post

  3. #3

    Re: I NEED HELP !!!

    Originally Posted by pahapertti
    You should maybe start out by trying to build something easier first, because the first person game can get quite complex.

    Simplest way to add the sword would probably be to glue it to the camera, but then you wouldn't have it animating.

    You need to use the object position event to place the sword in the correct position every tick. KatamariUK, me, Johannes or someone else, will probably put up some instructions at some point later on.

    THANK YOU !!
    Share this post

  4. #4

    Re: I NEED HELP !!!

    The FPS Target Range uses an overly complex system that can be done slightly easier now due to new tools.

    There are two ways to do this. The first would be to animate your 'sword' to the co-ordinates of the custom camera (get co-ordinates with Object Info Data Source- Position X,Y,Z). You would need to add a small amount of extra distance on the Z axis so it appears in-front of the camera rather on top of it. Remember that these co-ordinates are not local co-ordinates!
    Then you would have to match the Pitch and Yaw of the 'sword' to match that of the camera. You can see these in the Right Stick Horizontal and Vertical values at the bottom of the chains in the FPS Example track.

    Alternatively you could glue an invisible 'sword' to the camera and take this glued group's co-ordinates. Now using the Object Position Event you would animate a visible 'sword' to these glued group co-ordinates. Then, using a Two-Input Operator you would have the sword appear in-front of the camera or wherever you want it to be.

    You would then need to use animation to make it look like the sword swings when a button is pressed.

    It's not simple to do and my advice would be to perhaps start with something simpler.
    Good luck!
    Share this post

  5. #5

    Re: I NEED HELP !!!

    OMG, i totally forgot that there were pre made levels. http://z0r.de/2757

    i may or may not have spent a couple of hours trying to make my own

    given a bit more time with my method i could happily get the camera working for rotation, looking up and down and possibly movement, but i think i might have a look at the redlynx method first

    back on topic, i imagine a motorised hinge glued to your sword placed at ~45 degrees to the "body" of the player should do the trick
    Share this post