Euhmm, so version for 1.0 is not supported? I need this for this version only.
Printable View
Euhmm, so version for 1.0 is not supported? I need this for this version only.
Didn't know it before, anyone had issues with linkto/bullettrace?
Quote:
[19:18] RobsoN: hello, i wanted to notice bullettrace [entity] and likto wont work with nocollision
[19:19] kung foo man: oh thanks for telling, didnt know that
[19:19] kung foo man: not at all or specific cases?
[19:19] RobsoN: euhmm idk what do you mean
[19:20] RobsoN: i just have ran this
[19:20] RobsoN: and its working well
[19:20] RobsoN: but any bullettrace entity or linkto entity wont work
[19:20] RobsoN: bullettrace returns undefined entity, and likto is just not linking to undefined entity
[19:20] kung foo man: ah
[19:21] RobsoN: is it possible to patch it or not?
[19:21] kung foo man: would need enablePlayerCollision() function
[19:21] kung foo man: then enable -> make trace -> disable
Just try with setcontents(256) every frame on every player...
Trace still doesn't work
Not sure if worth mentioning that it works fine for me on 1.0? Fixed maybe?
Yea, Mitch added 5 months ago :D
https://github.com/kungfooman/libcod...7850e05dea2f9c
Hello. I tried to disable collision, but I can't. I'm trying it on Linux Ubuntu CoD2 v1.3
What I try is:
Calling a function at the beginning of a script
The function is:Code:EndlessCollisionDisable();
What am I doing wrong?Code:EndlessCollisionDisable()
{
level endon("boot");
std\utils::disableGlobalPlayerCollision();
while(true)
{
players = GetEntArray("player","classname");
for(i=0;i<players.size;i++)
{
players[i] setcontents(0);
}
wait 1;
}
}
You're calling the wrong function.
Call once to DisableGlobalPlayerCollision() when you have libcod
Then setcontents(256) on spawn.
setcontents(257) for a moment if you need bullettrace (that should also fix the issues posted here earlier)