1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

recording controls

Discussion in 'General Discussion' started by norill, Dec 7, 2012.

  1. I've discovered hidden fun feature. That means functions, that allow you to record your keystrokes. It is something similar to recording demos in Soldat, but apparently unfinished. This is how you do it. First type recControls("filename"); in console. You will see a flashing REC sign in the corner. Jump around for a while and then type endControls();. Then type readControls("filename"); and watch the show. Alternatively, you can use
    recEvents("filename");
    endEvents(); and
    readEvents("filename");

    these functions will create a file named filename in KAG/Base folder. you can record something and send that file to your friends

    i can think of 2 uses for that: recording walkthroughs for parkour maps and recording macros to automate building. it would be nice to type a command and just lay back observing structure erect by itself, but of course your retarded teammates would ruin everything. and there would be a problem with going back to tent for materials
     
  2. Brandon816

    Brandon816 Ballista Bolt Thrower

    Messages:
    262
    No go, it only works for the most basic of jumps. No 5-high jumps, and certain 4-high vault jumps are excluded as well. I guess it's just some check to make sure that people aren't modifying it to allow for impossible moves. If it feels like it won't work, it throws out the whole recording and does nothing. The autobuild for schematics or something is legit though.
     
  3. Hella

    Hella The Nightmare of Hair Global Moderator Donator Tester

    Messages:
    1,655
    Actually, if it records and then replays your exact moves, then if the sequence of jumps is performed from the exact same starting spot then it could very well be able to do fancy jumping in sequence.
     
  4. funnymonkey

    funnymonkey Builder Stabber

    Messages:
    102
    Automating building sounds cool.25252525
     
  5. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    Messages:
    1,914
    This could be amazing for the building section, because people can add this file with their building so everyone can test it out!
    Also cool for ingame building, just put in the map several buildings and choose which one you want
     
    funnymonkey likes this.