Vehicles killing A.I upon entering [Solved]
Moderator: Moderators
-
MissingTexture
- 2nd Lieutenant

- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
Vehicles killing A.I upon entering [Solved]
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?
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: Vehicles killing A.I upon entering
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
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)
-
MissingTexture
- 2nd Lieutenant

- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
Re: Vehicles killing A.I upon entering
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 
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Vehicles killing A.I upon entering
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.
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.
-
MissingTexture
- 2nd Lieutenant

- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
Re: Vehicles killing A.I upon entering
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"
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Vehicles killing A.I upon entering
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
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
-
MissingTexture
- 2nd Lieutenant

- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
Re: Vehicles killing A.I upon entering
Thanks so much Ace, works great now! Will this allow all vehicles to walk properly on top of these platforms now?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Vehicles killing A.I upon entering
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.
