Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger for my "Insane AI" gamemode.
#1
Question 
Hello again!

This time I am stuggling with problem with few triggers, meant ONLY for my "Insane AI" gamemode. That game mode is for some extra challenge, AI cheats with money 5 times as much normaly and builds bigger bases, (for example two war factories)

I did a trigger to the AI and I want only the Insane AI to use it.
So, because only my insane AI builds two war factories so I tried to do trigger which will launced only when AI has two war facries (Orginal and the clone)

Code:
[0CDCD916-G]
Name:                Soviet Apocalypse - Insane
TeamType #1:         0666811-G(Soviet Apocalypse - Insane)
TeamType #2:         <none>(no team)
Owner:               Africans
Side:                2 - Soviets / Nod
TechLevel:           7
Trigger Type:        0 - Enemy house owns NUMBER of TECHTYPE
Parameter:           FACTORY     <--------- should be ok?
Condition:           3 - more or equal to NUMBER
Number:              2
Default Probability: 2000.000000
Minimum Probability: 70.000000
Maximum Probability: 2000.000000
Use In Skirmish:     yes
Unknown Flag:        0
Is Base Defense:     no
Use in Easy Diff:    no
Use in Medium Diff:  no
Use in Hard Diff:    yes
-------------------------------

But no, the AI does not use it...Anyone got any ideas? Confused
Reply
#2
Africans = Libya, so are you playing against Libya?

If so, then I imagine that FACTORY is probably not okay.
You could always try using an actual prerequisite rather than a prerequisite group. Try it and see if it works.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia

Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Reply
#3
Is your cloned factory placed in the PrerequisiteFactory= line? If yes, then it seems to suggest that generic prerequisites are not usable in this case.
(Multiple factories for the AI cause other issues anyway.)

(Funny, this is the first time I have ever seen anyone using my AI Editor's Export function Big Grin )

Worth playing: 1 | 2 | 3
Reply
#4
Well, it seems generic prerequisites do now work. Unhappy Well, no can do. I have to find a another way to solve this.
Reply
#5
The AI should always build your second war factory second, right? So just have 1 of those as the trigger condition. It's not perfect, but it's the best I can think of.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia

Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Reply
#6
Hmm, not a bad idea! Smile

I just have to copy the Factory's ini's from the gamemode ini to rulesmd.ini Smile
Reply




Users browsing this thread: 1 Guest(s)