Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    A LITTLE PART OF ME JUST DIED INSIDE.
    i know what you mean

  2. #17
    SNal2F's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    175
    Reputation
    30
    Thanks
    99
    what are you doing exactly? modifying your view?

    i see wouldnt it be easier to just auto aim and just do

    x += MyMove etc
    Last edited by SNal2F; 04-25-2011 at 12:54 AM.

  3. #18
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Quote Originally Posted by _Fk127_ View Post
    Code:
    if (forward || backward)
    			{
    				float sign = (forward ? 1.0f : -1.0f);
    				Posx += sign * 20.0f * sinf(Yaw);
    				Posy += sign * 20.0f * sinf(-Pitch);
    				Posz += sign * 20.0f * cosf(Yaw);
    			}
    Just a sample
    NO! Why u release te math func
    Now all make their shit ghostmode

    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    A LITTLE PART OF ME JUST DIED INSIDE.
    matz.cpp
    Last edited by Ch40zz-C0d3r; 04-25-2011 at 01:04 AM.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k

  4. #19
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by kibbles18 View Post
    what header is sinf and cosf found in?
    yeah i know its not the whole thing. i just need to add my X Y Z pointers in place of the posx posy posz, and define forward/backward
    Google it, learn Geometry(which includes basic Trig) and everythign will make a lot of sense
    Dont ban me

Page 2 of 2 FirstFirst 12