PDA

View Full Version : libcod Player Collision



php
21st September 2013, 11:17
Hey Kung,
How were you able to modify/find the player collision for CoD 2?
Please be as detailed possible.

Thanks, php

Mitch
21st September 2013, 16:26
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/blob/master/gsc_utils.cpp

php
21st September 2013, 17:02
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: ?

kung foo man
21st September 2013, 17:14
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).

php
21st September 2013, 17:15
Was just hoping for a quick explanation, but thanks anyway I was about to look too. (Sorry for my lazyness)

php
24th October 2013, 18:03
Found it for CoD 1