Page 1 of 1

What is causing this?

Posted: Sun Mar 22, 2009 9:02 am
by fai222
Hi, I got a small problem. I have started on a map, and my problem is that no AI spawn in the map. Not in CW and not in GCW. Please, i need help. In one minute the map worked and AI spawned, then i placed a few objects and fixed some of my cp_capture regions (something was wrong with them). I munged and then i tried it, no AI spawned.

Re: What is causing this?

Posted: Sun Mar 22, 2009 9:23 am
by B.I.G_Cookie
You have to move the path ( cp_spawns ) over the cp.
Region isjust the radius where you can capture the cp.

e.g. cp1_spawn to cp1

Re: What is causing this?

Posted: Sun Mar 22, 2009 9:30 am
by Teancum
Unlikely. What's more than likely is one of three things:

1-You added a CP
2-You deleted a CP
3-You renamed a CP

All of which require you to go into the lua and update it in this section:
Hidden/Spoiler:
cp1 = CommandPost:New{name = "CP1"}
cp2 = CommandPost:New{name = "CP2"}
cp3 = CommandPost:New{name = "CP3"}
cp4 = CommandPost:New{name = "CP4"}
cp5 = CommandPost:New{name = "CP5"}
cp7 = CommandPost:New{name = "CP7"}

--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF, textATT = "game.modes.con", textDEF = "game.modes.con2", multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)
conquest:AddCommandPost(cp7)

Re: What is causing this?

Posted: Sun Mar 22, 2009 9:34 am
by fai222
Hmm... actually the problem showed up after i updated. Ill check the lua to see if i wrote something wrong or anything.

EDIT: I think i found the problem. I updated the GCW lua, but not the CW.
EDIT2: No, it wasnt that. AI still dont spawn.
EDIT3: I found the problem. I hadnt placed cp3 :oops: :runaway: