Strange CTF bug

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Strange CTF bug

Post 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....
User avatar
Hero_Unit
Private First Class
Posts: 78
Joined: Tue Mar 13, 2007 3:15 pm

RE: Strange CTF bug

Post by Hero_Unit »

I believe you have to raise it somewhat, I may be wrong though.
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

RE: Strange CTF bug

Post by jangoisbaddest »

Nah, I already tried that.
User avatar
Hero_Unit
Private First Class
Posts: 78
Joined: Tue Mar 13, 2007 3:15 pm

RE: Strange CTF bug

Post by Hero_Unit »

Then perhaps it has something to do with the units, are you using custom sides?
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

RE: Strange CTF bug

Post 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.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

RE: Strange CTF bug

Post by Xavious »

Did you set up CTF when you first created your map or did you add it later?
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

RE: Strange CTF bug

Post 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.
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: Strange CTF bug

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Strange CTF bug

Post by Teancum »

Also, check to make sure your flags, capture regions, etc are named exactly how they are called for in the lua.
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

RE: Strange CTF bug

Post 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?
Post Reply