[GS] What syntax to prevent barbarians from spawning units like GDR?

alterd_rushnano

Chieftain
Joined
Jul 10, 2015
Messages
4
I remember an incident that happened in the early days of GS. At that time, thanks to some civilizations with technological deformities, barbarians spawned GDRs and then wiped out civilizations. I really liked this gimmick. It reminded me of Machine Rebellion and Rogue AI. However, in the initial patch, this was removed due to balance issues, and is never coming back.

I was hoping some people would restore this while going through the GS and Frontier Passes, but I am the only one who wants this. So I have one question to ask. Even examining the XML and SQL files I can't figure out which syntax prevents barbarians and minor CIVs from owning and spawning GDRs. The only thing I suspect is 'UNITTYPE_MAJOR_CIV_ONLY' in UnitAiInfos which only applies to GDR.

So, without ignoring the example, I would like to ask the following question. If it is the following SQL data, is it possible to disable the syntax so that barbarians and minor CIVs use GDR? Or am I doing something wrong or forgetting something?

DELETE FROM UnitAiInfos WHERE UnitType = 'UNIT_GIANT_DEATH_ROBOT'
AND AiType='UNITTYPE_MAJOR_CIV_ONLY';
PS: I tried this syntax but still barbarians can't use GDR. The only successful case at this time has been to unilaterally add units without Era distinction using <BarbarianTribe_ExtraUnits> as XML code.
 
PS2: found the new syntax and tried it. But still, GDR doesn't come back to the barbarians.
Attach the SQL Code for to get advice on this issue


Code:
UPDATE Units_XP2
SET MajorCivOnly = 'false'
WHERE UnitType = 'UNIT_GIANT_DEATH_ROBOT';
Can't solve this problem worse than I thought. If I had the early GS XML code, would have known how they disabled GDR for the barbarians....
The unfortunate thing is that this obviously happened in the early days of GS. Don't know how they fixed this, and I'm surprised that 3 years after the release of the GS, no one has modders to fix this - even modders who want to enhance the barbarians.
 
Back
Top Bottom