Page 2 of 2

Posted: Mon Dec 11, 2006 8:22 pm
by Elmo
im sry, i tweaked the LUA and my map stopped crashing :wink: but there is still the problem with no AI units showing up on the map :x (for both eras)

Posted: Mon Dec 11, 2006 10:40 pm
by fat_walrus
It has to be something wrong in ZE. Of course, my frail mind could be dying and I might of missed something wrong in your LUA....

Posted: Mon Dec 11, 2006 11:26 pm
by t551

Code: Select all

ReadDataFile("dc:SIDE\\rep.lvl", 
"rep_inf_ep3_rifleman", 
"rep_inf_ep3_rocketeer", 
"rep_inf_ep3_engineer", 
"rep_inf_ep3_sniper", 
"rep_inf_ep3_officer", 
"rep_inf_ep3_jettrooper", 
"rep_hover_fightertank", 
"rep_hero_anakin", 
"rep_hover_barcspeeder")
Have you actually created an entire republic custom side? If not, then take away the dc:

Copying and pasting an entire shipped side is an extremely inefficient way to add custom units into a map.

I doubt that this is causing the problem, though.

Posted: Mon Dec 11, 2006 11:31 pm
by Elmo
i already deleted that dc: :wink: And AI still don't show up. :x

Posted: Tue Dec 12, 2006 6:44 pm
by [RDH]Zerted
Start commenting out parts of your lua. Comment out all but one unit for each team (use official sides, not DC ones). See it it works. Comment out all the CPs. See if it works (note should load and start Victory timer). You need to remove features until your map stats working again. When it starts working, you know the problem is with the last feature set you removed. Narrow down the possibilites of the error.

Posted: Tue Dec 12, 2006 6:58 pm
by Elmo
commenting? So you're saying i have to delete parts of my LUA? I'm sure it's not a problem with my LUA because i didn't even touch the GCW one and AI don't show up in GCW. And yeah, what do you mean by commenting?

Posted: Tue Dec 12, 2006 7:20 pm
by Penguin
//commenting things out like so

Posted: Tue Dec 12, 2006 7:38 pm
by Teancum
Actually in lua you use -- :P

Posted: Tue Dec 12, 2006 8:08 pm
by Elmo
ahhh. ok, but i still don't see how Zerted's method is supposed to work. Ok, I start the map. It doesn't crash *whew* And then there are 2 cps. One rep, one CIS, or one imp or one reb (for GCW) I can spawn from one of the cps :wink: I spawn, I look around the battlefield, find no AI units. :wink: That's the problem I'm trying to figure out. So, what would Zerted's method do to help toward finding a way to make the AI appear on the map? :wink: