Page 1 of 1
Strange CTF bug
Posted: Sat Mar 17, 2007 12:30 pm
by jangoisbaddest
I set up 2flag CTF on my map, then tested it. Unfortunately, the flags aren't always able to be picked up. Ingame, it looks like it's bouncing. I checked the error log, and found this, over and over again:
updating markers for flag: flag2
no carrier
Flag1 suffered from the same thing. Occasionally, the flags would behave normally for perhaps a few captures, then do this. So my question is, what the heck is causing it? It seems to be pretty random....
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 12:52 pm
by Hero_Unit
I believe you have to raise it somewhat, I may be wrong though.
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 1:05 pm
by jangoisbaddest
Nah, I already tried that.
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 1:17 pm
by Hero_Unit
Then perhaps it has something to do with the units, are you using custom sides?
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 1:25 pm
by jangoisbaddest
Yes, but like I said, it happens randomly. Sometimes it's fine, and you can capture it fine. Others, it just bounces. It's a problem with the flag itself. I'm guessing a code problem. I was hoping someone would be able to identify the problem if they've had it before.
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 2:06 pm
by Xavious
Did you set up CTF when you first created your map or did you add it later?
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 3:37 pm
by jangoisbaddest
I munged CTF when I first compiled the world. It seems to be only happening when the flag resets from being dropped too long; but when I score, it resets just fine.
RE: Strange CTF bug
Posted: Sat Mar 17, 2007 4:27 pm
by squipple
Is the flag on the terrain, or on an object? I'd troubleshoot by moving it somewhere else temporarily and see if it still does it. That'll tell you if it's the position of the flag or not.
RE: Strange CTF bug
Posted: Sun Mar 18, 2007 6:19 pm
by Teancum
Also, check to make sure your flags, capture regions, etc are named exactly how they are called for in the lua.
RE: Strange CTF bug
Posted: Tue Mar 20, 2007 6:53 pm
by jangoisbaddest
I don't think it's the object it's on, it's something in the programming. Take look at this, a new error!
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "team1_capture" not found
updating markers for flag: flag2
no carrier
Ok, those regions are in the right spots, the right layer, are named correctly in both ZE and in the KCHc_ctf lua. Any thoughts?