To change the weapon you have to exit the bikes/turrets from the vehicle then put new riders in them to change the riders and then put them back in the vehicle. You cannot have infantry enter them while they are contained.
Either that or you make the mother ship start off containing the different turrets/bikes which have no riders but start with a weaponset and default look. Then you have a player upgrade which causes them to OCL a rider inside them, thus changing their look and weaponset. But then you can do the same thing with WeaponSetUpgrade without using riderchangecontain.
OK here is an idea that might work:
You make the mothership be like the firebase, with STATION bones and not enclosing container GarrisonContain.
The mothership starts off loaded with turret objects, loaded by OCL (they will appear in station bone order so you can control which turret is located where on the main vehicle).
Each turret object is additonally slaved to the mothership using the angry mob member's slave module. This will make them to whatever commands you issue to their master (the mothership).
You make each turret object have a weaponset upgeade triggered by an object level upgrade like china mines or battledrone. They must each also have ProductionUpdate so they can build the upgrade.
The mothership gets in it's copmmandset the buttton to buy the upgrade. When you click the button the slaved turret objects will do the command and buy the upgrade, thus changing their weaponsets and changing their look.
On a different matter, you can kill the rider in a combat bike using flashbang grenades. When playing the Boss generals challenge there are 2 or 3 bikes in the upper town area that you can do this to. Have a ranger force fire his flashbang on the ground beside the bike. After some shots the rider will die and the bike will scuttle.
Last edited by beng; 09-02-2008 at 03:51 AM..
|