Results 1 to 10 of 10

Thread: Non Collision

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    Non Collision

    How make noncollision players script?
    Last edited by malyczolg; 11th October 2013 at 09:31.

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    use the friggin search function. Found it ON THIS VERY WEBSITE in under a minute.

  3. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    http://killtube.org/downloads/cod2/e.../std/utils.gsc

    PHP Code:
    std\utils::disableGlobalPlayerCollision(); 
    Depends on libcod: https://github.com/kungfooman/libcod
    timescale 0.01

  4. #4
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    add :
    PHP Code:
    Callback_StartGameType()
    {
          
    thread std\utils::disableGlobalPlayerCollision();

    and notwork

  5. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by kung foo man View Post
    10charchar

  6. #6
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    libcod not work on cod2 1.0.
    need help plz.
    if anyone can share this script , i was very grateful

    http://cs.xfire.com/video/60b1e5/

  7. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    ok
    here is my script:

    Code:
    	std\utils::disableGlobalPlayerCollision();
    As kung already said, and as i quoted, IT DEPENDS ON LIBCOD.

    As libcod indeed isnt available for 1.0 yet, you could ask kung if he can port it to 1.0, afaik he was doing so a month ago.

  8. #8
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    there is no other way?

  9. #9
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    If there were, then all modders for cod1/cod2/cod4/cod5 havent found it in over 5 years, so, no.

  10. #10
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Added 1.0 support for the general stack-functions to call into C code, but lacking the special functions like disablePlayerCollision etc.: http://dbg.killtube.org/libcod/libs/
    timescale 0.01

Posting Permissions

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