Jump to content

Afke

Members
  • Posts

    84
  • Joined

  • Last visited

Posts posted by Afke

  1. Thanks Roland, this works perfect...and thanks afke...I am just learning leadwerks and am still learning c++...I really appreciate the help...I should have noticed that i was making a new variable for the same numbers...thanks

     

    No problem man . We are here to help , just ask :)

     

    Cheers

  2.  

    //CODE TO GET PLAYER POSITION

     

    TVec3 px=Vec3(playerpos.X);

    TVec3 py=Vec3(playerpos.Y);

    TVec3 pz=Vec3(playerpos.Z);

     

    //print x,y,z of the player

     

    DrawText (0,currentLine*12,"FPS() = %f",FPS()); currentLine++;

    DrawText (150,1,"X= %f ",px);

    DrawText (275,1,"Y= %f ",py);

    DrawText (400,1,"Z= %f ",pz);

     

    Roland gave you the best solution. In this case use his code.

     

     

    Vec3 has 3 Float values : x,y z

     

    So it should be:

     

    Float px= playerpos.X;
    DrawText (150,1,"X= %f ",px);
    

     

    But you don't need new variable in this case .Make new var only if you have to do same more calculation with it, and you don't want to change original variable.

    • Upvote 1
  3. Entity Picks only work on mesh / surfaces. How are you going to have a capsule mesh that isn't obscuring the model..... If you hide it the pick won't work.

     

    I think you've confused this with body collisions.

     

    Hmm, I have to think about that , but anyway , raycast with mesh that has 3000 or more polygons is not a good idea, especially when you have a lot of enemies in level. I don't know how LE handles that inside, but I am sure that has to be some work around , perhaps (show and hide capsule or something... ) I have to refresh my mind first smile.png . I have to go now , but I will look at this problem when I come back.

  4. It is much better to check hit against some primitives not player mesh . Best practice use capsule . If you want to have check hits against all body parts then you have to make something like ragdoll and bounding box .First make check is there hit on bounding box.Only in the case if there is , then you can check which part of body.

     

    One capsule is OK , make it simple.

    • Upvote 1
  5. I don't know, I'm not a designer. biggrin.png

     

    Ok , I know that laugh.png . What I mean Do you like font ? Do you like art direction ? Just to see which way to go . The problem is I don't have to much time to experiment , I am in the middle of releasing process . (Finally rolleyes.gif ) ... (game )

     

    But of course I want to help as much as I can :)

  6. I don't think anything posted yet has really nailed it. With design, you know when an idea is right the minute you see it.

     

    You have to be more specific if you want to help us to make something what will nail it . Just try to be more specific ,what do you like on ?

  7. I've played a little with UDK's Kismet and I've looked at Josh's implementation and since you extended that, do you plan on having multiple input/outputs and parameters? Not sure if you've messed with Kismet before but it's a nice base to go off of. At the time Josh's implementation didn't have these parameters but maybe you extended it to have this?

     

    Now you have me excited about doing my C++/LE flowgraph system again :)

     

    First something like Massive software has brain editor.

    Yep long term ;) it will be something similar to UDK Kismet . Not the same because LE has different philosophy .

×
×
  • Create New...