Results 1 to 1 of 1

Thread: [Extension] Velocity

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,083 Times in 753 Posts

    [Extension] Velocity

    Hey all,

    Velocity is damn important for some Call of Duty Mods and Map-Features, but by default the velocity-attribute can't be accessed. With the extension you have full control over the velocity!

    Thats leads to nice Mods like: Portal and Surf

    The functions are easy to use:

    PHP Code:
    player std\player::setVelocity((0,0,1000)); // players is pushed immediatly to the top


    while (1// kinda jetpack
    {
        if (
    player useButtonPressed())
            
    player std\player::addVelocity((0,0,100)); // players is pushed immediatly to the top

    The surf-algorithm is open-sourced and works well for CoD2 and CoD4: http://killtube.org/downloads/cod2/e...n/std/surf.gsc

    Velocity-functions are declared in this file: http://killtube.org/downloads/cod2/e...std/player.gsc

    Regards,
    kung foo man
    timescale 0.01

  2. The Following 2 Users Say Thank You to kung foo man For This Useful Post:

    kubislav23 (8th November 2017),omnimouz (15th May 2013)

Posting Permissions

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