AI units aren't showing up in map
Moderator: Moderators
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
fat_walrus
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
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")
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.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- [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:
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.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
- 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
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
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
I spawn, I look around the battlefield, find no AI units.
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? 
