Posted: Sat Oct 08, 2016 11:14 am Post subject:
MCV Bugs
Subject description: I'm at it again...
Here's the screenshot:
Here's the story behind it:
I started as Soviet against 2 easy AIs (GDI and NOD), quickly engied both for their bases. First, I noticed that I produce very strange MCVs from their war factories, which have icons of Soviet MCVs, names of "GDI MCV" and "NOD MCV", and no effects at all (other than production speed-up, I suppose). When undeployed the captured GDI MCV (but having the strange GDI MCV deployed), I do not have access to GDI buildings.
But the interesting part started when I let the AI destroy my soviet construction yard and war factory. The remaining deployed GDI MCV seemed to provide Soviet buildings, but they are not available for actual purchase (see those BLACK soviet building icons? By the time screenshot was taken, I had no soviet construction buildings).
Also, the same thing happened to the Ore Truck, which appears on the sidebar, but can't be purchased (since there is no Soviet war factory).
PS. The version is current, as of 08.10.2016 14:13 GMT+3. QUICK_EDIT
This problem is known, but it's caused by something at the engine level and I'm unable to deal with that myself, so I don't know how long it'll take to fix this. _________________ QUICK_EDIT
So it comes down to an EXE patch that hooks every created unit and, upon finding a newly produced MCV, sets its side properly. Would sould easy, if only there were enough data on symbols... QUICK_EDIT
This is bad, if so it is, this will mean more exe hacking in order to get things to work.
As a workaround... Could making construction yards buildable probably fix things in a roundabout way?
PS. Just checked it, the construction yard does not give any techs.
In RA2/YR, IIRC, all buildings are available to everyone (Owner=all), it is just a question of prerequisites to actually build them. Could this work here? QUICK_EDIT
Come to think about it... Yep, this could solve the problem!
If we make all buildings Owner=GDI,Nod,Allies,Soviet, what could possibly go wrong? QUICK_EDIT
The AI can't build anything that has the Construction Yard as a prerequisite, meaning that I'd have to make the AI use some other AI-only structure instead of it. I'd then have to use the Prerequisite groups in order to make structures available to both human and AI players, but there's unfortunately no longer enough groups available to make this work. _________________ QUICK_EDIT
The AI can't build anything that has the Construction Yard as a prerequisite, meaning that I'd have to make the AI use some other AI-only structure instead of it. I'd then have to use the Prerequisite groups in order to make structures available to both human and AI players, but there's unfortunately no longer enough groups available to make this work.
But perhaps patching the AI build logic to fix this will be easier?
Also I presume you already tried hacking exe to add more prerequisite groups, yes? QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum