Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: [VIDEO] rotating brushmodels

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    1,968
    Thanks
    1,924
    Thanked 1,065 Times in 740 Posts

    [VIDEO] rotating brushmodels



    direct-link: http://www.youtube.com/watch?v=--chMi15m9k&hd=1

    Just made this! Its my first video. The quality COULD be better, but everything is readable. Make sure to watch in 720p.

    There is no sound, so dont wonder.

    Content:
    1. making the map
    2. configuring the server
    3. start the server to test
    4. write the script
    5. see the result of the script

    Because its my first video, please tell me what i can do better!

    Have fun!

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

    ASAS1NS (3rd December 2012),ElEmEnT (25th October 2013),EnergY (28th March 2013),EvoloZz (12th February 2013),Jared (6th May 2013),Jeplaa (25th December 2012),STAUFFi (2nd November 2012),wannabe (23rd February 2014)

  3. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    1,968
    Thanks
    1,924
    Thanked 1,065 Times in 740 Posts
    the written script:


    Code:
    main()
    {
        something = getEnt("something", "targetname");
        
        angle = 90; // 4 times = one full round
        seconds = 1;
        
        while (1)
        {
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotateYaw " + i); // 0,1,2,3 = 4
                something rotateYaw(angle, seconds);
                something waittill("rotatedone");
            }
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotatePitch " + i); // 0,1,2,3 = 4
                something rotatePitch(angle, seconds);
                something waittill("rotatedone");
            }
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotateRoll " + i); // 0,1,2,3 = 4
                something rotateRoll(angle, seconds);
                something waittill("rotatedone");
            }
        }
    }

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

    ElEmEnT (25th October 2013),EnergY (28th March 2013),STAUFFi (2nd November 2012)

  5. #3
    Private
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 22 Times in 8 Posts
    Quote Originally Posted by kung foo man View Post
    [...]Because its my first video, please tell me what i can do better! [...]
    Would be better if you talk a little bit at mapping part. That newbies will understand better what to do.

  6. The Following User Says Thank You to DisSle For This Useful Post:

    kung foo man (2nd November 2012)

  7. #4
    ... connecting shadix's Avatar
    Join Date
    Nov 2012
    Location
    Nemesis
    Posts
    9
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Last edited by shadix; 6th November 2012 at 13:03.

  8. The Following User Says Thank You to shadix For This Useful Post:

    kung foo man (6th November 2012)

  9. #5
    Private
    Join Date
    Jul 2012
    Location
    France
    Posts
    21
    Thanks
    1
    Thanked 9 Times in 6 Posts
    Hi, i want to copy that but i get this error message:

    Code:
    ******* script compile error *******
    unknown function: @ 38035
    ************************************
    Error during initialization:
    script compile error
    (see console for details)
    Does anybody knows how to fix?

  10. #6
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    1,968
    Thanks
    1,924
    Thanked 1,065 Times in 740 Posts
    Ufff, tried now really long to help in TeamViewer and it finally works.

    Problems in Windows 7:
    - ALWAYS right-click on the Programs and start as Administator -> otherwise you cant save anything OR IT IS SAVING, BUT THERE IS ONE SAVED VERSION FOR EACH USER

    Normal Problems:
    - ALWAYS work with a CLEAN CoD2-Copy! No Missing-Functions and Shit this way
    - When made a "CoD2 Modding"-Copy, REMEMBER to enter the new Path of it in CoD2-Compile-Tool, or you are compiling some old map in the Gaming-Copy flooded with mods.
    timescale 0.01

  11. #7
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    627
    Thanks
    196
    Thanked 424 Times in 286 Posts
    Quote Originally Posted by Puissant View Post
    Hi, i want to copy that but i get this error message:

    Code:
    ******* script compile error *******
    unknown function: @ 38035
    ************************************
    Error during initialization:
    script compile error
    (see console for details)
    Does anybody knows how to fix?
    unknown function: @ 38035 means that you are missing a function. Run your cod in developer mode by setting /developer to 1. Now it will say what function it is crashing on.

  12. The Following User Says Thank You to Mitch For This Useful Post:

    kung foo man (3rd December 2012)

  13. #8
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Hmm, what about if I want the brushmodel to rotate from some angel (like rotating door or something), because for me it just does a huge circle around my map

  14. #9
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,005
    Thanks
    439
    Thanked 168 Times in 130 Posts
    Use the joint as rotating point

  15. The Following User Says Thank You to Ni3ls For This Useful Post:

    EvoloZz (27th February 2013)

  16. #10
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Yeah just realised it, thanks

Posting Permissions

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