ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Mobile War Factory Rally Points

From ModEnc
Revision as of 21:49, 4 May 2008 by Vinifera7 (talk | contribs) (Some formatting and minor edits)
Jump to navigation Jump to search

This article talks about Mobile War Factories, however any mobile factory, cloning vat, hospital, or armory suffers from the same problem.

Issues

If you have ever attempted to create a Mobile War Factory in Red Alert 2, like the one in Firestorm, you may have noticed a problem that arises from the nature of setting rally points. The Mobile War Factory is a Factory of UnitType—one that produces VehicleTypes—and is initially constructed as a vehicle that can be deployed into a version of the War Factory, much like the MCV deploys into the Template:TTL. A rally point can be set for factories by selecting it and left clicking a location on the tactical map1. However, this same action tells the Mobile War Factory to pack up and move to that location. This is the result of coding ambiguity, which means that the game engine is confused about what action it should take, usually yielding undesirable results.

Solutions

Because of the nature of these types of problems, some functionality must be sacrificed. In this case, there are two options available. You can choose which one you prefer based on your situation and preferences.

Sacrifice rally points

This is the "normal" case, and basically means putting up with it. A player will be able to undeploy and move the mobile factory, however they will not be able to set a rally point for it. One additional problem with this is that the "Rally Point Set" EVA Event will trigger when the Mobile War Factory undeploys, although this can be made to seem less glitchy by sacrificing that EVA Event.

Sacrifice continuous mobility

The other option is to not allow the mobile factory to pack up again once it is deployed, meaning wherever the player chooses to deploy it is where it is going to stay unless it is sold or destroyed. The benefit of choosing this option is that rally points can be set.

Notes

1 In Tiberian Sun and Firestorm, rally points were set by selecting the factory, holding down the Alt key and then left clicking a location on the tactical map, thereby avoiding confusion to the game engine.