Page 1 of 1

Issue when adding a new vehicle

Posted: Sun Jun 11, 2017 8:48 am
by CdtFox
I recently replaced one of the two Republic Hover Tank in the stock mygeeto map by Majin Revan's UT-AT vehicle.

The vehicule is spawning correctly but it exploses immediately at the map's start.

I'm pretty sure it ahs something do to with the spawn delay but i'm not to confident with that kind of stuff:

Here is the part of the .lyr file i edited:
Hidden/Spoiler:
[code]
Object("com_item_vehicle_spawn21", "com_item_vehicle_spawn", 208825565)
{
ChildRotation(0.557, 0.000, 0.831, 0.000);
ChildPosition(-164.818, 0.000, 98.921);
SeqNo(208825565);
Team(0);
NetworkId(-1);
Layer(10);
ControlZone("CP2_CON");
SpawnCount("1");
SpawnTime("45.0");
ExpireTimeEnemy("20.0");
ExpireTimeField("40.0");
DecayTime("10.0");
ClassNeutral("");
ClassAllATK("all_hover_combatspeeder");
ClassCISATK("");
ClassImpATK("");
ClassRepATK("rep_hover_utat");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("");
ClassCISDEF("cis_hover_aat");
ClassImpDEF("imp_hover_fightertank");
ClassRepDEF("");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}

Object("com_item_vehicle_spawn20", "com_item_vehicle_spawn", 650464873)
{
ChildRotation(-0.078, 0.000, -0.997, 0.000);
ChildPosition(-148.045, 0.000, 111.476);
SeqNo(650464873);
Team(0);
NetworkId(-1);
Layer(10);
ControlZone("CP2_CON");
SpawnCount("1");
SpawnTime("45.0");
ExpireTimeEnemy("20.0");
ExpireTimeField("40.0");
DecayTime("10.0");
ClassNeutral("");
ClassAllATK("all_hover_combatspeeder");
ClassCISATK("");
ClassImpATK("");
ClassRepATK("rep_hover_utat");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("");
ClassCISDEF("cis_hover_aat");
ClassImpDEF("imp_hover_fightertank");
ClassRepDEF("");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");[/code]
Thanks for the help guys :D

Re: Issue when adding a new vehicle

Posted: Sun Jun 11, 2017 1:45 pm
by Marth8880
How big is the UT-AT? There's a chance it could be getting stuck between a bunch of vehicle collision volumes, causing it to be rapidly damaged. If the vehicle is large, you should try moving the vehicle spawn object somewhere else.

Re: Issue when adding a new vehicle

Posted: Sun Jun 11, 2017 3:49 pm
by CdtFox
Yeah that's the problem, i first thought that it was the number of "commandhover" added in my lua, but actually the model is pretty big. Unfortuantely ZE isn't working at all, even with the fix here.

Will find a way to get it working!

Re: Issue when adding a new vehicle

Posted: Fri Jun 23, 2017 11:00 am
by CT108
CdtFox wrote:. Unfortuantely ZE isn't working at all, even with the fix here.

Will find a way to get it working!
I can do this if you want