Comment 6 for bug 895118

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Code related to this issue has just been checked in!
Author: DCoder
Location: trunk, r815
Commit contains DLL: Yes
Revision comment:

Related to issue #457 - [Building]
Grinding=yes ; required for now, will probably be improved later
ReverseEngineersVictims = yes
SpyEffect.UndoReverseEngineer = yes ; spies destroy all your plans for reverse-engineered objects, you lose the ability to build them, this particular flag hasn't been tested.
[Victim] ; InfantryType/VehicleType only
CanBeReversed = yes/no; defaults to yes, you'll really want to set this to no on engineers and dogs

Objects grinded by this structure will become available to your house while completely ignoring:
- Prerequisite=, PrerequisiteLists and PrerequisiteOverride
- StolenTech, both old and new models
- TechLevel
- Required/ForbiddenHouses
but obeying BuildLimit, PrerequisiteTheaters, NegativePrerequisite, and required factory stuff to avoid NCO.

When you are the owner of the reversing facility,
- ReverseEngineering any InfantryType for the first time will play EVA_ReverseEngineeredInfantry and EVA_NewTechnologyAcquired;
- ReverseEngineering any VehicleType for the first time will play EVA_ReverseEngineeredVehicle and EVA_NewTechnologyAcquired;
- The undo-reversing spy effect will play EVA_TechnologyStolen. It might not be the most appropriate sound, but eh.

This feature is currently easy to abuse - you can grind your own high level units, sell your Tech Center, and retain the ability to build them. I have not yet made up my mind on how to fix this, and if any ignored requirements should be respected by this system, so your feedback on this is important.

Also, I'd like to hear different ways this should work besides the grinder - Ren suggested that the Chrono Prison should be able to reverse its captives. Adding a magic logics that lets something drive onto a battle lab is a lot of work, you'll have to be content with existing ways of making a unit drive into/onto a building.
Related to issue 457 .

SVN: http://svn.renegadeprojects.com/Ares/815