Hmm.. That would be kind of tricky, depending on what lift your giving the upgraded locomotor so if it's to high then you switch back to the ground motor.. guess what it's just going to fall out of the sky and most likely get destroyed.. unless you can make a good landing locomotor.. my guess would be to look at an aircraft like the Raptor's landing locomotor first then see if you can modifiy it to fit your unit.. as for the switch.. again this would be hard to do but you could try it as a personal upgrade and then have a different behavior for each one for example..
NOTE: This is completly off the top of my head so don't copy this into your code and expect it to work..
Quote:
Locomotor = SET_NORMAL ZacksLandingLocomotor
Locomotor = SET_NORMAL_UPGRADED ZacksFlyingLocomotor
Behavior = LocomotorSetUpgrade ModuleTag_07
TriggeredBy = Upgrade_ZacksFlyingLocomotor
End
Behavior = LocomotorSetUpgrade ModuleTag_08
TriggeredBy = ZacksLandingLocomotor
End
|
There is more work to be done then that simple code of corse but you get the idea?
Chrono[/quote]