Page 1 of 1
Vehicles killing A.I upon entering [Solved]
Posted: Mon Jun 22, 2015 11:52 pm
by MissingTexture
So I am having a problem with vehicles on my map. I am using the dwarf spider droid on my map, if I place it on the ground it will be perfectly fine and usable ! But, if I place on top of an object, a mygeeto platform, it keeps killing the ai upon entering. Any suggestions on how to fix this?
Re: Vehicles killing A.I upon entering
Posted: Tue Jun 23, 2015 1:13 pm
by Lorul1
you'll have to raise you height limit
if you look under "function ScriptInit()" in your maps lua
(\BF2_ModTools\data_XXX\Common\scripts\XXX)
you should see
SetMaxFlyHeight(???)
and
SetMinFlyHeight(???)
If those are not there then add them under "function ScriptInit()" in your maps lua and change the ??? to what ever you want.
for example
Code: Select all
---------------------------------------------------------------------------
function ScriptInit()
-- Designers, this line *MUST* be first!
ReadDataFile("ingame.lvl")
SetMinFlyHeight(-1800)
SetMaxFlyHeight(1800)
SetMinPlayerFlyHeight(-1800)
SetMaxPlayerFlyHeight(1800)
SetAIVehicleNotifyRadius(100)
Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 12:05 am
by MissingTexture
So I tried what you posted above, but every time the A.I and I touch the spider droid, we just blow up into scrap. That seems to be a new issue as well

Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 12:02 pm
by AceMastermind
What is the ODF name of the platform where you have the Dwarf spider droid spawning?
The Mygeeto platforms are notorious for collision issues with vehicles.
Fixing it may be as simple as an ODF edit or it might need to be remade in XSI.
The AT-RT has no trouble on these objects and would probably be the best example of collision to have.
Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 12:50 pm
by MissingTexture
I had no idea that was possible for the platforms! Thanks for that info

and The ODF name for the platform is "myg1_bldg_coll_bridge_L"
Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 6:05 pm
by AceMastermind
Yeah just tested this platform and spawned the Dwarf spider on it. It slid off the side after spawning. I hopped in and walked it back onto the platform via terrain ramp and ran into an invisible barrier. If I sat there long enough I would die. If I exited the vehicle I would die.
The quick fix is to open myg1_bldg_coll_bridge_L.msh with a hex editor and change these:
p_-sov-collectorbridge
p_-sov-collectorplatform
p_-sov-collectorbridge1
to these:
p_-so-ccollectorbridge
p_-so-ccollectorplatform
p_-so-ccollectorbridge1
or just download this msh file and replace the original with it:
http://www.mediafire.com/download/rxaro ... idge_L.zip
Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 9:31 pm
by MissingTexture
Thanks so much Ace, works great now! Will this allow all vehicles to walk properly on top of these platforms now?
Re: Vehicles killing A.I upon entering
Posted: Wed Jun 24, 2015 10:02 pm
by AceMastermind
I don't know how this will affect other vehicles. You'll have to try a bunch of different ones and see what happens, then make adjustments based on which ones you decide to use.