Edited by AdmiralGT, 12 July 2004 - 03:19 PM.
Special Powers
#1
Posted 12 July 2004 - 02:48 PM
#2
Posted 12 July 2004 - 03:41 PM
#3
Posted 30 July 2004 - 08:19 PM
Make each unit's cost into an upgrade with the vehicles strings and icon. Have this upgrade referenced in a commandset upgrade in the vehicle plant like this:
Behavior = CommandSetUpgrade ModuleTag_XX;Do the same for all vehicles. ;The commandset would have the special power, which would have a reload time of ;something like two seconds to keep from using multiple times. TriggeredBy = Upgrade_TankPlantDropBigTankCommandSet RemovesUpgrades = Upgrade_TankPlantBuyCommandSet CommandSet = TankPlantBigTankDropCommandSet End Behavior = CommandSetUpgrade ModuleTag_XX;This contains all the upgrades to be bought. TriggeredBy = Upgrade_TankPlantBuyCommandSet RemovesUpgrades = Upgrade_TankPlantBuyCommandSet;Add all vehicle upgrade ones here. CommandSet = TankPlantBuyCommandSet End
Finally, in the cargo plane give it a grantupgrade module that gives Upgrade_TankPlantBuyCommandSet. It would take some work, I imagine, to get build queues to not mess up, but I think this is a decent basis. As far as aircraft carrier logic, just give your vehicle a drone that is a kindof aircraftcarrier (I think, might want to look that up) and it purchases an object with the cost of the unit. I don't know that that would stop you from purchasing the object while in the negatives though...
#4
Posted 30 July 2004 - 09:00 PM
Too cute! | Server Status: If you can read this, it's up |Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.
#5
Posted 31 July 2004 - 01:28 AM
#6
Posted 31 July 2004 - 10:03 AM
Just make your factory or whatever build a dummy object which calls an OCL which paradrops your unit. It's a lot of OCL's and such, but it can be done.
Im having some trouble getting this to work. I cant seem to get the Dummy Object to automate the production of the OCL. The object dies with the code
Behavior = CreateObjectDie ModuleTag_15 DeathTypes = ALL CreationList = SUPERWEAPON_CHALLENGERII End
But the paradrop never arrives. Also I cant seem to give the Dummy Object a Position on Creation other than the Rally Point but this adds more "clicks" while playing. Firstly selecting the Rally Point and then selecting the production of the Dummy Object. Is there any other Command Types that select a location other than NEED_TARGET_POS but works with a UNIT_BUILD Command. Or am I doing the OCL totally wrong?
#7
Posted 31 July 2004 - 04:15 PM
Too cute! | Server Status: If you can read this, it's up |Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users