AI not apearing Ingame
Moderator: Moderators
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
AI not apearing Ingame
Im working on a new map, running around, being happy, and notice, no AI-no kills=no happiness. So I look around and find no AI.
I chuckle, quit, and add AI. I get ready to AI... NONE
I freak out, but get used to it, and just run around my map.. BUT I STILL NEED AI!!!!
I chuckle, quit, and add AI. I get ready to AI... NONE
I freak out, but get used to it, and just run around my map.. BUT I STILL NEED AI!!!!
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
Re: AI not apearing Ingame
Could you a be a little more specific? Post your LUAs.
-
NullCommando
- Jedi

- Posts: 1010
- Joined: Sat Dec 01, 2007 12:29 pm
- xbox live or psn: NullCommando
- Location: Earth
Re: AI not apearing Ingame
If you see no AI that means the game can't find a CP you placed. Check your .lua
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: AI not apearing Ingame
I could spawn from all my cps...
However, there is a unit box when you are making cps and it has 1 in it. Does that effect it?
However, there is a unit box when you are making cps and it has 1 in it. Does that effect it?
Hidden/Spoiler:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: AI not apearing Ingame
When you added the CP in ZE, did you ever use the "Update Mode REQs, and MRQs" button?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: AI not apearing Ingame
And for every CP you add you need to also add it to your LUA
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: AI not apearing Ingame
I do update the REQ. (I'm not sure how to update the MRQ. it doesnt show up when I update the REQ on ze.) and yes, I have cp1 cp3 and cp4, and they are already in the script.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: AI not apearing Ingame
Ahh, come on people. You don't need every CP in the lua, just the ones you want for Conquest (which is normally all of them). The game runs fine (and the AI spawns) without any CPs in the lua.
The AI doesn't spawn when AI spawning is disabled, when there is a problem setting the AI goals, when the game is set to have no AI units, or when there is a problem loading a resource the AI uses. The AI goal problem is normally caused by creating a bad "cp#" variable, which the Conquest mode uses to tell the AI what to capture (which they can't because it doesn't exist).
Your error log should give you a hint as to why your AI are failing to spawn. Have you been able to spawn as every unit? Also, did you just copy all the side files into your map and munge them?
Edit: If you don't have cp2, then remove it from your Lua.
The AI doesn't spawn when AI spawning is disabled, when there is a problem setting the AI goals, when the game is set to have no AI units, or when there is a problem loading a resource the AI uses. The AI goal problem is normally caused by creating a bad "cp#" variable, which the Conquest mode uses to tell the AI what to capture (which they can't because it doesn't exist).
Your error log should give you a hint as to why your AI are failing to spawn. Have you been able to spawn as every unit? Also, did you just copy all the side files into your map and munge them?
Edit: If you don't have cp2, then remove it from your Lua.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: AI not apearing Ingame
I can spawn as every unit, I will get rid of cp2, although Im planning on adding a lot so I dont think i will
Also, AIspawn disabled. That may be my problem. How do I change that? And AI goals, or how do I get rid of the AI not set to spawn?
Also, AIspawn disabled. That may be my problem. How do I change that? And AI goals, or how do I get rid of the AI not set to spawn?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: AI not apearing Ingame
AI spawning is disabled when you make it disabled. If you don't know what I'm talking about then its not disabled. Your problem is with invalid AI goals, which will be automatically fixed when you get rid of cp2 from your lua ( you can always add it back later). The game still works when you don't include a CP in the lua, but bad things happen when you put ones that don't exist in the lua.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: AI not apearing Ingame
Thanks Zerted, Il lok into that right now and put up some screens of progress as of now!
