Results 1 to 6 of 6

Thread: libcod Player Collision

  1. #1
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts

    libcod Player Collision

    Hey Kung,
    How were you able to modify/find the player collision for CoD 2?
    Please be as detailed possible.

    Thanks, php

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by php View Post
    Hey Kung,
    How were you able to modify/find the player collision for CoD 2?
    Please be as detailed possible.

    Thanks, php
    See this c++ source code file:
    https://github.com/kungfooman/libcod.../gsc_utils.cpp

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

    kung foo man (21st September 2013)

  4. #3
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    That doesn't really explain anything.

    [13:08] php: how did u find
    [13:08] php: playercollisiion
    [13:08] kung foo man: that was the hardest one
    [13:08] kung foo man: to remove player collision
    [13:08] kung foo man: bunch of only shitty-math functions
    [13:08] kung foo man: and use forum, cba to explain in xfire for ONE person
    [13:08] php: so i ask how did u find
    [13:08] php: player collis on forums
    [13:09] php: and u will respond
    [13:09] php: ?

  5. #4
    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
    You can open the CoD2 1.2 linux server in IDA Pro and jump to those addresses, decompile and understand them, CoD1 should have kinda the same structure to find to them (though the compiled windows server binary have kinda different looking decompiled functions in IDA).
    timescale 0.01

  6. #5
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    Was just hoping for a quick explanation, but thanks anyway I was about to look too. (Sorry for my lazyness)

  7. #6
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    Found it for CoD 1

Posting Permissions

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