PDA

View Full Version : Non Collision



malyczolg
11th October 2013, 10:17
How make noncollision players script?

IzNoGoD
11th October 2013, 10:43
use the friggin search function. Found it ON THIS VERY WEBSITE in under a minute.

kung foo man
11th October 2013, 11:08
http://killtube.org/downloads/cod2/exampleserver/main/std/utils.gsc



std\utils::disableGlobalPlayerCollision();


Depends on libcod: https://github.com/kungfooman/libcod

malyczolg
11th October 2013, 12:47
add :

Callback_StartGameType()
{
thread std\utils::disableGlobalPlayerCollision();
}
and notwork

IzNoGoD
11th October 2013, 13:03
Depends on libcod: https://github.com/kungfooman/libcod

10charchar

malyczolg
12th October 2013, 17:07
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/

IzNoGoD
12th October 2013, 17:50
ok
here is my script:



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.

malyczolg
12th October 2013, 17:58
there is no other way?

IzNoGoD
12th October 2013, 18:09
If there were, then all modders for cod1/cod2/cod4/cod5 havent found it in over 5 years, so, no.

kung foo man
13th October 2013, 04:35
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/