Euhmm, so version for 1.0 is not supported? I need this for this version only.
Euhmm, so version for 1.0 is not supported? I need this for this version only.
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
Didn't know it before, anyone had issues with linkto/bullettrace?
[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
timescale 0.01
Just try with setcontents(256) every frame on every player...
Trace still doesn't work
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
Not sure if worth mentioning that it works fine for me on 1.0? Fixed maybe?
Yea, Mitch added 5 months ago
https://github.com/kungfooman/libcod...7850e05dea2f9c
timescale 0.01
Mitch (9th May 2014)
kung foo man (9th May 2014)
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)
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
kung foo man (27th February 2015)