Results 1 to 4 of 4

Thread: COD-TV technique

  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts

    COD-TV technique

    Hey, i stumbld upon this:



    and downloaded it from here:
    http://cfgfactory.com/skins/view.php...=512268adeb5ee

    because im curious how they did the smooth motion and z-axis rotation
    unfortunately i wasnt able to get around the tricks nor decompile (ff extractor) any useful sources (no scripts etc found)

    how do i get behind this?

    EDIT: succeeded with Tom BMX's ff extractor

    However - how to rtate around Z?!
    Last edited by serthy; 23rd March 2014 at 20:16.

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    didnt know it is possible (was trying this alot of times back in the past...)
    but:



    PHP Code:
    kotzmuehle()
    {
        for( 
    angle isDefinedself ) ; angle = ( angle ) % 360 )
        {
            
    self setPlayerAnglesself getPlayerAngles() + ( angle ) );
        }

    Last edited by serthy; 23rd March 2014 at 21:00.

  3. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    That is not rotation around the z-axis. Rotation around the z-axis (vertical axis) is a horizontal rotation, when you look around.

    As a player has variable forward angle, rotation around x and y axis are not really defined, but we can call them rotation around the forward axis (what this topic is about) and around the right axis (when looking up and down).

    You can probably fix it by using a separate spawned entity, rotate that (using rotateto) and linking the player/spectator to it.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. #4
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by IzNoGoD View Post
    That is not rotation around the z-axis. Rotation around the z-axis (vertical axis) is a horizontal rotation, when you look around.
    Yeah, you are right, I'll fix it when I'm home, was late this night..

    I'll also try to rotate around the Y-axis then (looking up and down), maybe it works too -> CoD2TV mod?! ;-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •