ok we finally have the AI loading in the game but there is a problem and I am sure it is on our end in the code.
They are falling through the world.
1. we have capsules around all of the AI
2. we have them I think spawning above the Y
3. we are using the code provide here
4. here is the spawning code we are using
Code:
///////////////////////////// AIs creation + cords ///////////////////////////////////////
void cords()
{
/****************************************added AI*******************************/
// REP(20)ai.New().createAI(i,"Warrior","Obj/Chr/Warrior/0.obj",Vec(RandomF(0,20),RandomF(0,20),RandomF(0,20)),10);
ai.New().createAI(1,"Humanoid Frog", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(580970731, 1326487568, 2947128993, 3190242514))); // golden bottom
ai.New().createAI(2,"Devil Dog", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(1140589682, 1106314060, 196614794, 1110478770)));
ai.New().createAI(3,"Turtle", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(2752342664, 1312554894, 71334039, 3460648182)));
ai.New().createAI(4,"Plant Virus 1", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(5,"Plant Virus 2", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(2186206496, 1205353631, 2847269529, 552705637)));
ai.New().createAI(6,"Plant Virus 3", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(2829953599, 1104981271, 1212022666, 4248729307)));
ai.New().createAI(7,"Crystal Giant", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(389730099, 1322434367, 1415856292, 3927078188)));
ai.New().createAI(8,"Hornasp", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(2419864610, 1296744610, 123809955, 3471000968)));
ai.New().createAI(9,"Primitar", Vec(174.854, 0.076, 371.738), 20,Game.ObjParamsPtr(UID(3122158211, 1308508637, 4131915682, 1394021604)));
ai.New().createAI(10,"Humanoid Frog", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(580970731, 1326487568, 2947128993, 3190242514))); //golden top
ai.New().createAI(11,"Devil Dog", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(1140589682, 1106314060, 196614794, 1110478770)));
ai.New().createAI(12,"Turtle", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(2752342664, 1312554894, 71334039, 3460648182)));
ai.New().createAI(13,"Plant Virus 1", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(14,"Plant Virus 2", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(2186206496, 1205353631, 2847269529, 552705637)));
ai.New().createAI(15,"Plant Virus 3", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(2829953599, 1104981271, 1212022666, 4248729307)));
ai.New().createAI(16,"Crystal Giant", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(389730099, 1322434367, 1415856292, 3927078188)));
ai.New().createAI(17,"Hornasp", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(2419864610, 1296744610, 123809955, 3471000968)));
ai.New().createAI(18,"Primitar", Vec(-345.525, 59.315, -707.698), 10,Game.ObjParamsPtr(UID(3122158211, 1308508637, 4131915682, 1394021604)));
ai.New().createAI(19,"Humanoid Frog", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(580970731, 1326487568, 2947128993, 3190242514))); // jungle
ai.New().createAI(20,"Devil Dog", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(1140589682, 1106314060, 196614794, 1110478770)));
ai.New().createAI(21,"Turtle", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(2752342664, 1312554894, 71334039, 3460648182)));
ai.New().createAI(22,"Plant Virus 1", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(23,"Plant Virus 2", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(2186206496, 1205353631, 2847269529, 552705637)));
ai.New().createAI(24,"Plant Virus 3", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(2829953599, 1104981271, 1212022666, 4248729307)));
ai.New().createAI(25,"Crystal Giant", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(389730099, 1322434367, 1415856292, 3927078188)));
ai.New().createAI(26,"Hornasp", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(2419864610, 1296744610, 123809955, 3471000968)));
ai.New().createAI(27,"Primitar", Vec(-5048.199, 26.475, -2337.284), 10,Game.ObjParamsPtr(UID(3122158211, 1308508637, 4131915682, 1394021604)));
ai.New().createAI(28,"Humanoid Frog", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(580970731, 1326487568, 2947128993, 3190242514))); // desert
ai.New().createAI(29,"Devil Dog", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(1140589682, 1106314060, 196614794, 1110478770)));
ai.New().createAI(30,"Turtle", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(2752342664, 1312554894, 71334039, 3460648182)));
ai.New().createAI(31,"Plant Virus 1", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(32,"Plant Virus 2", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(2186206496, 1205353631, 2847269529, 552705637)));
ai.New().createAI(33,"Plant Virus 3", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(2829953599, 1104981271, 1212022666, 4248729307)));
ai.New().createAI(34,"Crystal Giant", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(389730099, 1322434367, 1415856292, 3927078188)));
ai.New().createAI(35,"Hornasp", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(2419864610, 1296744610, 123809955, 3471000968)));
ai.New().createAI(36,"Primitar", Vec(-324.572, 0.000, -1857.457), 10,Game.ObjParamsPtr(UID(3122158211, 1308508637, 4131915682, 1394021604)));
/* ai.New().createAI(4, Vec(-234.629, 74.016, -807.554), 10,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(2, Vec(-327.646, 81.795, -855.096), 10,Game.ObjParamsPtr(UID(1140589682, 1106314060, 196614794, 1110478770)));
ai.New().createAI(3,Vec(-281.220, 59.876, -727.211), 10,Game.ObjParamsPtr(UID(2752342664, 1312554894, 71334039, 3460648182)));
ai.New().createAI(4, Vec(-234.629, 74.016, -807.554), 10,Game.ObjParamsPtr(UID(82839537, 1119860709, 2824813964, 2054309091)));
ai.New().createAI(5, Vec(-395.057, 56.661, -767.750), 10,Game.ObjParamsPtr(UID(2186206496, 1205353631, 2847269529, 552705637)));
ai.New().createAI(6,Vec(-383.653, 99.263, -930.416), 10,Game.ObjParamsPtr(UID(2829953599, 1104981271, 1212022666, 4248729307)));
ai.New().createAI(7, Vec(-593.235, 90.012, -794.407), 10,Game.ObjParamsPtr(UID(389730099, 1322434367, 1415856292, 3927078188)));
ai.New().createAI(8,Vec(-275.205, 76.508, -891.099), 20,Game.ObjParamsPtr(UID(2419864610, 1296744610, 123809955, 3471000968)));
ai.New().createAI(9, Vec(-290.401, 76.486, -1085.180), 20,Game.ObjParamsPtr(UID(3122158211, 1308508637, 4131915682, 1394021604))); */
/*******************************************************************************/
}